:root {
  --primary-color: rgba(255, 255, 255, 0.8);
  --shadow-dark: rgba(0, 0, 0, 0.7);
  --shadow-light: rgba(255, 255, 255, 0.3);
  --transition-duration: 0.3s;
  --logo-size: clamp(200px, 30vw, 480px);
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  font-family: var(--font-family-base);
  overflow: hidden;
}

body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 100vh;
  background: #000;
}

.hero {
  position: relative;
  z-index: 2;
  width: 100%;
  height: calc(100vh - var(--header-height));
  margin-top: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
}

/* Video Background */
.video-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.video-background video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

/* Logo Container */
.logo-container {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  max-width: var(--logo-size);
  margin: 0 auto;
  pointer-events: auto;
}

.logo, .logo-menu {
  position: relative;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: auto;
  opacity: 0.8;
  filter: invert(1)
          var(--filter-icon-white)
          drop-shadow(.5px .5px 0 var(--primary-color))
          drop-shadow(-.5px -.5px 0 var(--primary-color))
          drop-shadow(5px 5px 10px var(--shadow-dark))
          drop-shadow(-5px -5px 10px var(--shadow-light));
  -webkit-filter: invert(1)
          var(--filter-icon-white)
          drop-shadow(.5px .5px 0 var(--primary-color))
          drop-shadow(-.5px -.5px 0 var(--primary-color))
          drop-shadow(5px 5px 10px var(--shadow-dark))
          drop-shadow(-5px -5px 10px var(--shadow-light));
  transition: opacity var(--transition-slow);
}

.logo-menu {
  display: none;
}

/* Screen reader only text */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* CSS-positioned navigation buttons (replacing image map) */
.logo-nav-button {
  position: absolute;
  display: block;
  cursor: pointer;
  background: transparent;
  border: none;
  z-index: 3;
  min-height: var(--size-touch-target);
  transition: background var(--transition-base);
}

.logo-nav-button:hover {
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
}

/*
.logo-nav-button:focus {
  outline: var(--border-medium) solid var(--primary-color);
  outline-offset: 2px;
  border-radius: var(--radius-md);
}*/

/* Based on original coords scaled to percentage */
/* Explore: coords="40,170,200,310" on ~480px wide = 8.3% to 41.7% left, 35.4% to 64.6% top */
.logo-nav-explore {
  top: 30%;
  left: 55%;
  width: 40%;
  height: 20%;
}

/* Book: coords="220,170,380,310" on ~480px = 45.8% to 79.2% left, 35.4% to 64.6% top */
.logo-nav-book {
  top: 30%;
  left: 28%;
  width: 27%;
  height: 20%;
}

/* Reservations: coords="140,320,340,430" on ~480px = 29.2% to 70.8% left, 66.7% to 89.6% top */
.logo-nav-reservations {
  top: 30%;
  left:6%;
  width: 22%;
  height: 20%;
}

area {
  cursor: pointer;
}

/* Dim Overlay */
.dim-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: transparent;
  transition: background-color var(--transition-slow);
  z-index: 1;
  pointer-events: none;
}

.logo-container:hover ~ .dim-overlay,
.logo-container:focus-within ~ .dim-overlay {
  background-color: var(--color-overlay-light);
}

/* Video Controls */
.video-controls {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 15px;
  z-index: 4;
}

.video-control-btn {
  padding: var(--space-md) 24px;
  background: var(--color-dim);
  color: var(--color-button-label);
  border: var(--border-medium) solid var(--primary-color);
  cursor: pointer;
  font-size: clamp(var(--font-size-sm), 2vw, var(--font-size-base));
  border-radius: var(--radius-sm);
  transition: var(--transition-all);
  font-family: var(--font-family-base);
}

.video-control-btn:hover,
.video-control-btn:focus {
  background: rgba(0, 0, 0, 0.9);
  outline: none;
  box-shadow: 0 0 10px var(--primary-color);
}

.video-control-btn:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

.user-menu-floating {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 1000;
}

.floating-link {
  background: linear-gradient(180deg, rgba(41, 94, 155, 0.95), rgba(41, 94, 155, 0.82));
  color: #fff;
  padding: 10px 20px;
  border-radius: 24px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.24);
  display: inline-block;
  transition: transform var(--transition-duration), box-shadow var(--transition-duration), background var(--transition-duration);
}

.floating-link:hover,
.floating-link:focus {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
  background: linear-gradient(180deg, rgba(41, 94, 155, 1), rgba(41, 94, 155, 0.9));
}

/* Mobile Optimizations */
@media (max-width: 768px) {
  .video-controls {
    flex-direction: column;
    gap: 10px;
    bottom: 10px;
  }

  .video-control-btn {
    font-size: 14px;
    padding: 10px 20px;
  }

  .hamburger-menu {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001; /* Ensures it's above other floating elements */
    display: block; /* Make sure it's visible on mobile */
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
