/* =========================================================
   CHAANVO — GALLERY PAGE
   Completely standalone CSS
   ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #07111f;
    color: #f5efe3;
    font-family: Georgia, "Times New Roman", serif;
    overflow-x: hidden;
}

img {
    display: block;
    width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}


/* =========================================================
   NAVBAR
   ========================================================= */

.gallery-navbar {
    width: 100%;
    height: 82px;
    background: rgba(5, 13, 25, 0.97);
    border-bottom: 1px solid rgba(201, 166, 93, 0.28);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(14px);
}

.gallery-nav-container {
    width: min(1400px, 92%);
    height: 100%;
    margin: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.gallery-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.gallery-logo img {
    width: 65px;
    height: 65px;
    object-fit: contain;
}

.gallery-nav-menu {
    display: flex;
    align-items: center;
    gap: 34px;
}

.gallery-nav-menu > a {
    position: relative;
    font-family: Arial, sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1.2px;
    color: #eee7d8;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.gallery-nav-menu > a:not(.gallery-outdoors)::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 1px;
    background: #c9a65d;
    transition: width 0.3s ease;
}

.gallery-nav-menu > a:hover {
    color: #c9a65d;
}

.gallery-nav-menu > a:hover::after,
.gallery-nav-menu > .gallery-active::after {
    width: 100%;
}

.gallery-nav-menu .gallery-active {
    color: #c9a65d;
}

.gallery-outdoors {
    border: 1px solid rgba(201, 166, 93, 0.65);
    padding: 11px 17px;
    border-radius: 30px;
    color: #d8bd79 !important;
}

.gallery-outdoors:hover {
    background: #c9a65d;
    color: #07111f !important;
}

.gallery-outdoors span {
    margin-left: 4px;
}


/* =========================================================
   MOBILE MENU BUTTON
   ========================================================= */

.gallery-menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(201, 166, 93, 0.45);
    background: transparent;
    border-radius: 50%;
    cursor: pointer;

    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.gallery-menu-toggle span {
    width: 18px;
    height: 1px;
    background: #d8bd79;
    transition: 0.3s ease;
}

.gallery-menu-toggle.gallery-menu-active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.gallery-menu-toggle.gallery-menu-active span:nth-child(2) {
    opacity: 0;
}

.gallery-menu-toggle.gallery-menu-active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}


/* =========================================================
   HERO
   ========================================================= */

.gallery-hero {
    min-height: 570px;
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        linear-gradient(
            90deg,
            rgba(4, 10, 19, 0.94),
            rgba(4, 10, 19, 0.50),
            rgba(4, 10, 19, 0.86)
        ),
        url("images/hero.png") center / cover no-repeat;
}

.gallery-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            circle at center,
            rgba(201, 166, 93, 0.10),
            transparent 50%
        );
}

.gallery-hero-content {
    width: min(1000px, 90%);
    position: relative;
    text-align: center;
    z-index: 2;
}

.gallery-small-title,
.gallery-section-label {
    font-family: Arial, sans-serif;
    color: #c9a65d;
    font-size: 11px;
    letter-spacing: 4px;
    font-weight: 600;
}

.gallery-hero h1 {
    margin-top: 25px;
    font-size: clamp(50px, 7vw, 94px);
    line-height: 0.95;
    font-weight: 400;
    letter-spacing: -3px;
}

.gallery-hero h1 span {
    color: #c9a65d;
    font-style: italic;
}

.gallery-hero-content p {
    margin: 30px auto 0;
    max-width: 620px;
    color: #ded7ca;
    font-size: 18px;
    line-height: 1.8;
}

.gallery-hero-line {
    width: 75px;
    height: 1px;
    background: #c9a65d;
    margin: 35px auto 0;
}


/* =========================================================
   INTRO
   ========================================================= */

.gallery-intro {
    width: min(850px, 88%);
    margin: auto;
    padding: 115px 0 95px;
    text-align: center;
}

.gallery-intro h2,
.gallery-section-heading h2,
.gallery-cta h2 {
    font-size: clamp(38px, 5vw, 65px);
    line-height: 1.05;
    font-weight: 400;
    margin-top: 22px;
    letter-spacing: -1.5px;
}

.gallery-intro h2 em,
.gallery-section-heading h2 em,
.gallery-cta h2 em {
    color: #c9a65d;
    font-style: italic;
}

.gallery-intro p {
    max-width: 700px;
    margin: 30px auto 0;
    color: #aaaeb6;
    font-family: Arial, sans-serif;
    font-size: 15px;
    line-height: 1.9;
}


/* =========================================================
   GALLERY SECTIONS
   ========================================================= */

.gallery-section {
    width: min(1400px, 92%);
    margin: auto;
    padding: 50px 0 120px;
}

.gallery-section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 50px;
    margin-bottom: 50px;
}

.gallery-section-heading h2 {
    margin-top: 15px;
}

.gallery-section-heading > p {
    width: 320px;
    color: #9ea4ae;
    font-family: Arial, sans-serif;
    font-size: 14px;
    line-height: 1.8;
    padding-bottom: 5px;
}


/* =========================================================
   GALLERY GRID
   ========================================================= */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 270px;
    gap: 14px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    background: #0c1727;
    min-height: 270px;
}

.gallery-item.gallery-large {
    grid-column: span 2;
}

.gallery-item.gallery-tall {
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;

    transition:
        transform 0.8s cubic-bezier(.2,.7,.2,1),
        filter 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.06);
    filter: brightness(0.72);
}

.gallery-item-overlay {
    position: absolute;
    inset: auto 0 0 0;

    padding: 55px 24px 22px;

    background:
        linear-gradient(
            transparent,
            rgba(3, 9, 17, 0.95)
        );

    opacity: 0;
    transform: translateY(10px);

    transition:
        opacity 0.4s ease,
        transform 0.4s ease;
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
    transform: translateY(0);
}

.gallery-item-overlay span {
    font-family: Arial, sans-serif;
    font-size: 10px;
    letter-spacing: 2px;
    color: #c9a65d;
}

.gallery-item-overlay h3 {
    margin-top: 7px;
    font-size: 23px;
    font-weight: 400;
}


/* =========================================================
   CELEBRATIONS
   ========================================================= */

.celebrations-section {
    padding-top: 30px;
    padding-bottom: 130px;
}

.celebrations-gallery {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 390px;
}

.celebrations-gallery .gallery-large {
    grid-column: span 2;
}


/* =========================================================
   CTA
   ========================================================= */

.gallery-cta {
    border-top: 1px solid rgba(201, 166, 93, 0.20);
    border-bottom: 1px solid rgba(201, 166, 93, 0.20);

    padding: 130px 20px;

    background:
        radial-gradient(
            circle at center,
            rgba(201, 166, 93, 0.08),
            transparent 55%
        );
}

.gallery-cta-inner {
    max-width: 900px;
    margin: auto;
    text-align: center;
}

.gallery-cta h2 {
    margin-top: 22px;
}

.gallery-cta p {
    margin-top: 25px;
    color: #aaaeb6;
    font-size: 17px;
}

.gallery-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 15px;

    margin-top: 38px;

    padding: 15px 25px;

    border: 1px solid #c9a65d;
    color: #d8bd79;

    font-family: Arial, sans-serif;
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;

    transition: 0.3s ease;
}

.gallery-cta-button:hover {
    background: #c9a65d;
    color: #07111f;
}

.gallery-cta-button span {
    font-size: 17px;
}


/* =========================================================
   FOOTER
   ========================================================= */

.gallery-footer {
    background: #040b14;
    padding: 80px 0 0;
}

.gallery-footer-container {
    width: min(1400px, 92%);
    margin: auto;

    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;

    padding-bottom: 70px;
}

.gallery-footer-logo {
    width: 75px;
    height: 75px;
    object-fit: contain;
}

.gallery-footer-brand p {
    max-width: 230px;
    margin-top: 20px;

    color: #9298a2;
    font-family: Arial, sans-serif;
    font-size: 13px;
    line-height: 1.7;
}

.gallery-footer-column {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.gallery-footer-column h4 {
    color: #c9a65d;
    font-family: Arial, sans-serif;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.gallery-footer-column a {
    color: #aaaeb6;
    font-family: Arial, sans-serif;
    font-size: 13px;
    transition: 0.3s ease;
}

.gallery-footer-column a:hover {
    color: #c9a65d;
}

.gallery-footer-contact a {
    font-size: 14px;
}

.gallery-footer-bottom {
    width: min(1400px, 92%);
    margin: auto;

    border-top: 1px solid rgba(255, 255, 255, 0.08);

    padding: 22px 0;

    display: flex;
    justify-content: space-between;
    gap: 20px;

    color: #666d77;
    font-family: Arial, sans-serif;
    font-size: 11px;
    letter-spacing: 0.5px;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1000px) {

    .gallery-nav-menu {
        gap: 20px;
    }

    .gallery-nav-menu > a {
        font-size: 11px;
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .gallery-footer-container {
        grid-template-columns: 1.5fr 1fr 1fr;
    }

    .gallery-footer-contact {
        grid-column: 2 / 4;
    }

}


/* =========================================================
   MOBILE NAVBAR
   ========================================================= */

@media (max-width: 850px) {

    .gallery-navbar {
        height: 72px;
    }

    .gallery-logo img {
        width: 56px;
        height: 56px;
    }

    .gallery-menu-toggle {
        display: flex;
    }

    .gallery-nav-menu {
        position: absolute;

        left: 0;
        right: 0;
        top: 72px;

        display: flex;
        flex-direction: column;
        align-items: stretch;

        gap: 0;

        background: #050d19;

        border-bottom: 1px solid rgba(201, 166, 93, 0.3);

        padding: 10px 7%;

        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);

        transition:
            opacity 0.3s ease,
            transform 0.3s ease,
            visibility 0.3s ease;
    }

    .gallery-nav-menu.gallery-menu-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .gallery-nav-menu > a {
        padding: 17px 5px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        font-size: 12px;
    }

    .gallery-nav-menu > a:not(.gallery-outdoors)::after {
        display: none;
    }

    .gallery-outdoors {
        margin: 12px 0 8px;
        text-align: center;
        border-radius: 5px;
    }

}


/* =========================================================
   MOBILE CONTENT
   ========================================================= */

@media (max-width: 700px) {

    .gallery-hero {
        min-height: 470px;
    }

    .gallery-hero h1 {
        font-size: clamp(44px, 13vw, 65px);
        letter-spacing: -2px;
    }

    .gallery-hero-content p {
        font-size: 15px;
        line-height: 1.7;
    }

    .gallery-intro {
        padding: 80px 0 65px;
    }

    .gallery-intro h2,
    .gallery-section-heading h2,
    .gallery-cta h2 {
        font-size: 42px;
    }

    .gallery-section {
        padding-bottom: 80px;
    }

    .gallery-section-heading {
        display: block;
        margin-bottom: 30px;
    }

    .gallery-section-heading > p {
        width: 100%;
        margin-top: 20px;
    }

    .gallery-grid,
    .celebrations-gallery {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 230px;
        gap: 8px;
    }

    .gallery-item {
        min-height: 230px;
    }

    .gallery-item.gallery-large {
        grid-column: span 2;
    }

    .gallery-item.gallery-tall {
        grid-row: span 2;
    }

    .gallery-item-overlay {
        padding: 45px 13px 13px;
        opacity: 1;
        transform: none;
    }

    .gallery-item-overlay h3 {
        font-size: 16px;
    }

    .gallery-item-overlay span {
        font-size: 8px;
    }

    .gallery-cta {
        padding: 90px 20px;
    }

    .gallery-footer {
        padding-top: 60px;
    }

    .gallery-footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 45px 25px;
    }

    .gallery-footer-brand {
        grid-column: 1 / -1;
    }

    .gallery-footer-contact {
        grid-column: auto;
    }

    .gallery-footer-bottom {
        flex-direction: column;
        line-height: 1.6;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 430px) {

    .gallery-nav-container {
        width: 90%;
    }

    .gallery-hero {
        min-height: 430px;
    }

    .gallery-hero h1 {
        font-size: 43px;
    }

    .gallery-small-title,
    .gallery-section-label {
        font-size: 9px;
        letter-spacing: 3px;
    }

    .gallery-intro h2,
    .gallery-section-heading h2,
    .gallery-cta h2 {
        font-size: 36px;
    }

    .gallery-grid,
    .celebrations-gallery {
        grid-auto-rows: 190px;
    }

    .gallery-item {
        min-height: 190px;
    }

    .gallery-item-overlay h3 {
        font-size: 14px;
    }

    .gallery-footer-container {
        grid-template-columns: 1fr;
    }

    .gallery-footer-brand,
    .gallery-footer-contact {
        grid-column: auto;
    }

}