/* ==========================================================================
   Kathuriya premium wood/gold header
   Scoped under .premium-header so it cannot leak into the rest of the theme.
   ========================================================================== */
.premium-header {
  --kh-gold-light: #f7e2a0;
  --kh-gold: #d8a84e;
  --kh-gold-deep: #a9752c;
  --kh-gold-shadow: #4a2c0d;
  --kh-wood-1: #2a1608;
  --kh-wood-2: #3d2211;
  --kh-wood-3: #1c0e05;

  position: relative;
  /* no overflow:hidden here — it would clip the dropdown flyout that pops out
     below the nav row. The wood layers below are inset:0 so they never bleed
     past this box anyway; nothing here needs clipping. */
  padding-top: 24px;
  box-shadow: 0 6px 24px rgba(0,0,0,.55);
  font-family: Georgia, "Cambria", serif;
}

/* Smooth satin-wood backdrop: soft diagonal sheen, no plank seams, no blocks. */
.premium-header .wood-bg {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(105deg,
      rgba(255,201,140,.05) 0px, transparent 2px,
      transparent 92px, rgba(0,0,0,.10) 94px, transparent 98px),
    radial-gradient(ellipse at 78% 15%, rgba(255,178,96,.16), transparent 55%),
    linear-gradient(128deg, #170c05 0%, #2a1509 32%, #4a2a12 62%, #26130a 100%);
  background-repeat: repeat, no-repeat, no-repeat;
  background-size: 130px 100%, 100% 100%, 100% 100%;
}

/* Alpona motif over the wood: a winding gold vine/leaf (lata-pata) tile. */
.premium-header .alpona-overlay {
  position: absolute;
  inset: 0;
  background-image: url("../img/alpona-pattern.svg?v=2");
  background-repeat: repeat;
  background-size: 130px 225px;
  background-position: center;
  opacity: .34;
  mix-blend-mode: screen;
  pointer-events: none;
}

.premium-header .wood-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at center 35%, rgba(0,0,0,0) 35%, rgba(0,0,0,.55) 100%),
    linear-gradient(to bottom, rgba(0,0,0,.35), rgba(0,0,0,0) 18%, rgba(0,0,0,0) 70%, rgba(0,0,0,.55));
}

/* ---------- LOGO ---------- */
.premium-header__logo {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
}

.premium-header .logo-plaque {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.6));
}

.premium-header .logo-plaque img {
  width: 100%;
  height: 100%;
  display: block;
}

/* ---------- GOLD DIVIDER ---------- */
.premium-header .gold-divider {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 16px auto 0;
  width: min(680px, 86%);
  height: 1px;
  background: linear-gradient(to right,
    transparent, var(--kh-gold-deep) 15%, var(--kh-gold-light) 50%, var(--kh-gold-deep) 85%, transparent);
}

.premium-header .gold-divider__diamond {
  display: none; /* the small ornament box under the logo was requested removed; the gold line itself stays */
}

/* ---------- NAV (Bootstrap navbar + WP menu, restyled) ---------- */
.premium-header .premium-nav {
  position: relative;
  z-index: 2;
  background: transparent !important;
  border-top: none !important;
  padding: 6px 0 14px;
}

.premium-header .premium-nav .navbar-nav {
  width: 100%; /* the <ul> was sizing to its own content and sitting flush-left;
                  it needs to fill the collapse row before justify-content can center it */
  justify-content: center;
  align-items: center;
  gap: clamp(14px, 3.5vw, 46px);
  row-gap: 6px;
}

.premium-header .premium-nav .navbar-nav > .nav-item {
  position: relative;
}

.premium-header .premium-nav .navbar-nav > .nav-item > .nav-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 6px 4px !important;
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 700;
  /* gold-metal fill sampled directly from the pixels of the logo's carved
     leaf/flourish artwork (bright highlight down to near-black shadow) so the
     menu text reads as the same material as the logo, not a separate style.
     A second, wider gradient layer (the "shine" band) sits on top of it,
     parked out of view — hover animates it across, same as the logo's sweep. */
  color: #c9a055; /* fallback if background-clip:text isn't supported */
  background-image:
    linear-gradient(100deg, transparent 35%, rgba(255,255,255,.95) 48%, rgba(255,250,215,.95) 52%, transparent 65%),
    linear-gradient(180deg, #f8e29f 0%, #e0b869 25%, #c9a055 48%, #9f8653 66%, #6b4a1e 82%, #2e1600 100%);
  background-size: 300% 100%, 100% 100%;
  background-position: 200% 0, 0 0;
  background-repeat: no-repeat, no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 1px 0 rgba(255,255,255,.3)) drop-shadow(0 1px 2px rgba(0,0,0,.6));
  transition: filter .25s ease, transform .2s ease;
}

.premium-header .premium-nav .navbar-nav > .nav-item > .nav-link:hover,
.premium-header .premium-nav .navbar-nav > .nav-item > .nav-link:focus {
  animation: kh-nav-shine 2.6s ease-in-out;
  filter: drop-shadow(0 1px 0 rgba(255,255,255,.4)) drop-shadow(0 1px 2px rgba(0,0,0,.65)) drop-shadow(0 0 9px rgba(247,226,160,.55));
  transform: translateY(-1px);
}

/* the shine sweeps across once (0%→50%) then back (50%→100%) per hover — "jabe ar ashbe" */
@keyframes kh-nav-shine {
  0%   { background-position: 200% 0, 0 0; }
  50%  { background-position: -120% 0, 0 0; }
  100% { background-position: 200% 0, 0 0; }
}

/* small gold line-icon above each top-level label (order matches the current menu) */
.premium-header .premium-nav .navbar-nav > .nav-item > .nav-link::before {
  content: "";
  display: block;
  width: 19px;
  height: 19px;
  background-color: var(--kh-gold);
  transition: background-color .25s ease;
  -webkit-mask: var(--kh-icon) center / contain no-repeat;
  mask: var(--kh-icon) center / contain no-repeat;
}
.premium-header .premium-nav .navbar-nav > .nav-item > .nav-link:hover::before {
  background-color: var(--kh-gold-light);
}

.premium-header .premium-nav .navbar-nav > .nav-item:nth-child(1) > .nav-link {
  --kh-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 21V4.6C4 3.7 4.7 3 5.6 3h6.8c.9 0 1.6.7 1.6 1.6V21M4 21h13M16 21V6.2M16 12h1.4'/%3E%3C/svg%3E");
}
.premium-header .premium-nav .navbar-nav > .nav-item:nth-child(2) > .nav-link {
  --kh-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6'%3E%3Crect x='4' y='3' width='16' height='18' rx='1'/%3E%3Crect x='7' y='6' width='10' height='12' rx='.5'/%3E%3C/svg%3E");
}
.premium-header .premium-nav .navbar-nav > .nav-item:nth-child(3) > .nav-link {
  --kh-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 21V4.2C6 3.5 6.6 3 7.3 3h9.4c.7 0 1.3.5 1.3 1.2V21M6 21h12M14 12h1.2'/%3E%3C/svg%3E");
}
.premium-header .premium-nav .navbar-nav > .nav-item:nth-child(4) > .nav-link {
  --kh-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21c-4-3-8-6.5-8-11A4.7 4.7 0 0112 6a4.7 4.7 0 018 4c0 4.5-4 8-8 11z'/%3E%3Ccircle cx='9.3' cy='10.5' r='.6'/%3E%3Ccircle cx='14.7' cy='10.5' r='.6'/%3E%3C/svg%3E");
}
/* KATHURIYA: Interior menu icon (added 2026-09-27) */
.premium-header .premium-nav .navbar-nav > .nav-item:nth-child(5) > .nav-link { --kh-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M5%2011V7a2%202%200%200%201%202-2h10a2%202%200%200%201%202%202v4%27%2F%3E%3Cpath%20d%3D%27M3%2013a2%202%200%200%201%202-2h0a2%202%200%200%201%202%202v3h10v-3a2%202%200%200%201%202-2h0a2%202%200%200%201%202%202v5H3z%27%2F%3E%3Cpath%20d%3D%27M5%2021v-3M19%2021v-3%27%2F%3E%3C%2Fsvg%3E"); }
.premium-header .premium-nav .navbar-nav > .nav-item:nth-child(6) > .nav-link {
  --kh-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5c0-1 .8-1.8 1.8-1.8h2.1c.6 3 1.5 5.5 2.9 7.7l-2 2.3c1.6 2.7 3.8 4.9 6.5 6.5l2.3-2c2.2 1.4 4.7 2.3 7.7 2.9v2.1c0 1-.8 1.8-1.8 1.8C11.6 24.5 4 16.9 4 5z'/%3E%3C/svg%3E");
}

/* dropdown caret removed per request — the theme's default FA chevron is suppressed */
.premium-header .premium-nav .dropdown-toggle::after {
  display: none;
  content: none;
}

/* Dropdown submenu panel */
.premium-header .premium-nav .dropdown-menu {
  background: linear-gradient(180deg, #241206, #170b03);
  border: 1px solid var(--kh-gold-deep);
  border-radius: 6px;
  box-shadow: 0 14px 30px rgba(0,0,0,.6);
  padding: 8px 0;
  min-width: 180px;
}

.premium-header .premium-nav .dropdown-menu .nav-link {
  display: block;
  padding: 9px 20px !important;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
  color: #c9a055;
  background-image: linear-gradient(180deg, #f8e29f 0%, #cca363 45%, #7a5726 75%, #2e1600 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 1px 0 rgba(255,255,255,.25)) drop-shadow(0 1px 2px rgba(0,0,0,.5));
  transition: padding-left .2s ease, filter .2s ease;
}

/* the row highlight lives on the <li>, not the <a> — the <a> uses background-clip:text
   for its gold gradient, so putting a highlight background there too would get clipped
   to the letter shapes and make the text nearly invisible on hover (that was the bug). */
.premium-header .premium-nav .dropdown-menu li:hover {
  background: rgba(216,168,78,.12);
}

.premium-header .premium-nav .dropdown-menu .nav-link:hover {
  padding-left: 26px;
  filter: drop-shadow(0 1px 0 rgba(255,255,255,.35)) drop-shadow(0 1px 2px rgba(0,0,0,.5)) drop-shadow(0 0 6px rgba(247,226,160,.6));
}

/* Mobile toggler: gold hamburger icon so it reads against the dark wood */
.premium-header .navbar-toggler {
  border-color: rgba(216,168,78,.55);
}
.premium-header .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='%23f3d38a' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

@media (max-width: 991.98px) {
  .premium-header .premium-nav .navbar-nav {
    border-top: 1px solid rgba(216,168,78,.25);
    padding-top: 10px;
  }
  .premium-header .premium-nav .navbar-nav > .nav-item > .nav-link {
    flex-direction: row;
    justify-content: center;
    padding: 10px 0 !important;
  }
  .premium-header .premium-nav .navbar-nav > .nav-item > .nav-link::before {
    width: 16px;
    height: 16px;
  }
  .premium-header .premium-nav .dropdown-menu {
    background: rgba(0,0,0,.25);
    border: none;
    box-shadow: none;
    text-align: center;
  }
}

@media (max-width: 560px) {
  .premium-header .logo-plaque { width: 140px; height: 140px; }
  .premium-header .premium-nav .navbar-nav > .nav-item > .nav-link { font-size: 11.5px; }
}

/* ---------- LANGUAGE SWITCH (EN / বাংলা) ---------- */
.premium-header .kh-lang-switch {
  position: absolute;
  top: 14px;
  right: 18px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(0,0,0,.28);
  border: 1px solid rgba(216,168,78,.4);
  border-radius: 999px;
  padding: 6px 12px;
}
.premium-header .kh-lang-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  color: #d8cdb8;
  padding: 2px 3px;
  transition: color .2s ease;
  font-family: Georgia, "Cambria", serif;
}
.premium-header .kh-lang-btn.is-active,
.premium-header .kh-lang-btn:hover {
  color: #f7e2a0;
}
.premium-header .kh-lang-sep {
  color: rgba(216,168,78,.5);
  font-size: 11px;
}
@media (max-width: 560px) {
  .premium-header .kh-lang-switch { top: 8px; right: 8px; padding: 5px 9px; gap: 5px; }
  .premium-header .kh-lang-btn { font-size: 10.5px; }
}
