/* Transparent Professional Header Styles */
:root {
  --header-bg-transparent: rgba(0, 0, 0, 0);
  --header-bg-scrolled: rgba(10, 10, 10, 0.75);
  --header-text-color: #ffffff;
  --header-accent-color: #FEB800;
  --header-text-hover: #FEB800;
  --header-height: 80px;
  --header-scrolled-height: 70px;
  --button-bg: #FEB800;
  --button-hover-bg: #FFD100;
  --button-text: #000000;
  --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --box-shadow-subtle: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Ensure no white background shows anywhere behind the header */
html, body {
  background: transparent !important;
  background-color: transparent !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Transparent Header - Completely transparent with no background */
.site-header {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  z-index: 1000;
  transition: var(--transition-smooth);
  border-bottom: none !important;
  box-shadow: none !important;
}

/* Force all header child elements to be transparent */
.site-header *,
.site-header *::before,
.site-header *::after {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
}

/* Scrolled Header State */
.site-header.scrolled {
  background: var(--header-bg-scrolled) !important;
  background-color: var(--header-bg-scrolled) !important;
  height: var(--header-scrolled-height);
  box-shadow: var(--box-shadow-subtle);
  backdrop-filter: blur(5px) !important;
  -webkit-backdrop-filter: blur(5px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* Override any child backgrounds when scrolled */
.site-header.scrolled .nav-container,
.site-header.scrolled .header-left,
.site-header.scrolled .header-right,
.site-header.scrolled .primary-nav,
.site-header.scrolled .nav-links,
.site-header.scrolled .nav-links li {
  background: transparent !important;
  background-color: transparent !important;
}

.nav-container {
  max-width: 1400px;
  height: 100%;
  margin: 0 auto;
  padding: 0 var(--spacing-xl, 3rem); /* Increased padding for consistent edge spacing */
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent !important; /* Ensure container is transparent */
  background-color: transparent !important;
}

.header-left {
  display: flex;
  align-items: center;
  gap: var(--spacing-xl, 3rem); /* Add consistent gap between logo and nav */
  background: transparent !important; /* Ensure no background */
  background-color: transparent !important;
}

.logo-container {
  display: flex;
  align-items: center;
  transition: var(--transition-smooth);
  background: transparent !important; /* Ensure no background */
  background-color: transparent !important;
}

.logo {
  height: auto;
  max-height: 50px;
  width: auto;
  transition: var(--transition-smooth);
}

.site-header.scrolled .logo {
  max-height: 45px;
}

/* Center Navigation */
.primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 0; /* Remove margin since we're using gap */
  background: transparent !important; /* Ensure nav is transparent */
  background-color: transparent !important;
}

/* Add consistent spacing for header actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--spacing-md, 1.5rem);
  background: transparent !important; /* Ensure no background */
  background-color: transparent !important;
}

.nav-links {
  display: flex;
  gap: 2rem; /* Increased spacing between nav items */
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: center; /* Center navigation items */
  background: transparent !important; /* Ensure nav list is transparent */
  background-color: transparent !important;
}

.nav-links li {
  background: transparent !important; /* Ensure list items are transparent */
  background-color: transparent !important;
}

/* Enhanced nav links with better styling for video background */
.nav-link {
  color: #ffffff !important; /* White text for visibility over video */
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: bold; /* Make text bold for better readability */
  letter-spacing: 0.5px;
  padding: 0.6rem 0.8rem;
  border-radius: 4px;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
  background: transparent !important;
  background-color: transparent !important;
  /* Enhanced text shadow for better visibility over video */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8), 0 0 10px rgba(0, 0, 0, 0.5);
}

.nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--header-accent-color);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.nav-link:hover::before,
.nav-link.active::before {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-link:hover,
.nav-link.active {
  color: var(--header-text-hover) !important;
  transform: translateY(-2px);
}

.nav-link i {
  font-size: 1rem;
  transition: all 0.3s ease;
  color: #ffffff !important; /* Ensure icons are white */
  /* Add a subtle glow effect to icons */
  text-shadow: 0 0 10px rgba(254, 184, 0, 0);
}

.nav-link:hover i,
.nav-link.active i {
  transform: translateY(-1px);
  color: var(--header-accent-color) !important;
  /* Enhance glow on hover */
  text-shadow: 0 0 10px rgba(254, 184, 0, 0.4);
}

/* Header Right Section */
.header-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: transparent !important; /* Ensure no background */
}

/* Book Now Button - enhanced for video background */
.header-book-btn {
  background: var(--button-bg);
  color: var(--button-text);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-smooth);
  box-shadow: 0 2px 8px rgba(254, 184, 0, 0.3), 0 0 15px rgba(0, 0, 0, 0.2);
}

.header-book-btn:hover {
  background: var(--button-hover-bg);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(254, 184, 0, 0.4), 0 2px 20px rgba(0, 0, 0, 0.3);
}

.header-book-btn i {
  font-size: 1rem;
  transition: transform 0.3s ease;
}

.header-book-btn:hover i {
  transform: translateY(-1px) scale(1.1);
}

/* Language Switcher - enhanced for video */
.language-switcher {
  position: relative;
  background: transparent !important;
  background-color: transparent !important;
}

.current-lang {
  background: rgba(0, 0, 0, 0.3) !important;
  background-color: rgba(0, 0, 0, 0.3) !important;
  backdrop-filter: blur(5px);
  color: var(--header-text-color);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

/* When header is NOT scrolled, ensure language switcher is even more transparent */
.site-header:not(.scrolled) .current-lang {
  background: rgba(0, 0, 0, 0.2) !important;
  background-color: rgba(0, 0, 0, 0.2) !important;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.current-lang:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  background-color: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.3);
}

.current-lang i:last-child {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.language-dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  background: rgba(30, 30, 30, 0.95) !important;
  background-color: rgba(30, 30, 30, 0.95) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  min-width: 160px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition-smooth);
  z-index: 100;
  padding: 0.5rem 0;
}

.language-switcher:hover .language-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.language-switcher:hover .current-lang i:last-child {
  transform: rotate(180deg);
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 1rem;
  color: var(--header-text-color);
  font-size: 0.9rem;
  transition: var(--transition-smooth);
  cursor: pointer;
  background: transparent !important;
  background-color: transparent !important;
}

.lang-option:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  background-color: rgba(255, 255, 255, 0.1) !important;
  color: var(--header-accent-color);
}

.lang-option img {
  width: 20px;
  height: 15px;
  border-radius: 2px;
  object-fit: cover;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 20px;
  background: transparent !important;
  background-color: transparent !important;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.menu-bar {
  width: 100%;
  height: 2px;
  background-color: var(--header-text-color);
  border-radius: 2px;
  transition: var(--transition-smooth);
}

.mobile-menu-btn.active .menu-bar:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.mobile-menu-btn.active .menu-bar:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active .menu-bar:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Mobile Navigation */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 350px;
  height: 100vh;
  background: rgba(20, 20, 20, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 999;
  transition: right 0.4s ease;
  overflow-y: auto;
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.25);
}

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

.mobile-nav-container {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 5rem 1.5rem 2rem;
}

.mobile-nav-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav-links li {
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  margin-bottom: 0.5rem;
}

.mobile-nav.open .mobile-nav-links li {
  opacity: 1;
  transform: translateX(0);
  transition-delay: calc(0.1s * var(--i));
}

.mobile-nav-links a {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem 1rem;
  color: var(--header-text-color);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
  border-radius: 6px;
  transition: var(--transition-smooth);
  letter-spacing: 0.5px;
}

.mobile-nav-links a:hover,
.mobile-nav-links a.active {
  background: rgba(254, 184, 0, 0.1);
  color: var(--header-accent-color);
  padding-left: 1.5rem;
}

.mobile-nav-links a i {
  font-size: 1.2rem;
  min-width: 24px;
  transition: all 0.3s ease;
}

.mobile-nav-links a:hover i,
.mobile-nav-links a.active i {
  transform: translateY(-2px);
  text-shadow: 0 0 10px rgba(254, 184, 0, 0.4);
}

.mobile-nav-footer {
  margin-top: auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-mobile-book {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 1rem;
  background: var(--button-bg);
  color: var(--button-text);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  transition: var(--transition-smooth);
}

.btn-mobile-book:hover {
  background: var(--button-hover-bg);
  transform: translateY(-2px);
}

.mobile-language-switcher {
  margin-top: 1.5rem;
}

.mobile-lang-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--header-text-color);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
  opacity: 0.7;
}

.mobile-lang-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.mobile-lang-option {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  padding: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  color: var(--header-text-color);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 4px;
  transition: var(--transition-smooth);
  flex: 1 0 calc(25% - 0.5rem);
  min-width: 60px;
}

.mobile-lang-option:hover {
  background: rgba(254, 184, 0, 0.2);
  color: var(--header-accent-color);
}

/* Small mobile devices (320px to 480px) */
@media (max-width: 480px) {
  .nav-container {
    padding: 0 0.8rem;
  }
  
  .site-header {
    height: 65px;
    --header-scrolled-height: 55px;
  }
  
  .site-header.scrolled {
    height: 55px;
  }
  
  .logo {
    max-height: 35px;
  }
  
  .site-header.scrolled .logo {
    max-height: 30px;
  }
  
  .header-book-btn {
    padding: 0.5rem;
    font-size: 0.8rem;
  }
  
  .current-lang {
    padding: 0.4rem;
    font-size: 0.8rem;
  }
}

/* Medium mobile devices (481px to 768px) */
@media (min-width: 481px) and (max-width: 768px) {
  .nav-container {
    padding: 0 1rem;
  }
  
  .site-header {
    height: 70px;
    --header-scrolled-height: 60px;
  }
  
  .site-header.scrolled {
    height: 60px;
  }
  
  .logo {
    max-height: 40px;
  }
  
  .site-header.scrolled .logo {
    max-height: 35px;
  }
  
  .header-book-btn {
    padding: 0.6rem;
    font-size: 0.9rem;
  }
  
  .current-lang {
    padding: 0.5rem;
    font-size: 0.9rem;
  }
}

/* Media Queries */
@media (max-width: 992px) {
  .primary-nav {
    display: none;
  }
  
  .mobile-menu-btn {
    display: flex;
  }
  
  .header-book-btn span {
    display: none;
  }
  
  .header-book-btn {
    padding: 0.7rem;
  }
  
  .header-book-btn i {
    margin: 0;
  }
}

/* Utility - Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Reduce animation for accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.logo-container img {
  max-height: 60px; /* Adjust logo size for better visibility */
  /* Add text shadow to logo for better visibility over video */
  filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.8));
} 