/* ==========================================================================
   Bay Motel Custom Design System & CSS Stylesheet
   ========================================================================== */

/* --- Design System Variables --- */
:root {
  /* Colors - Midnight Sapphire & Electric Cyan */
  --primary-navy: #1d4ed8;
  --primary-navy-rgb: 29, 78, 216;
  --accent-gold: #06b6d4;
  --accent-gold-hover: #0891b2;
  --accent-gold-rgb: 6, 182, 212;
  
  /* Light Theme Variables */
  --bg-main: #f0f9ff;
  --bg-card: #ffffff;
  --bg-card-rgb: 255, 255, 255;
  --bg-alt: #e0f2fe;
  --text-main: #0c4a6e;
  --text-muted: #0369a1;
  --text-light: #f0f9ff;
  --border-color: #bae6fd;
  --glass-bg: rgba(255, 255, 255, 0.88);
  --glass-border: rgba(6, 182, 212, 0.12);
  --glass-shadow: rgba(0, 0, 0, 0.04);
  
  /* Shadows */
  --shadow-sm: 0 2px 6px rgba(6, 182, 212, 0.08);
  --shadow-md: 0 4px 16px rgba(6, 182, 212, 0.12);
  --shadow-lg: 0 10px 32px rgba(6, 182, 212, 0.16);
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s ease;
  
  /* Fonts */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Layout */
  --header-height: 80px;
  --border-radius-sm: 6px;
  --border-radius-md: 12px;
  --border-radius-lg: 24px;
}

/* --- Dark Theme Variables --- */
[data-theme="dark"] {
  --bg-main: #0b132b;
  --bg-card: #1c2541;
  --bg-card-rgb: 28, 37, 65;
  --bg-alt: #171f38;
  --text-main: #e0f2fe;
  --text-muted: #38bdf8;
  --border-color: rgba(255, 255, 255, 0.12);
  --glass-bg: rgba(28, 37, 65, 0.90);
  --glass-border: rgba(255, 255, 255, 0.10);
  --glass-shadow: rgba(0, 0, 0, 0.25);
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.20);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.28);
  --shadow-lg: 0 10px 36px rgba(0, 0, 0, 0.36);
}

/* --- Reset & Base Styles --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  transition: background-color 0.5s ease, color 0.5s ease;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-main);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- Utility Classes --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.max-width-md {
  max-width: 768px;
}

.text-white { color: #ffffff !important; }
.text-light { color: var(--text-muted) !important; }
.accent-text { color: var(--accent-gold); }
.highlight { color: var(--accent-gold); }
.margin-top-md { margin-top: 24px; }
.hidden { display: none !important; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 28px;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 2px solid transparent;
  outline: none;
}

.btn-primary {
  background-color: var(--accent-gold);
  color: #0f2c59;
  box-shadow: 0 4px 14px rgba(var(--accent-gold-rgb), 0.3);
}

.btn-primary:hover {
  background-color: var(--accent-gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(var(--accent-gold-rgb), 0.4);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background-color: var(--primary-navy);
  color: #ffffff;
}

.btn-secondary:hover {
  background-color: #173d75;
  transform: translateY(-1px);
}

.btn-outline {
  background-color: transparent;
  border-color: #ffffff;
  color: #ffffff;
}

.btn-outline:hover {
  background-color: #ffffff;
  color: var(--primary-navy);
}

[data-theme="dark"] .btn-outline {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

[data-theme="dark"] .btn-outline:hover {
  background-color: var(--accent-gold);
  color: var(--primary-navy);
}

.btn-full {
  width: 100%;
}

/* --- Top Banner --- */
.top-banner {
  background-color: var(--primary-navy);
  color: #ffffff;
  text-align: center;
  padding: 8px 0;
  font-size: 0.95rem;
  font-weight: 600;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1001;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-banner a {
  color: var(--accent-gold);
  text-decoration: none;
  margin-left: 8px;
  font-weight: 700;
}

.top-banner a:hover {
  text-decoration: underline;
}

/* --- Main Header & Nav --- */
.main-header {
  position: fixed;
  top: 38px;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--glass-border);
  z-index: 1000;
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.main-header.scrolled {
  box-shadow: var(--shadow-sm);
  background-color: var(--bg-card);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-navy);
}

[data-theme="dark"] .logo {
  color: #ffffff;
}

.logo-icon {
  width: 32px;
  height: 32px;
  color: var(--accent-gold);
}

.nav-menu ul {
  display: flex;
  gap: 32px;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-main);
  opacity: 0.85;
  position: relative;
  padding: 6px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--accent-gold);
  transition: var(--transition-smooth);
}

.nav-link:hover {
  opacity: 1;
  color: var(--accent-gold);
}

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

.header-controls {
  display: flex;
  align-items: center;
  gap: 16px;
}

.control-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-color);
}

.control-btn:hover {
  background-color: var(--bg-alt);
  color: var(--accent-gold);
  border-color: var(--accent-gold);
}

.sun-icon { display: block; width: 20px; height: 20px; }
.moon-icon { display: none; width: 20px; height: 20px; }

[data-theme="dark"] .sun-icon { display: none; }
[data-theme="dark"] .moon-icon { display: block; }

.menu-toggle-btn {
  display: none;
}

/* Hamburger lines animate */
.hamburger-line {
  transition: var(--transition-smooth);
  transform-origin: center;
}

.menu-toggle-btn.active .top {
  transform: translateY(6px) rotate(45deg);
}
.menu-toggle-btn.active .mid {
  opacity: 0;
}
.menu-toggle-btn.active .bot {
  transform: translateY(-6px) rotate(-45deg);
}

/* --- Mobile Drawer Menu --- */
.mobile-drawer {
  position: fixed;
  top: calc(var(--header-height) + 38px);
  left: 0;
  width: 100%;
  height: 0;
  background-color: var(--bg-card);
  z-index: 999;
  overflow: hidden;
  transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-bottom: 0px solid var(--border-color);
  box-shadow: none;
}

.mobile-drawer.open {
  height: 440px;
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
}

.mobile-nav-menu {
  padding: 24px;
}

.mobile-nav-menu ul {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-nav-link {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text-main);
  display: block;
}

.mobile-nav-link:hover {
  color: var(--accent-gold);
  padding-left: 8px;
}

/* --- Hero Section --- */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  color: #ffffff;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 1;
  transform: scale(1.03);
  animation: slowZoom 20s infinite alternate ease-in-out;
}

@keyframes slowZoom {
  from { transform: scale(1.01); }
  to { transform: scale(1.08); }
}

.hero-container {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  background-color: rgba(var(--accent-gold-rgb), 0.2);
  border: 1px solid rgba(var(--accent-gold-rgb), 0.5);
  color: var(--accent-gold);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.15;
  letter-spacing: -1px;
  color: #ffffff;
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 40px;
  opacity: 0.9;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: #ffffff;
  opacity: 0.7;
  cursor: pointer;
  animation: bounce 2s infinite;
}

.hero-scroll-indicator svg {
  width: 28px;
  height: 28px;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
  40% { transform: translateY(-10px) translateX(-50%); }
  60% { transform: translateY(-5px) translateX(-50%); }
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s forwards cubic-bezier(0.4, 0, 0.2, 1);
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Stats Bar --- */
.stats-bar {
  background-color: var(--primary-navy);
  color: #ffffff;
  padding: 24px 0;
  position: relative;
  z-index: 3;
  box-shadow: var(--shadow-sm);
}

[data-theme="dark"] .stats-bar {
  background-color: var(--bg-card);
  border-bottom: 1px solid var(--border-color);
}

.stats-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  flex-wrap: wrap;
  gap: 20px;
}

.stat-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--accent-gold);
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.85;
}

.stats-bar .divider {
  width: 1px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.15);
}

/* --- Section Formatting --- */
.rooms-section, .amenities-section, .booking-section, .location-section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.section-divider {
  width: 60px;
  height: 4px;
  background-color: var(--accent-gold);
  margin: 0 auto 20px;
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* --- Rooms Section --- */
.rooms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 30px;
}

.room-card {
  background-color: var(--bg-card);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.room-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(var(--accent-gold-rgb), 0.3);
}

.room-img-container {
  position: relative;
  overflow: hidden;
  height: 240px;
}

.room-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.room-card:hover .room-img {
  transform: scale(1.06);
}

.room-price-tag {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background-color: rgba(30, 138, 176, 0.95);
  backdrop-filter: blur(4px);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.85rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .room-price-tag {
  background-color: rgba(26, 48, 64, 0.95);
  border-color: rgba(255, 255, 255, 0.10);
}

.room-price-tag .price {
  color: var(--accent-gold);
  font-weight: 700;
  font-size: 1.15rem;
}

.room-content {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.room-title {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.room-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  flex: 1;
}

.room-amenities-short {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
  flex-wrap: wrap;
}

.room-amenities-short li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.room-amenities-short svg {
  width: 16px;
  height: 16px;
  color: var(--accent-gold);
}

/* --- Amenities Section --- */
.amenities-section {
  background-color: var(--primary-navy);
  color: #ffffff;
}

[data-theme="dark"] .amenities-section {
  background-color: var(--bg-alt);
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.amenity-card {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: var(--border-radius-md);
  transition: var(--transition-smooth);
}

[data-theme="dark"] .amenity-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
}

.amenity-card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(var(--accent-gold-rgb), 0.4);
}

.amenity-icon-container {
  width: 48px;
  height: 48px;
  border-radius: var(--border-radius-sm);
  background-color: rgba(var(--accent-gold-rgb), 0.15);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.amenity-icon-container svg {
  width: 24px;
  height: 24px;
}

.amenity-title {
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: #ffffff;
}

[data-theme="dark"] .amenity-title {
  color: var(--text-main);
}

.amenity-desc {
  font-size: 0.9rem;
  opacity: 0.8;
  line-height: 1.6;
}

/* --- Booking Form Section --- */
.booking-section {
  position: relative;
  overflow: hidden;
}

.booking-decor-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 600px;
  height: 600px;
  background-color: rgba(var(--accent-gold-rgb), 0.04);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  filter: blur(100px);
  z-index: -1;
}

.booking-card {
  background-color: var(--bg-card);
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  padding: 40px;
  position: relative;
}

.booking-header {
  text-align: center;
  margin-bottom: 32px;
}

.booking-title {
  font-size: 2rem;
  margin-bottom: 8px;
}

.booking-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Booking.com verified badge */
.booking-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #003580 0%, #0057b8 100%);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 20px;
}

/* Highlights grid */
.booking-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.booking-highlight-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: var(--bg-alt);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 14px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-main);
  transition: var(--transition-smooth);
}

.booking-highlight-item svg {
  color: var(--primary-navy);
  flex-shrink: 0;
}

.booking-highlight-item:hover {
  border-color: rgba(var(--primary-navy-rgb), 0.4);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* Large CTA link button */
.booking-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 1.1rem;
  padding: 18px 32px;
  border-radius: var(--border-radius-md);
  letter-spacing: 0.3px;
  text-decoration: none;
  margin-bottom: 16px;
}

/* Fine print below CTA */
.booking-fine-print {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  opacity: 0.8;
}



.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-main);
}

.form-input, .form-select, .form-textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 12px 16px;
  border-radius: var(--border-radius-sm);
  background-color: var(--bg-alt);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  outline: none;
  transition: var(--transition-fast);
}

.form-input::placeholder, .form-textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.6;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--accent-gold);
  background-color: var(--bg-card);
  box-shadow: 0 0 0 3px rgba(var(--accent-gold-rgb), 0.15);
}

.form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236c757d'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
  padding-right: 40px;
}

/* Spinner logic inside button */
.spinner {
  width: 20px;
  height: 20px;
  border: 3px solid rgba(30, 138, 176, 0.3);
  border-radius: 50%;
  border-top-color: #1e8ab0;
  animation: spin 1s ease-in-out infinite;
  display: inline-block;
  margin-left: 10px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* --- Success State Animation --- */
.booking-success-message {
  text-align: center;
  padding: 40px 20px;
  animation: scaleUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes scaleUp {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

.success-icon-wrapper {
  margin-bottom: 24px;
  display: flex;
  justify-content: center;
}

.checkmark {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: block;
  stroke-width: 2;
  stroke: #ffffff;
  stroke-miterlimit: 10;
  box-shadow: inset 0px 0px 0px #7ac142;
  animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s   both;
}

.checkmark__circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-width: 2;
  stroke: #7ac142;
  fill: none;
  animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark__check {
  transform-origin: 50% 50%;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke {
  100% { stroke-dashoffset: 0; }
}

@keyframes fill {
  100% { box-shadow: inset 0px 0px 0px 30px #7ac142; }
}

.booking-success-message h3 {
  font-size: 1.75rem;
  margin-bottom: 12px;
}

.booking-success-message p {
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto 20px;
}

/* --- Location & Contact Section --- */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
}

.contact-details-card {
  background-color: var(--bg-card);
  padding: 40px;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.contact-card-title {
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.contact-card-intro {
  color: var(--text-muted);
  margin-bottom: 30px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-list li {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.info-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--bg-alt);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--border-color);
}

.info-icon svg {
  width: 20px;
  height: 20px;
}

.info-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.info-label {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}

.info-link {
  font-weight: 500;
  color: var(--text-main);
}

.info-link:hover {
  color: var(--accent-gold);
}

/* --- Stylized Modern Interactive CSS Map --- */
.stylized-map-container {
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border-color);
  background-color: var(--bg-card);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.map-inner {
  flex: 1;
  background-color: #d6ecf8;
  position: relative;
  min-height: 350px;
  overflow: hidden;
}

[data-theme="dark"] .map-inner {
  background-color: #1e3848;
}

.map-grid-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle, rgba(0,0,0,0.03) 1px, transparent 1px),
    radial-gradient(circle, rgba(0,0,0,0.03) 1px, transparent 1px);
  background-size: 20px 20px;
  background-position: 0 0, 10px 10px;
  z-index: 1;
}

[data-theme="dark"] .map-grid-bg {
  background-image: 
    radial-gradient(circle, rgba(255,255,255,0.03) 1px, transparent 1px),
    radial-gradient(circle, rgba(255,255,255,0.03) 1px, transparent 1px);
}

/* Roads represent */
.map-road {
  position: absolute;
  background-color: #ffffff;
  z-index: 2;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

[data-theme="dark"] .map-road {
  background-color: #2e5a72;
}

.road-euclid {
  top: 0;
  bottom: 0;
  left: 30%;
  width: 44px;
}

.road-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  transform: rotate(-90deg);
  white-space: nowrap;
}

/* Map Pins */
.map-landmark {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
}

.motel-pin {
  top: 45%;
  left: 28%;
}

.pin-marker {
  width: 32px;
  height: 32px;
  background-color: var(--primary-navy);
  color: var(--accent-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
  box-shadow: var(--shadow-sm);
}

[data-theme="dark"] .pin-marker {
  background-color: var(--accent-gold);
  color: #0f2c59;
  border-color: #1c2541;
}

.pin-marker svg {
  width: 18px;
  height: 18px;
}

.landmark-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  background-color: var(--bg-card);
  padding: 4px 8px;
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.pin-small {
  width: 10px;
  height: 10px;
  background-color: var(--text-muted);
  border-radius: 50%;
  border: 1px solid #ffffff;
}

.landmark-name-small {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  background-color: rgba(var(--bg-card-rgb), 0.9);
  padding: 2px 6px;
  border-radius: 4px;
}

.arena-pin {
  top: 20%;
  left: 55%;
}

.river-pin {
  top: 75%;
  left: 10%;
}

.bay-pin {
  top: 10%;
  left: 5%;
}

/* Map Compass decoration */
.map-compass {
  position: absolute;
  bottom: 12px;
  right: 12px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.compass-arrow {
  position: relative;
}

.compass-arrow::after {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 3px solid transparent;
  border-right: 3px solid transparent;
  border-bottom: 4px solid var(--accent-gold);
}

.map-footer-note {
  padding: 12px 16px;
  background-color: var(--bg-alt);
  font-size: 0.75rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-color);
  text-align: center;
}

/* Pulse animation */
.animate-pulse {
  animation: pulse-ring 2.5s cubic-bezier(0.215, 0.610, 0.355, 1) infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(var(--accent-gold-rgb), 0.5); }
  70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(var(--accent-gold-rgb), 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(var(--accent-gold-rgb), 0); }
}

/* --- Footer --- */
.site-footer {
  background-color: #0e2030;
  color: #90b8c8;
  padding: 80px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .site-footer {
  background-color: #0e1f2e;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand .logo {
  color: #ffffff;
  margin-bottom: 20px;
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-title {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.footer-links ul, .footer-policies ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--accent-gold);
  padding-left: 4px;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.05);
  font-size: 0.8rem;
}

/* --- Scrollbar Customization --- */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-main);
}

::-webkit-scrollbar-thumb {
  background: rgba(var(--accent-gold-rgb), 0.3);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(var(--accent-gold-rgb), 0.6);
}

/* ==========================================================================
   PREMIUM ANIMATION SYSTEM
   ========================================================================== */

/* --- Hero Badge Shimmer --- */
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

.hero-badge {
  background: linear-gradient(
    120deg,
    rgba(var(--accent-gold-rgb), 0.15) 0%,
    rgba(var(--accent-gold-rgb), 0.40) 40%,
    rgba(var(--accent-gold-rgb), 0.15) 80%
  );
  background-size: 200% auto;
  animation: shimmer 3s linear infinite;
  border: 1px solid rgba(var(--accent-gold-rgb), 0.5);
  color: var(--accent-gold);
}

/* --- Parallax Hero Background (set via JS) --- */
.hero-bg {
  will-change: transform;
}

/* --- Stat Counter Reveal --- */
.stats-bar {
  overflow: hidden;
}

.stat-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.stat-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.stat-item:nth-child(1) { transition-delay: 0s; }
.stat-item:nth-child(3) { transition-delay: 0.15s; }
.stat-item:nth-child(5) { transition-delay: 0.30s; }
.stat-item:nth-child(7) { transition-delay: 0.45s; }

/* --- Section Title Underline Draw --- */
.section-title {
  position: relative;
  display: inline-block;
}

.section-header {
  overflow: hidden;
}

.section-title.title-reveal {
  animation: titleSlideDown 0.7s cubic-bezier(0.4, 0, 0.2, 1) both;
}

@keyframes titleSlideDown {
  from { opacity: 0; transform: translateY(-24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.section-divider {
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1) 0.3s;
}

.section-divider.divider-draw {
  transform: scaleX(1);
}

/* --- Staggered Card Entrance --- */
.room-card,
.amenity-card {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.55s ease, transform 0.55s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.room-card.card-visible,
.amenity-card.card-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays per child */
.rooms-grid .room-card:nth-child(1)  { transition-delay: 0s;    }
.rooms-grid .room-card:nth-child(2)  { transition-delay: 0.15s; }
.rooms-grid .room-card:nth-child(3)  { transition-delay: 0.30s; }
.amenities-grid .amenity-card:nth-child(1) { transition-delay: 0s;    }
.amenities-grid .amenity-card:nth-child(2) { transition-delay: 0.10s; }
.amenities-grid .amenity-card:nth-child(3) { transition-delay: 0.20s; }
.amenities-grid .amenity-card:nth-child(4) { transition-delay: 0.30s; }
.amenities-grid .amenity-card:nth-child(5) { transition-delay: 0.40s; }

/* --- Room Card Floating Glow on Hover --- */
@keyframes floatGlow {
  0%   { box-shadow: 0 8px 24px rgba(var(--accent-gold-rgb), 0.10); }
  50%  { box-shadow: 0 16px 40px rgba(var(--accent-gold-rgb), 0.22); }
  100% { box-shadow: 0 8px 24px rgba(var(--accent-gold-rgb), 0.10); }
}

.room-card:hover {
  animation: floatGlow 2.5s ease-in-out infinite;
  border-color: rgba(var(--accent-gold-rgb), 0.35);
}

/* --- Button Ripple Effect --- */
.btn {
  position: relative;
  overflow: hidden;
}

.btn .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transform: scale(0);
  animation: rippleExpand 0.6s linear;
  pointer-events: none;
}

@keyframes rippleExpand {
  to { transform: scale(4); opacity: 0; }
}

/* --- Slide-in for Location section --- */
.contact-details-card {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.stylized-map-container {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.7s ease 0.15s, transform 0.7s ease 0.15s;
}

.contact-details-card.slide-visible,
.stylized-map-container.slide-visible {
  opacity: 1;
  transform: translateX(0);
}

/* --- Booking Card Entrance --- */
.booking-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.65s ease, transform 0.65s ease, box-shadow 0.3s ease;
}

.booking-card.card-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Subtle gradient border shimmer on booking card focus */
.booking-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg,
    rgba(var(--accent-gold-rgb), 0) 0%,
    rgba(var(--accent-gold-rgb), 0.25) 50%,
    rgba(var(--accent-gold-rgb), 0) 100%
  );
  background-size: 200% 200%;
  animation: borderShimmer 4s ease infinite;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.booking-card:focus-within::before {
  opacity: 1;
}

@keyframes borderShimmer {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* --- Amenity icon pulse on hover --- */
.amenity-card:hover .amenity-icon-container {
  animation: iconPop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

@keyframes iconPop {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.25) rotate(-6deg); }
  100% { transform: scale(1.1) rotate(0deg); }
}

/* --- Nav link active indicator animation --- */
.nav-link.active-section {
  color: var(--accent-gold) !important;
  opacity: 1 !important;
}

.nav-link.active-section::after {
  width: 100% !important;
}

/* --- Page load entrance for header --- */
@keyframes headerSlideDown {
  from { transform: translateY(-100%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

.main-header {
  animation: headerSlideDown 0.7s cubic-bezier(0.4, 0, 0.2, 1) both;
}

/* --- Footer fade up --- */
.site-footer {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.site-footer.footer-visible {
  opacity: 1;
  transform: translateY(0);
}


@media (max-width: 992px) {
  html {
    font-size: 15px;
  }
  .hero-title {
    font-size: 2.75rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .footer-brand {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  /* Menu Burger Visibility */
  .menu-toggle-btn {
    display: flex;
  }
  
  .nav-menu {
    display: none;
  }
  
  /* Location Grid changes layout */
  .location-grid {
    grid-template-columns: 1fr;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .form-group.full-width {
    grid-column: span 1;
  }
  
  .hero-actions {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
    max-width: 280px;
    margin: 0 auto;
  }
  
  .stats-bar .divider {
    display: none;
  }
  
  .stats-container {
    flex-direction: column;
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.25rem;
  }
  
  .booking-card {
    padding: 24px 16px;
  }
  
  .contact-details-card {
    padding: 24px 16px;
  }
  
  .section-title {
    font-size: 1.85rem;
  }
}

/* --- Dropdown Styles --- */
.dropdown {
  position: relative;
  display: inline-block;
}
.dropdown-content {
  display: none;
  position: absolute;
  background-color: var(--bg-card);
  min-width: 180px;
  box-shadow: var(--shadow-md);
  z-index: 1;
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--border-color);
  padding: 8px 0;
  top: 100%;
  left: 0;
}
.dropdown-content a {
  color: var(--text-main);
  padding: 10px 16px;
  text-decoration: none;
  display: block;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  transition: background-color 0.2s;
}
.dropdown-content a:hover {
  background-color: rgba(var(--accent-gold-rgb), 0.1);
  color: var(--accent-gold);
}
.dropdown:hover .dropdown-content {
  display: block;
}
.nav-menu ul .dropdown-content {
  flex-direction: column;
  gap: 0;
}
.mobile-nav-group {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--accent-gold);
  margin-top: 10px;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.mobile-nav-link.sub-link {
  padding-left: 16px;
  font-size: 1rem;
}
