html, body {
    overflow-x: hidden;
    width: 100%;
}

/* ====== PREMIUM NAVBAR (Standardized) ====== */
.navbar {
    position: sticky; 
    top: 0;
    width: 100%; 
    z-index: 1200;
    background: rgba(43, 31, 26, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(212, 163, 115, 0.2);
    padding: 5px 0;
    color: #F5EFE6;
    font-family: 'Segoe UI', sans-serif;
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 25px; 
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    font-family: 'Playfair Display', serif;
    font-weight: 800;
    font-size: 28px;
    letter-spacing: 3px;
    color: #D4A373;
    text-transform: uppercase;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 35px;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: #F5EFE6;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    font-family: 'Poppins', sans-serif;
}

.nav-links a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #D4A373;
    transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: #D4A373;
}

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

.nav-toggle {
    display: none;
    background: transparent;
    border: none;
    color: #F5EFE6;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
}

/* ===== MOBILE / TABLET NAV ===== */
@media (max-width:900px){
  .nav-toggle {
    display: block;
    z-index: 2001;
    transition: transform 0.3s ease;
  }

  .nav-toggle:active {
    transform: scale(0.9);
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 80%;
    max-width: 320px;
    background: rgba(43, 31, 26, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0;
    gap: 40px;
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
    z-index: 2000;
    box-shadow: -10px 0 30px rgba(0,0,0,0.5);
  }

  .nav-links.active {
    transform: translateX(0);
  }

  .nav-links li {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
    width: 100%;
    text-align: center;
  }

  .nav-links.active li {
    opacity: 1;
    transform: translateY(0);
  }

  /* Staggered Delay for Menu Items */
  .nav-links.active li:nth-child(1) { transition-delay: 0.1s; }
  .nav-links.active li:nth-child(2) { transition-delay: 0.15s; }
  .nav-links.active li:nth-child(3) { transition-delay: 0.2s; }
  .nav-links.active li:nth-child(4) { transition-delay: 0.25s; }
  .nav-links.active li:nth-child(5) { transition-delay: 0.3s; }

  .nav-links a {
      color: #F5EFE6 !important;
      font-size: 24px;
      font-family: 'Playfair Display', serif;
      letter-spacing: 2px;
      padding: 10px 0;
      display: inline-block;
  }

  .nav-links a::after {
      bottom: 5px;
  }
}

/* Prevent body scroll when menu is active */
body.menu-open {
    overflow: hidden;
}
