/* --- HEADER & NAVIGATION --- */
header {
  background-color: transparent;
  box-shadow: none;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  padding: 1.5rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Scrolled state - white background */
header.scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 1rem 5%;
}

/* Logo color changes on scroll */
header.scrolled .logo {
  color: var(--primary-dark);
}

header.scrolled .logo span {
  color: var(--primary-gold);
}

header.scrolled .nav-links a {
  color: var(--primary-dark);
}

.logo {
  font-family: 'Cinzel', serif;
  font-size: 1.6rem;
  font-weight: 700;
  background: linear-gradient(135deg, #f4e4a7 0%, #d4af37 25%, #f4e4a7 50%, #d4af37 75%, #f4e4a7 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 2px;
  line-height: 1;
  transition: all 0.3s ease;
  position: relative;
  animation: shine 3s linear infinite;
}

@keyframes shine {
  to {
    background-position: 200% center;
  }
}

.logo::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #f4e4a7, transparent);
  opacity: 0.8;
}

header.scrolled .logo {
  background: linear-gradient(135deg, #f4e4a7 0%, #d4af37 25%, #f4e4a7 50%, #d4af37 75%, #f4e4a7 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  color: #fff;
  position: relative;
  transition: color 0.3s ease;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

header.scrolled .nav-links a {
  text-shadow: none;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--primary-gold);
  transition: var(--transition);
}

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

.btn-book {
  background-color: var(--primary-gold);
  color: #fff;
  padding: 0.8rem 2rem;
  font-weight: 600;
  border-radius: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 2px solid var(--primary-gold);
}

.btn-book:hover {
  background-color: transparent;
  color: var(--primary-gold);
}

/* Mobile Menu Button */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
  position: relative;
  transition: transform 0.2s ease;
}

.menu-toggle:hover {
  transform: scale(1.1);
}

.menu-toggle .material-icons {
  font-size: 28px;
  color: #fff;
  transition: all 0.3s ease;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

header.scrolled .menu-toggle .material-icons {
  color: var(--primary-dark);
  text-shadow: none;
}

.menu-toggle .close-icon {
  display: none;
}

.menu-toggle .menu-icon {
  display: block;
}

/* Active state - show close, hide menu */
.menu-toggle.active .close-icon {
  display: block;
}

.menu-toggle.active .menu-icon {
  display: none;
}

/* Mobile Navigation Menu */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: linear-gradient(135deg, var(--primary-dark) 0%, #2a2a2a 100%);
  padding: 100px 2rem 2rem;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.3);
  z-index: 999;
  overflow-y: auto;
}

.mobile-nav.active {
  right: 0;
}

.mobile-nav ul {
  list-style: none;
}

.mobile-nav ul li {
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.3s ease;
}

.mobile-nav.active ul li {
  opacity: 1;
  transform: translateX(0);
}

.mobile-nav.active ul li:nth-child(1) { transition-delay: 0.1s; }
.mobile-nav.active ul li:nth-child(2) { transition-delay: 0.2s; }
.mobile-nav.active ul li:nth-child(3) { transition-delay: 0.3s; }
.mobile-nav.active ul li:nth-child(4) { transition-delay: 0.4s; }
.mobile-nav.active ul li:nth-child(5) { transition-delay: 0.5s; }

.mobile-nav ul li a {
  display: block;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.8rem 1rem;
  border-left: 3px solid transparent;
  transition: all 0.3s ease;
}

.mobile-nav ul li a:hover,
.mobile-nav ul li a.active {
  color: var(--primary-gold);
  border-left-color: var(--primary-gold);
  padding-left: 1.5rem;
  background: rgba(197, 160, 89, 0.1);
}

.mobile-nav .btn-book {
  margin-top: 2rem;
  display: inline-block;
  width: 100%;
  text-align: center;
}

/* Overlay for mobile menu */
.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 998;
}

.mobile-overlay.active {
  opacity: 1;
  visibility: visible;
}
