* {
    box-sizing: border-box
}

body {
    margin: 0;
    background: #fff8e9;
    color: #5d492a;
    font-family: Inter, Arial, sans-serif
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 86px;
    padding: 0 5%;
    display: flex;
    align-items: center;
    gap: 28px;
    background: rgba(255, 250, 239, .96);
    border-bottom: 1px solid rgba(126, 80, 12, .18);
    backdrop-filter: blur(12px)
}

.brand img {
    width: 145px
}

.main-nav {
    margin-left: auto;
    display: flex;
    gap: 25px
}

.main-nav a {
    font-size: 12px;
    letter-spacing: .12em;
    text-decoration: none;
    color: #4f3416;
    padding: 32px 0;
    position: relative
}

.main-nav a:after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 23px;
    height: 2px;
    background: #a96d0a;
    transition: .3s
}

.main-nav a:hover:after,
.main-nav a.active:after {
    right: 0
}

/* .header-cta {
    color: #fff;
    background: #704309;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 30px;
    font-size: 12px;
    letter-spacing: .1em
} */

.gallery-hero {
    min-height: 390px;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(120deg, #fffaf0, #f2dfb5)
}

.eyebrow {
    font-size: 11px;
    letter-spacing: .22em;
    color: #a96d0a;
    font-weight: 700
}

.gallery-hero h1,
.section-heading h2 {
    margin: 13px 0 10px;
    font-family: "Cormorant Garamond", serif;
    color: #704309;
    font-size: clamp(52px, 7vw, 88px);
    line-height: .9
}

.gallery-hero em,
.section-heading em {
    font-style: italic;
    font-weight: 500
}

.gallery-hero p {
    max-width: 600px;
    margin: 22px auto;
    line-height: 1.8
}

.gallery-section {
    width: min(1180px, calc(100% - 40px));
    margin: auto;
    padding: 85px 0 100px
}

.section-heading {
    text-align: center;
    margin-bottom: 40px
}

.section-heading h2 {
    font-size: clamp(42px, 5vw, 64px)
}

.gallery-tabs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    padding: 8px;
    margin-bottom: 35px;
    border: 1px solid rgba(126, 80, 12, .18);
    border-radius: 18px;
    background: #fffaf0
}

.gallery-tab {
    border: 0;
    background: transparent;
    color: #4f3416;
    border-radius: 12px;
    padding: 18px 12px;
    cursor: pointer;
    transition: .3s
}

.gallery-tab:hover {
    background: #f7ecd4
}

.gallery-tab.active {
    background: #704309;
    color: #fff;
    box-shadow: 0 9px 25px rgba(112, 67, 9, .18)
}

.gallery-panel {
    display: none
}

.gallery-panel.active {
    display: block;
    animation: in .5s ease
}

@keyframes in {
    from {
        opacity: 0;
        transform: translateY(12px)
    }

    to {
        opacity: 1;
        transform: none
    }
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr .85fr;
    grid-auto-rows: 230px;
    gap: 16px
}

.gallery-card {
    position: relative;
    overflow: hidden;
    padding: 0;
    border: 0;
    border-radius: 18px;
    background: #ead9b6;
    cursor: pointer;
    text-align: left
}

.gallery-card.card-large {
    grid-row: span 2
}

.gallery-card.card-wide {
    grid-column: span 2
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .7s
}

.gallery-card:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(35, 20, 5, .7), transparent 60%)
}

.gallery-card:hover img {
    transform: scale(1.08)
}

.card-caption {
    position: absolute;
    z-index: 2;
    left: 24px;
    bottom: 20px;
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 4px
}

.card-caption small {
    font-size: 9px;
    letter-spacing: .2em
}

.card-caption strong {
    font-family: "Cormorant Garamond", serif;
    font-size: 27px
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 3000;
    background: rgba(29, 17, 5, .94);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 45px
}

.lightbox.open {
    display: flex
}

.lightbox-content {
    max-width: min(1000px, 82vw);
    text-align: center
}

.lightbox-content img {
    max-width: 100%;
    max-height: 78vh;
    border-radius: 8px
}

.lightbox-caption {
    color: #fff;
    margin-top: 14px;
    font-family: "Cormorant Garamond", serif;
    font-size: 25px
}

.lightbox button {
    position: absolute;
    border: 0;
    background: rgba(255, 255, 255, .1);
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 36px
}

.lightbox-close {
    right: 28px;
    top: 24px
}

.lightbox-prev {
    left: 28px;
    top: 50%;
    transform: translateY(-50%)
}

.lightbox-next {
    right: 28px;
    top: 50%;
    transform: translateY(-50%)
}

.lightbox-count {
    position: absolute;
    bottom: 22px;
    color: #ddd
}

.floating-tools {
    position: fixed;
    right: 18px;
    bottom: 22px;
    z-index: 1500;
    display: flex;
    flex-direction: column;
    gap: 8px
}

.floating-tools a,
.floating-tools button {
    width: 43px;
    height: 43px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    border: 1px solid #fff;
    background: rgba(112, 67, 9, .9);
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    transition: .25s
}

.floating-tools a:hover,
.floating-tools button:hover {
    transform: translateY(-3px) scale(1.05);
    background: #a96d0a
}

@media(max-width:900px) {
    .main-nav {
        display: none
    }

    .header-cta {
        display: none
    }

    .gallery-tabs {
        grid-template-columns: repeat(2, 1fr)
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr
    }

    .gallery-card.card-large {
        grid-row: span 2
    }

    .gallery-card.card-wide {
        grid-column: span 2
    }
}

@media(max-width:560px) {
    .gallery-section {
        width: calc(100% - 28px);
        padding: 55px 0 70px
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 250px
    }

    .gallery-card.card-large,
    .gallery-card.card-wide {
        grid-row: span 1;
        grid-column: span 1
    }

    .lightbox {
        padding: 20px
    }
}

/* ================================================= */

/* =========================================================
   GALLERY HERO
========================================================= */

.gallery-hero {
  position: relative;
  min-height: 680px;

  display: flex;
  align-items: center;

  overflow: hidden;

  background: #493126;
  color: #fffdf5;
}


/* =========================================================
   BACKGROUND IMAGE
========================================================= */

.gallery-hero {
    min-height: 520px;
    background-image: url('../assets/gallery-hero.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}


/* =========================================================
   DARK WARM OVERLAY
========================================================= */

.gallery-hero-overlay {
  position: absolute;
  inset: 0;

  z-index: 1;

  background:
    linear-gradient(
      90deg,
      rgba(54, 35, 26, 0.94) 0%,
      rgba(54, 35, 26, 0.76) 38%,
      rgba(54, 35, 26, 0.38) 72%,
      rgba(54, 35, 26, 0.52) 100%
    );
}


/* =========================================================
   SOFT GOLD GLOW
========================================================= */

.gallery-hero::after {
  content: "";

  position: absolute;

  width: 600px;
  height: 600px;

  right: -250px;
  top: 50%;

  transform: translateY(-50%);

  border-radius: 50%;

  background: radial-gradient(
    circle,
    rgba(210, 173, 104, 0.12),
    transparent 68%
  );

  z-index: 2;

  pointer-events: none;
}


/* =========================================================
   MANDALA
========================================================= */

.gallery-hero-mandala {
  position: absolute;

  width: 600px;
  height: 600px;

  right: -220px;
  top: 50%;

  transform: translateY(-50%);

  background:
    url("../assets/mandala-gold-new.png")
    center / contain no-repeat;

  opacity: 0.16;

  z-index: 2;

  pointer-events: none;
}


/* =========================================================
   CONTENT
========================================================= */

.gallery-hero-content {
  position: relative;

  z-index: 4;

  width: min(1380px, calc(100% - 100px));

  margin: 0 auto;

  padding: 90px 0;
}


/* =========================================================
   EYEBROW
========================================================= */

.gallery-hero-eyebrow {
  display: flex;

  align-items: center;

  gap: 14px;

  color: #d2ad68;

  font-size: 9px;

  font-weight: 600;

  letter-spacing: 3px;
}

.gallery-hero-eyebrow span {
  width: 35px;
  height: 1px;

  background: #d2ad68;
}


/* =========================================================
   MAIN HEADING
========================================================= */

.gallery-hero h1 {
  margin: 32px 0 0;

  color: #fffdf5;

  font-family: "Cormorant Garamond", Georgia, serif;

  font-size: clamp(85px, 11vw, 155px);

  font-weight: 400;

  line-height: 0.72;

  letter-spacing: -4px;
}

.gallery-hero h1 em {
  display: block;

  margin-left: 105px;

  color: #d2ad68;

  font-style: italic;
}


/* =========================================================
   DESCRIPTION
========================================================= */

.gallery-hero-content > p {
  max-width: 480px;

  margin-top: 45px;

  color: rgba(255, 253, 245, 0.80);

  font-size: 11px;

  line-height: 2;
}


/* =========================================================
   SCROLL INDICATOR
========================================================= */

.gallery-hero-scroll {
  display: flex;

  align-items: center;

  gap: 15px;

  margin-top: 42px;

  color: rgba(255,255,255,0.55);

  font-size: 7px;

  font-weight: 600;

  letter-spacing: 2.5px;
}

.gallery-hero-scroll i {
  display: block;

  width: 45px;
  height: 1px;

  background: rgba(255,255,255,0.4);
}


/* =========================================================
   SIDE MARK
========================================================= */

.gallery-hero-mark {
  position: absolute;

  right: 28px;
  bottom: 38px;

  z-index: 5;

  color: rgba(255,255,255,0.45);

  font-size: 7px;

  font-weight: 600;

  letter-spacing: 3px;

  writing-mode: vertical-rl;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

  .gallery-hero {
    min-height: 650px;
  }

  .gallery-hero-image {
    background-position: 62% center;
  }

  .gallery-hero-overlay {
    background:
      linear-gradient(
        180deg,
        rgba(54,35,26,0.88) 0%,
        rgba(54,35,26,0.70) 100%
      );
  }

  .gallery-hero-content {
    width: calc(100% - 40px);

    padding: 80px 0;
  }

  .gallery-hero-eyebrow {
    font-size: 7px;
    letter-spacing: 2px;
  }

  .gallery-hero-eyebrow span {
    width: 24px;
  }

  .gallery-hero h1 {
    margin-top: 30px;

    font-size: clamp(70px, 20vw, 100px);

    line-height: 0.76;

    letter-spacing: -2px;
  }

  .gallery-hero h1 em {
    margin-left: 28px;
  }

  .gallery-hero-content > p {
    max-width: 320px;

    margin-top: 38px;

    font-size: 10.5px;

    line-height: 1.9;
  }

  .gallery-hero-scroll {
    margin-top: 38px;
  }

  .gallery-hero-mandala {
    width: 430px;
    height: 430px;

    right: -230px;
    top: 75%;

    opacity: 0.11;
  }

  .gallery-hero-mark {
    right: 15px;
    bottom: 25px;

    font-size: 6px;
  }
}


/* =========================================================
   BHAAVYA — FINAL RESPONSIVE HEADER / MOBILE MENU
   Keep this block at the END of the page CSS.
   It intentionally overrides older page-specific header rules.
========================================================= */

.site-header {
    z-index: 1000;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.brand {
    flex: 0 0 auto;
}

.brand img {
    display: block;
    object-fit: contain;
}

.main-nav {
    display: flex;
    align-items: center;
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.menu-toggle span {
    display: block;
    width: 23px;
    height: 2px;
    margin: 3px 0;
    background: currentColor;
    transition: transform .3s ease, opacity .3s ease;
}

@media (max-width: 1000px) {
    .header-inner {
        width: calc(100% - 45px);
    }
}

@media (max-width: 760px) {

    html {
        scroll-padding-top: 72px;
    }

    .site-header {
        height: 72px !important;
        padding: 0 18px !important;
    }

    .header-inner {
        width: 100% !important;
        min-height: 72px !important;
        gap: 10px !important;
    }

    .brand {
        order: 1;
        flex: 0 0 auto;
    }

    .brand img {
        width: 105px !important;
        height: auto !important;
        max-height: 58px;
    }

    /* Hamburger sits between logo and JOIN NOW */
    .menu-toggle {
        display: flex !important;
        order: 2;
        margin-left: auto;
        flex: 0 0 42px;
        color: #4d3023;
    }

    /* Keep JOIN NOW visible on mobile */
    .header-cta {
        display: inline-flex !important;
        order: 3;
        align-items: center;
        justify-content: center;
        gap: 7px;
        min-width: 92px;
        min-height: 38px;
        padding: 10px 13px !important;
        border-radius: 6px;
        white-space: nowrap;
        font-size: 8px !important;
        letter-spacing: 1.2px !important;
    }

    /* Mobile dropdown */
    .main-nav {
        position: absolute !important;
        top: 72px !important;
        left: 0 !important;
        right: 0 !important;

        width: 100% !important;
        margin: 0 !important;
        padding: 10px 20px 18px !important;

        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0 !important;

        background: rgba(255, 249, 236, .98) !important;
        border-bottom: 1px solid rgba(126, 80, 12, .16);
        box-shadow: 0 12px 28px rgba(60, 35, 5, .13);

        transform: translateY(-120%) !important;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;

        transition:
            transform .35s ease,
            opacity .3s ease,
            visibility .3s ease;
    }

    .main-nav.open {
        transform: translateY(0) !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }

    .main-nav a {
        width: 100%;
        padding: 14px 5px !important;
        margin: 0 !important;

        border-bottom: 1px solid rgba(77, 48, 35, .10);

        font-size: 10px !important;
        letter-spacing: 1.6px !important;
    }

    .main-nav a:last-child {
        border-bottom: 0;
    }

    .main-nav a::after {
        display: none !important;
    }
}

@media (max-width: 480px) {

    .site-header {
        height: 68px !important;
        padding: 0 15px !important;
    }

    .header-inner {
        min-height: 68px !important;
        gap: 8px !important;
    }

    .brand img {
        width: 98px !important;
    }

    .menu-toggle {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
    }

    .header-cta {
        min-width: 88px;
        min-height: 36px;
        padding: 9px 11px !important;
        font-size: 8px !important;
    }

    .main-nav {
        top: 68px !important;
    }
}
