/* ==========================================================================
   NAVBAR.CSS — Complete Clean Desktop & 100% Working Mobile Overlay Menu
   ========================================================================== */

/* ── Header Base ─────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background: #1a1a1a;
  border-bottom: 1px solid rgba(197, 160, 89, 0.25);
  z-index: 999990;
  padding: 14px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── Brand Logo ──────────────────────────────────────────────────────────── */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Cinzel', serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: #ffffff;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  z-index: 999999;
  position: relative;
}

.brand-logo-img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid #c5a059;
  box-shadow: 0 0 8px rgba(197, 160, 89, 0.3);
}

/* ── Desktop Nav Menu ────────────────────────────────────────────────────── */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.drawer-footer,
.nav-icon {
  display: none !important;
}

.nav-link {
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #d0d0d8;
  text-decoration: none;
  position: relative;
  padding: 5px 0;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #c5a059;
  border-radius: 2px;
  transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #c5a059;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* ── Header Actions ──────────────────────────────────────────────────────── */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 999999;
}

.nav-btn-touch {
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: linear-gradient(135deg, #c5a059 0%, #aa7c33 100%);
  color: #0f0f12;
  border: none;
  padding: 8px 16px;
  border-radius: 3px;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  display: inline-block;
}

.nav-btn-touch:hover {
  background: linear-gradient(135deg, #d4b06a 0%, #c5a059 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(197, 160, 89, 0.4);
}

/* ── Hamburger Toggle Button ─────────────────────────────────────────────── */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
  z-index: 999999;
  position: relative;
}

.mobile-toggle .bar {
  display: block;
  width: 26px;
  height: 2.5px;
  background: #c5a059;
  border-radius: 2px;
  transition: transform 0.35s ease, opacity 0.35s ease, background 0.35s ease;
  transform-origin: center;
}

/* Bars → X when open */
.mobile-toggle.open .bar:nth-child(1) { transform: translateY(7.5px) rotate(45deg); background: #ffffff; }
.mobile-toggle.open .bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.mobile-toggle.open .bar:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); background: #ffffff; }

/* ==========================================================================
   MOBILE & TABLET RESPONSIVE MENU PANEL (≤ 1024px)
   ========================================================================== */
@media (max-width: 1024px) {

  /* Header Height & Spacing Increase */
  .site-header {
    height: 75px !important;
    padding: 16px 0 !important;
    box-sizing: border-box !important;
  }

  .brand-logo {
    font-size: 1.02rem !important;
    gap: 12px !important;
  }

  .brand-logo-img {
    width: 42px !important;
    height: 42px !important;
  }

  /* Show hamburger button, hide desktop button */
  .mobile-toggle  { display: flex !important; }
  .nav-btn-touch  { display: none !important; }

  /* Full Width Mobile Menu Panel (Starts directly below header at top: 75px) */
  .nav-menu {
    display: flex !important;
    align-items: flex-start !important;
    gap: 0 !important;
    position: fixed !important;
    top: 75px !important;
    left: 0 !important;
    width: 100vw !important;
    height: calc(100vh - 75px) !important;
    background: #111113 !important;
    border-top: 1px solid rgba(197, 160, 89, 0.3) !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    padding: 10px 0 30px !important;
    z-index: 999995 !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.95) !important;
    overflow-y: auto !important;
    list-style: none !important;
    margin: 0 !important;
    box-sizing: border-box !important;

    /* Hidden by default with smooth opacity & slide down */
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(-12px) !important;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease !important;
    pointer-events: none !important;
  }

  /* Slide down & fade in when .open class is added */
  .nav-menu.open {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
  }

  /* Drawer Menu Items */
  .nav-menu li {
    width: 100% !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
  }

  .nav-link {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    font-size: 1.02rem !important;
    font-family: 'Cinzel', serif !important;
    letter-spacing: 2px !important;
    padding: 18px 24px !important;
    color: #ffffff !important;
    width: 100% !important;
    box-sizing: border-box !important;
    transition: all 0.25s ease !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    position: relative !important;
    z-index: 100 !important;
  }

  .nav-icon {
    display: inline-block !important;
    color: #c5a059;
    font-size: 1.05rem;
    width: 24px;
    text-align: center;
    transition: transform 0.25s ease;
  }

  .nav-link::after { display: none !important; }

  .nav-link:hover,
  .nav-link.active {
    color: #c5a059 !important;
    background: rgba(197, 160, 89, 0.15) !important;
    padding-left: 32px !important;
    border-left: 4px solid #c5a059 !important;
  }

  .nav-link:hover .nav-icon,
  .nav-link.active .nav-icon {
    color: #ffffff;
    transform: scale(1.2);
  }

  /* Drawer Footer Section */
  .drawer-footer {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    padding: 24px 20px 30px !important;
    margin-top: auto !important;
    gap: 16px !important;
    border-top: 1px solid rgba(197, 160, 89, 0.2) !important;
    background: rgba(0, 0, 0, 0.4) !important;
    box-sizing: border-box !important;
    border-bottom: none !important;
  }

  .drawer-get-touch-btn {
    width: 100%;
    text-align: center;
    padding: 14px 0;
    background: linear-gradient(135deg, #c5a059 0%, #aa7c33 100%);
    color: #0d0c0b;
    font-family: 'Cinzel', serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    border-radius: 4px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.35);
    transition: all 0.3s ease;
    cursor: pointer;
    pointer-events: auto !important;
  }

  .drawer-get-touch-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(197, 160, 89, 0.5);
  }

  .drawer-socials {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
  }

  .drawer-socials a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(197, 160, 89, 0.35);
    color: #c5a059;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    pointer-events: auto !important;
  }

  .drawer-socials a:hover {
    background: #c5a059;
    color: #0d0c0b;
    border-color: #c5a059;
    transform: translateY(-3px) scale(1.1);
  }
}

@media (max-width: 480px) {
  .brand-logo { font-size: 0.92rem; gap: 8px; }
  .brand-logo-img { width: 36px; height: 36px; }
}
