/* ==========================================================================
   RAJWADA GROUP — Header & Navigation
   ========================================================================== */

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 22px 0;
  transition: background 0.5s var(--ease), padding 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
header.scrolled {
  background: rgba(16, 26, 41, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 12px 0;
  box-shadow: 0 12px 30px -18px rgba(0, 0, 0, 0.6);
}

/* Brand */
/* .brand { display: flex; align-items: center; gap: 12px; color: var(--cream); min-width: 0; }

*/
.brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.brand-logo {
    display: block;
    width: 126px;
    height: auto;
    max-height: 126px;
    object-fit: contain;

    /* Make logo white */
    filter: brightness(0) invert(1);
}

@media (max-width: 768px) {
    .brand-logo {
        width: 145px;
        max-height: 60px;
        filter: brightness(0) invert(1);
    }
}

.brand-mark {
  width: 38px;
  height: 38px;
  flex: none;
  border: 1.5px solid var(--gold);
  border-top-left-radius: 19px;
  border-top-right-radius: 19px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cinzel', serif;
  font-size: 0.95rem;
  color: var(--gold-light);
}
.brand-text {
  font-family: 'Cinzel', serif;
  font-size: clamp(0.82rem, 2.5vw, 1.05rem);
  letter-spacing: 0.08em;
  line-height: 1.1;
}
.brand-text small {
  display: block;
  font-family: 'Jost', sans-serif;
  font-size: clamp(0.48rem, 1.8vw, 0.56rem);
  letter-spacing: 0.28em;
  color: var(--cream-dim);
  margin-top: 3px;
  font-weight: 400;
}

/* Primary nav */
nav.primary-nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 38px); }
nav.primary-nav a {
  color: var(--cream-dim);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  position: relative;
  padding: 6px 0;
  transition: color 0.3s;
  white-space: nowrap;
}
nav.primary-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 0;
  background: var(--gold);
  transition: width 0.35s var(--ease);
}
nav.primary-nav a:hover,
nav.primary-nav a.is-active { color: var(--cream); }
nav.primary-nav a:hover::after,
nav.primary-nav a.is-active::after { width: 100%; }

/* CTA button in nav */
.nav-cta {
  border: 1px solid var(--gold) !important;
  color: var(--gold-light) !important;
  padding: 9px 22px !important;
  border-radius: 999px;
  font-size: 0.78rem !important;
  letter-spacing: 0.08em;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--gold); color: var(--ink-2) !important; }

/* Nav backdrop (mobile overlay) */
.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(16, 26, 41, 0.5);
  z-index: 199;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.nav-backdrop.show { display: block; opacity: 1; }




/* =========================
   Burger Menu
========================= */

.burger {
    position: relative;
    z-index: 2100;
    display: none;
    
    width: 44px;
    height: 44px;
    padding: 0;
    margin: 0;
    
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    
    border: 0;
    background: transparent;
    cursor: pointer;
}

.burger span {
    display: block;
    width: 26px;
    height: 1.5px;
    background: #fff;
    transform-origin: center;
    transition: transform .35s ease, opacity .25s ease;
}

/* Active / Close Icon */

.burger.active span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}


/* =========================
   Mobile
========================= */

@media (max-width: 768px) {

    #siteHeader {
        position: sticky;
        top: 0;
        z-index: 2000;
        background: var(--ink-2);
    }

    .burger {
        display: flex;
        z-index: 2100;
    }
}