/* ========================================
   HEADER / NAVIGATION
   ======================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  width: 100%;
  border-bottom: 1px solid var(--border-light);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.3s ease;
}

/* Keep header visible - remove any hiding behavior */
.site-header.header-hidden {
  transform: translateY(0) !important;
}

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

@media (min-width: 640px) {
  .header-container {
    padding: 0 24px;
    gap: 32px;
  }
}

@media (min-width: 1024px) {
  .header-container {
    padding: 0 40px;
  }
}

/* Logo Section */
.header-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.logo-icon {
  width: 32px;
  height: auto;
  color: var(--primary);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Tablet - slightly smaller logo */
@media (min-width: 768px) and (max-width: 1023px) {
  .logo-icon {
    width: 28px;
  }
  
  .site-title {
    font-size: 1.125rem;
  }
}

.logo-icon svg {
  width: 100%;
  height: auto;
  display: block;
}

.logo-icon img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.logo-icon .custom-logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: auto;
}

.logo-icon .custom-logo {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.site-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-dark);
}

.site-title a {
  color: inherit;
  text-decoration: none;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.btn-book {
  display: none;
}

@media (min-width: 640px) {
  .btn-book {
    display: inline-flex;
    min-width: 100px;
    height: 36px;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 50%, var(--primary-dark) 100%);
    color: #fff;
    font-weight: 700;
    font-size: 0.8125rem;
    letter-spacing: 0.02em;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.2);
    transition: all 0.2s ease;
  }

  .btn-book:hover {
    filter: brightness(1.1);
    box-shadow: 0 6px 16px rgba(249, 115, 22, 0.3);
    color: white;
  }

  .btn-book:active {
    transform: scale(0.98);
  }
}

/* Desktop - larger button */
@media (min-width: 1024px) {
  .btn-book {
    min-width: 120px;
    height: 40px;
    padding: 0 20px;
    font-size: 0.875rem;
  }
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  background: transparent;
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 1002;
}

@media (min-width: 992px) {
  .mobile-menu-toggle {
    display: none;
  }
}

.menu-icon {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  position: relative;
  transition: background 0.2s ease;
}

.menu-icon::before,
.menu-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: transform 0.2s ease;
}

.menu-icon::before {
  top: -6px;
}

.menu-icon::after {
  top: 6px;
}

/* Mobile menu open state - Transform to X */
.mobile-menu-open .menu-icon {
  background: transparent;
}

.mobile-menu-open .menu-icon::before {
  transform: rotate(45deg);
  top: 0;
}

.mobile-menu-open .menu-icon::after {
  transform: rotate(-45deg);
  top: 0;
}

/* Mobile menu backdrop overlay */
.mobile-menu-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, width 0s 0.3s;
  z-index: 999;
}

.mobile-menu-open .mobile-menu-backdrop {
  width: 15%;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease, visibility 0.3s ease, width 0s;
}
