/* ==========================================================================
   HOTEL SOL & LUNA - DESIGN SYSTEM & STYLES
   ========================================================================== */

/* Custom Typography Imports (Loaded asynchronously in HTML) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,500;0,600;1,400&display=swap');

:root {
  /* Elegant Color Palette */
  --bg-color: #faf8f5;           /* Sand Off-white */
  --text-dark: #1c1d1f;          /* Deep Charcoal */
  --text-muted: #6e6f73;        /* Warm Gray */
  --primary-color: #1a2f2b;      /* Deep Palm Green */
  --primary-light: #2d4c46;
  --accent-color: #c5a880;       /* Champagne Gold */
  --accent-light: #dfcaa7;
  --white: #ffffff;
  --border-color: #e5dfd8;
  --shadow-sm: 0 2px 8px rgba(28, 29, 31, 0.04);
  --shadow-md: 0 8px 30px rgba(28, 29, 31, 0.08);
  --shadow-lg: 0 16px 40px rgba(28, 29, 31, 0.12);
  
  /* Fonts */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  /* Transitions */
  --transition-smooth: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-fast: all 0.2s ease;
  
  /* Layout */
  --container-max: 1200px;
  --header-height: 80px;
  --header-height-mobile: 70px;
}

/* 1. Reset & Global Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--bg-color);
  color: var(--text-dark);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  border: none;
  background: none;
  outline: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section-padding {
  padding-top: 80px;
  padding-bottom: 80px;
}

/* Typographical Hierarchy */
h1, h2, h3, h4, .serif-font {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.25;
}

h1 {
  font-size: 2.75rem;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 2.25rem;
  margin-bottom: 16px;
  position: relative;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

p {
  color: var(--text-muted);
  font-weight: 300;
  margin-bottom: 24px;
}

/* Dynamic Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition-smooth);
  border-radius: 2px;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
  border: 1px solid var(--primary-color);
}

.btn-primary:hover {
  background-color: var(--primary-light);
  border-color: var(--primary-light);
  transform: translateY(-2px);
}

.btn-accent {
  background-color: var(--accent-color);
  color: var(--text-dark);
  border: 1px solid var(--accent-color);
}

.btn-accent:hover {
  background-color: var(--accent-light);
  border-color: var(--accent-light);
  transform: translateY(-2px);
}

.btn-outline {
  border: 1px solid var(--text-dark);
  color: var(--text-dark);
}

.btn-outline:hover {
  background-color: var(--text-dark);
  color: var(--white);
  transform: translateY(-2px);
}

/* 2. Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height-mobile);
  background-color: rgba(250, 248, 245, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition-smooth);
}

header.scrolled {
  height: 65px;
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary-color);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-sub {
  font-size: 0.65rem;
  font-family: var(--font-sans);
  letter-spacing: 0.25em;
  color: var(--accent-color);
  display: block;
  margin-top: -4px;
}

/* Desktop Nav Menu */
.nav-menu {
  display: none; /* Mobile first */
}

/* Menu Toggle Button (Hamburger) */
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 16px;
  background: transparent;
  cursor: pointer;
  z-index: 1010;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition-smooth);
}

/* Transform hamburger to X */
.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Creative Mobile Navigation Menu Overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(26, 47, 43, 0.98); /* Deep Palm Green */
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  z-index: 1005;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.6s cubic-bezier(0.85, 0, 0.15, 1), opacity 0.5s ease;
  pointer-events: none;
}

.mobile-menu-overlay.active {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-links {
  list-style: none;
  text-align: center;
  margin-bottom: 40px;
}

.mobile-nav-links li {
  margin: 24px 0;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.mobile-menu-overlay.active .mobile-nav-links li {
  opacity: 1;
  transform: translateY(0);
}

/* Dynamic staggering delay for mobile nav list items */
.mobile-menu-overlay.active .mobile-nav-links li:nth-child(1) { transition-delay: 0.2s; }
.mobile-menu-overlay.active .mobile-nav-links li:nth-child(2) { transition-delay: 0.3s; }
.mobile-menu-overlay.active .mobile-nav-links li:nth-child(3) { transition-delay: 0.4s; }
.mobile-menu-overlay.active .mobile-nav-links li:nth-child(4) { transition-delay: 0.5s; }
.mobile-menu-overlay.active .mobile-nav-links li:nth-child(5) { transition-delay: 0.6s; }

.mobile-nav-links a {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--white);
  letter-spacing: 0.05em;
  display: inline-block;
  position: relative;
}

.mobile-nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 0;
  height: 1px;
  background-color: var(--accent-color);
  transition: var(--transition-smooth);
  transform: translateX(-50%);
}

.mobile-nav-links a:hover {
  color: var(--accent-color);
}

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

.mobile-menu-footer {
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease 0.7s, transform 0.4s ease 0.7s;
}

.mobile-menu-overlay.active .mobile-menu-footer {
  opacity: 1;
  transform: translateY(0);
}

/* 3. Hero Section & Booking Bar */
.hero {
  position: relative;
  height: 90vh;
  min-height: 580px;
  background-color: var(--primary-color);
  color: var(--white);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--header-height-mobile);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.55;
  filter: brightness(0.8);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(26,47,43,0.3) 0%, rgba(26,47,43,0.85) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 650px;
  padding-bottom: 40px;
}

.hero-tagline {
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent-color);
  margin-bottom: 12px;
  font-weight: 500;
}

.hero h1 {
  font-size: 2.25rem;
  margin-bottom: 18px;
}

.hero p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  margin-bottom: 30px;
}

/* Hero Floating Booking Bar */
.booking-bar-wrapper {
  position: relative;
  z-index: 10;
  margin-top: -60px;
  padding-bottom: 20px;
}

.booking-bar {
  background-color: var(--white);
  border-radius: 4px;
  box-shadow: var(--shadow-lg);
  padding: 24px;
}

.booking-bar-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.booking-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 10px;
}

.booking-field label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-weight: 500;
}

.booking-field input, .booking-field select {
  font-size: 0.95rem;
  color: var(--text-dark);
  font-weight: 400;
  width: 100%;
  cursor: pointer;
  background-color: transparent;
}

.booking-bar .btn {
  width: 100%;
  border-radius: 2px;
  padding: 16px;
}

/* 4. Brand Introduction Section */
.intro-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.intro-text-column {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.intro-image-column {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4/3;
}

.intro-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 5. Room Gallery Section (Filtered) */
.gallery-section {
  background-color: #f5f1eb;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px;
}

.filter-tabs {
  display: flex;
  justify-content: flex-start;
  gap: 8px;
  margin-bottom: 32px;
  overflow-x: auto;
  padding-bottom: 10px;
  scrollbar-width: none; /* Hide standard Firefox scrollbar */
}

.filter-tabs::-webkit-scrollbar {
  display: none; /* Hide Chrome scrollbar */
}

.filter-btn {
  white-space: nowrap;
  padding: 10px 20px;
  border: 1px solid var(--border-color);
  background-color: var(--white);
  color: var(--text-dark);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-smooth);
  border-radius: 30px;
}

.filter-btn.active, .filter-btn:hover {
  background-color: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
}

/* Room Cards Grid */
.room-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.room-card {
  background-color: var(--white);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  opacity: 1;
  transform: scale(1);
}

.room-card.hidden {
  display: none;
}

.room-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.room-card-img-wrapper {
  position: relative;
  aspect-ratio: 3/2;
  overflow: hidden;
  background-color: #eee;
}

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

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

.room-card-content {
  padding: 24px;
}

.room-card-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
}

.room-card-price {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--primary-color);
}

.room-card-price span {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.room-card-features {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 16px;
}

.room-card-features li {
  display: flex;
  align-items: center;
  gap: 4px;
}

.room-card-features li::before {
  content: '•';
  color: var(--accent-color);
}

.room-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.room-card-footer .btn {
  padding: 10px 18px;
  font-size: 0.75rem;
}

/* 6. Amenities Section */
.amenities-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-top: 40px;
}

.amenity-item {
  background-color: var(--white);
  padding: 30px;
  border-radius: 4px;
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--accent-color);
  transition: var(--transition-smooth);
}

.amenity-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.amenity-icon {
  width: 48px;
  height: 48px;
  background-color: #faf8f5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  margin-bottom: 20px;
  font-size: 1.25rem;
}

/* 7. Detailed Booking Section */
.booking-section {
  background-color: var(--primary-color);
  color: var(--white);
  position: relative;
}

.booking-section h2 {
  color: var(--white);
  text-align: center;
  margin-bottom: 8px;
}

.booking-section p {
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
}

.detailed-booking-box {
  background-color: var(--white);
  color: var(--text-dark);
  border-radius: 4px;
  padding: 24px;
  box-shadow: var(--shadow-lg);
  max-width: 800px;
  margin: 0 auto;
}

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

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

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-weight: 600;
}

.form-input {
  width: 100%;
  border: 1px solid var(--border-color);
  border-radius: 2px;
  padding: 12px 16px;
  font-size: 0.95rem;
  background-color: var(--bg-color);
  transition: var(--transition-fast);
}

.form-input:focus {
  border-color: var(--accent-color);
  background-color: var(--white);
  box-shadow: 0 0 0 2px rgba(197, 168, 128, 0.15);
}

/* Customized Select Box Dropdown Arrow */
select.form-input {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%236e6f73' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'></polyline></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
  padding-right: 40px; /* Make space for custom arrow */
  cursor: pointer;
}

/* Customized Date Picker Calendar Icon */
input[type="text"].form-input.flatpickr-input,
input.form-input[type="date"] {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%236e6f73' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='4' width='18' height='18' rx='2' ry='2'></rect><line x1='16' y1='2' x2='16' y2='6'></line><line x1='8' y1='2' x2='8' y2='6'></line><line x1='3' y1='10' x2='21' y2='10'></line></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
  padding-right: 40px; /* Make space for custom calendar icon */
  cursor: pointer;
}

/* --- Flatpickr Calendar Styling Customizations --- */
.flatpickr-calendar {
  background-color: var(--white) !important;
  border: 1px solid var(--border-color) !important;
  box-shadow: var(--shadow-lg) !important;
  border-radius: 4px !important;
  font-family: var(--font-sans) !important;
}

/* Selected dates and ranges */
.flatpickr-day.selected, 
.flatpickr-day.startRange, 
.flatpickr-day.endRange,
.flatpickr-day.selected.inRange, 
.flatpickr-day.startRange.inRange, 
.flatpickr-day.endRange.inRange,
.flatpickr-day.selected:focus, 
.flatpickr-day.startRange:focus, 
.flatpickr-day.endRange:focus,
.flatpickr-day.selected:hover, 
.flatpickr-day.startRange:hover, 
.flatpickr-day.endRange:hover,
.flatpickr-day.prevMonthDay.selected, 
.flatpickr-day.nextMonthDay.selected {
  background: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  color: var(--white) !important;
}

/* Range highlighting color (soft sandy-brown range background) */
.flatpickr-day.inRange {
  background: #f1ede6 !important;
  border-color: transparent !important;
  box-shadow: -5px 0 0 #f1ede6, 5px 0 0 #f1ede6 !important;
}

/* Calendar month navigation header */
.flatpickr-months .flatpickr-month {
  background: var(--primary-color) !important;
  color: var(--white) !important;
  fill: var(--white) !important;
}

.flatpickr-months .flatpickr-prev-month, 
.flatpickr-months .flatpickr-next-month {
  color: var(--white) !important;
  fill: var(--white) !important;
}

.flatpickr-months .flatpickr-prev-month:hover, 
.flatpickr-months .flatpickr-next-month:hover {
  background: var(--primary-light) !important;
}

.flatpickr-current-month span.cur-month {
  font-weight: 500 !important;
}

.flatpickr-calendar.arrowTop:after {
  border-bottom-color: var(--white) !important;
}

.flatpickr-calendar.arrowTop:before {
  border-bottom-color: var(--border-color) !important;
}

/* Today indicator design */
.flatpickr-day.today {
  border-color: var(--accent-color) !important;
}

.flatpickr-day.today:hover {
  background: var(--accent-color) !important;
  color: var(--text-dark) !important;
}

.flatpickr-day:hover, 
.flatpickr-day.prevMonthDay:hover, 
.flatpickr-day.nextMonthDay:hover {
  background: #faf8f5 !important;
  border-color: transparent !important;
}

/* Calculator Summary Box */
.price-summary-box {
  background-color: #fbf9f6;
  border: 1px dashed var(--accent-color);
  border-radius: 4px;
  padding: 20px;
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.summary-row.total {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--primary-color);
  font-weight: 500;
  border-top: 1px solid var(--border-color);
  padding-top: 12px;
  margin-top: 4px;
}

.booking-form-submit {
  width: 100%;
  padding: 16px;
  font-size: 0.95rem;
}

/* 8. Contact & Map Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-details {
  list-style: none;
  margin-top: 24px;
}

.contact-details li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}

.contact-icon {
  color: var(--accent-color);
  font-size: 1.1rem;
  margin-top: 3px;
}

.map-container {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 16/9;
  min-height: 250px;
  position: relative;
  background-color: var(--border-color);
}

/* Stylized placeholder map overlay representing a luxury hotel map context */
.map-placeholder {
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 45% 55%, #eae2d5 0%, #e2d9ca 60%, #c4baa7 100%);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.map-street {
  position: absolute;
  background-color: rgba(255,255,255,0.7);
}

.map-street-h {
  width: 100%;
  height: 20px;
  top: 55%;
}

.map-street-v {
  width: 20px;
  height: 100%;
  left: 45%;
}

.map-marker {
  width: 24px;
  height: 24px;
  background-color: var(--primary-color);
  border: 3px solid var(--white);
  border-radius: 50%;
  position: relative;
  z-index: 10;
  box-shadow: var(--shadow-md);
}

.map-marker::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: var(--primary-color) transparent transparent transparent;
}

.map-marker-pulse {
  position: absolute;
  width: 50px;
  height: 50px;
  border: 1px solid var(--primary-color);
  border-radius: 50%;
  z-index: 5;
  animation: pulse 2s infinite ease-out;
}

@keyframes pulse {
  0% { transform: scale(0.3); opacity: 1; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* 9. Footer & Newsletter */
footer {
  background-color: var(--text-dark);
  color: var(--white);
  padding: 60px 0 30px;
  font-size: 0.85rem;
}

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

.footer-logo {
  color: var(--white);
}

.footer-logo .logo-sub {
  color: var(--accent-color);
}

.footer-p {
  color: rgba(255, 255, 255, 0.6);
  margin-top: 16px;
  margin-bottom: 0;
  font-size: 0.85rem;
}

.footer-column h4 {
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--accent-color);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.65);
}

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

/* Newsletter Signup */
.newsletter-form {
  display: flex;
  gap: 8px;
}

.newsletter-input {
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 2px;
  padding: 10px 14px;
  color: var(--white);
  flex-grow: 1;
  font-size: 0.85rem;
}

.newsletter-input:focus {
  border-color: var(--accent-color);
  background-color: rgba(255, 255, 255, 0.1);
}

.newsletter-form .btn {
  padding: 10px 18px;
  font-size: 0.75rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  color: rgba(255, 255, 255, 0.45);
}

.footer-legal-links {
  display: flex;
  gap: 20px;
}

/* 10. Confirmation Booking Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(26, 47, 43, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  background-color: var(--white);
  border-radius: 4px;
  padding: 40px;
  max-width: 500px;
  width: 90%;
  box-shadow: var(--shadow-lg);
  text-align: center;
  transform: translateY(30px);
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.modal-overlay.active .modal-box {
  transform: translateY(0);
}

.modal-icon {
  width: 64px;
  height: 64px;
  background-color: rgba(197, 168, 128, 0.1);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
  font-size: 2rem;
  margin-bottom: 24px;
}

.modal-box h3 {
  font-size: 1.75rem;
  color: var(--primary-color);
  margin-bottom: 12px;
}

.modal-box p {
  margin-bottom: 24px;
}


/* ==========================================================================
   11. MEDIA QUERIES (TABLET & DESKTOP OVERRIDES)
   ========================================================================== */

/* Tablet & Up (min-width: 768px) */
@media (min-width: 768px) {
  :root {
    --header-height: 90px;
  }
  
  .section-padding {
    padding-top: 100px;
    padding-bottom: 100px;
  }

  h1 {
    font-size: 3.5rem;
  }

  h2 {
    font-size: 2.75rem;
  }

  /* Intro Section */
  .intro-grid {
    flex-direction: row;
    gap: 60px;
  }

  .intro-text-column, .intro-image-column {
    flex: 1;
    width: 50%;
  }

  /* Booking Form */
  .booking-form-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Room Grid */
  .room-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Contact Section */
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Desktop & Up (min-width: 1024px) */
@media (min-width: 1024px) {
  header {
    height: var(--header-height);
  }

  /* Menu Toggle is hidden on Desktop */
  .menu-toggle {
    display: none;
  }

  /* Show Nav Menu */
  .nav-menu {
    display: block;
  }

  .nav-list {
    display: flex;
    list-style: none;
    gap: 36px;
  }

  .nav-list a {
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-dark);
    position: relative;
    padding: 8px 0;
  }

  .nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent-color);
    transition: var(--transition-smooth);
  }

  .nav-list a:hover {
    color: var(--accent-color);
  }

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

  /* Hero Section Larger height & display layout */
  .hero {
    height: 95vh;
  }

  .hero h1 {
    font-size: 4.25rem;
  }

  /* Hero Booking Bar Floating/Grid Layout */
  .booking-bar-wrapper {
    margin-top: -85px;
    padding-bottom: 0;
  }

  .booking-bar {
    padding: 30px 40px;
  }

  .booking-bar-form {
    flex-direction: row;
    align-items: center;
    gap: 24px;
  }

  .booking-field {
    flex: 1;
    border-bottom: none;
    border-right: 1px solid var(--border-color);
    padding-bottom: 0;
    padding-right: 16px;
  }

  .booking-field:last-child {
    border-right: none;
  }

  .booking-bar .btn {
    width: auto;
    padding: 18px 36px;
  }

  /* Amenities Grid */
  .amenities-list {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Detailed Booking */
  .detailed-booking-box {
    padding: 40px;
  }

  .booking-form-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  /* Footer */
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}
