/*
 * 8 Stories Homestay - Stylesheet
 * Brand colors: Deep Forest Greens, Warm Creams, Earthy Beiges
 */

:root {
  /* Color System */
  --primary-dark: #0f2e21;      /* Deep Pine Green */
  --primary: #1e4634;           /* Forest Green */
  --primary-light: #2d5a44;     /* Muted Green */
  --accent: #d4a373;            /* Warm Earthy Gold/Beige */
  --accent-hover: #c59262;
  --cream: #fbfbf8;             /* Rich Soft White */
  --cream-dark: #f4f1ea;        /* Warm Sand/Cream */
  --earth-beige: #e5dfd3;       /* Deeper Cream */
  --text-dark: #1c2520;         /* Soft Dark Slate/Green */
  --text-muted: #57655e;        /* Muted Gray-Green */
  --white: #ffffff;
  
  /* Layout & Spacing */
  --max-width: 1200px;
  --transition-smooth: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-fast: all 0.15s ease-in-out;
  
  /* Fonts */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  
  /* Shadows */
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.06), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

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

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.25;
  color: var(--primary-dark);
}

p {
  font-weight: 400;
  color: var(--text-muted);
}

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

/* Container */
.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 2.2rem;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

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

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

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

.btn-whatsapp {
  background-color: #25D366;
  color: var(--white);
  border: 1px solid #25D366;
}

.btn-whatsapp:hover {
  background-color: #128C7E;
  border-color: #128C7E;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(37, 211, 102, 0.3);
}

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: transparent;
  transition: var(--transition-smooth);
}

.header.scrolled {
  background-color: rgba(251, 251, 248, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--cream-dark);
}

.header.scrolled .logo-text {
  color: var(--primary-dark);
}

.header.scrolled .nav-link {
  color: var(--text-dark);
}

.header.scrolled .nav-link::after {
  background-color: var(--primary);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  transition: var(--transition-smooth);
}

.header.scrolled .nav-container {
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-text {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--white);
  transition: var(--transition-smooth);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--cream);
  position: relative;
  padding: 0.25rem 0;
}

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

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

.nav-cta {
  font-size: 0.8rem;
  padding: 0.6rem 1.2rem;
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1100;
}

.nav-toggle-icon {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--white);
  position: relative;
  transition: var(--transition-smooth);
}

.header.scrolled .nav-toggle-icon {
  background-color: var(--primary-dark);
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: '';
  position: absolute;
  width: 25px;
  height: 2px;
  background-color: inherit;
  left: 0;
  transition: var(--transition-smooth);
}

.nav-toggle-icon::before {
  top: -8px;
}

.nav-toggle-icon::after {
  top: 8px;
}

/* Hamburger Active State */
.nav-toggle.active .nav-toggle-icon {
  background-color: transparent;
}
.nav-toggle.active .nav-toggle-icon::before {
  transform: rotate(45deg);
  top: 0;
  background-color: var(--primary-dark);
}
.nav-toggle.active .nav-toggle-icon::after {
  transform: rotate(-45deg);
  top: 0;
  background-color: var(--primary-dark);
}

/* Hero Section */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-align: center;
  overflow: hidden;
}

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

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(15, 46, 33, 0.4), rgba(15, 46, 33, 0.75));
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 90%;
  max-width: 800px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--white);
  letter-spacing: -0.01em;
}

.hero-tagline {
  font-size: 1.5rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.hero-description {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--cream-dark);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-btns {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

/* Animations */
@keyframes slowZoom {
  from { transform: scale(1); }
  to { transform: scale(1.1); }
}

/* Section Common Styles */
.section {
  padding: 8rem 0;
}

.bg-cream-dark {
  background-color: var(--cream-dark);
}

.section-tag {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
  display: block;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

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

/* Welcome Section */
.welcome-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 5rem;
  align-items: center;
}

.welcome-text p {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  line-height: 1.8;
}

.welcome-img-wrapper {
  position: relative;
  height: 500px;
  box-shadow: var(--shadow-lg);
}

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

.welcome-img-wrapper::after {
  content: '';
  position: absolute;
  top: 20px;
  left: -20px;
  width: 100%;
  height: 100%;
  border: 1px solid var(--accent);
  z-index: -1;
  transition: var(--transition-smooth);
}

.welcome-img-wrapper:hover::after {
  transform: translate(10px, -10px);
}

/* Why Stay Section */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
}

.amenity-card {
  background: var(--white);
  padding: 2.5rem 2rem;
  border-radius: 4px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  border-bottom: 2px solid transparent;
}

.amenity-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-bottom-color: var(--accent);
}

.amenity-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: var(--cream-dark);
  color: var(--primary);
  transition: var(--transition-smooth);
}

.amenity-card:hover .amenity-icon {
  background-color: var(--primary);
  color: var(--cream);
}

.amenity-title {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  font-family: var(--font-sans);
  font-weight: 600;
}

.amenity-desc {
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Rooms Section */
.rooms-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3.5rem;
  margin-bottom: 3rem;
}

.room-card {
  background: var(--white);
  box-shadow: var(--shadow-md);
  border-radius: 4px;
  overflow: hidden;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

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

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

.room-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

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

.room-tag {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  background: var(--primary);
  color: var(--cream);
  padding: 0.4rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.room-price-badge {
  position: absolute;
  bottom: 0;
  right: 0;
  background: rgba(15, 46, 33, 0.9);
  backdrop-filter: blur(5px);
  color: var(--white);
  padding: 0.8rem 1.5rem;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.1rem;
}

.room-price-badge span {
  font-weight: 400;
  font-size: 0.8rem;
  color: var(--cream-dark);
}

.room-content {
  padding: 2.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.room-title {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.room-meta {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  letter-spacing: 0.05em;
}

.room-desc {
  font-size: 0.95rem;
  margin-bottom: 1.8rem;
  line-height: 1.6;
}

.room-features {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
  margin-top: auto;
  margin-bottom: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--cream-dark);
}

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

.room-features li::before {
  content: '✓';
  color: var(--accent);
  font-weight: bold;
}

.rooms-footer {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.rooms-disclaimer {
  font-size: 0.85rem;
  font-style: italic;
  margin-bottom: 2rem;
  color: var(--text-muted);
}

/* Gallery Section */
.gallery-filter {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: transparent;
  border: 1px solid var(--earth-beige);
  color: var(--text-muted);
  padding: 0.5rem 1.5rem;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

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

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  height: 280px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border-radius: 4px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 46, 33, 0.8);
  opacity: 0;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  text-align: center;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-info {
  color: var(--white);
}

.gallery-info h4 {
  color: var(--accent);
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}

.gallery-info p {
  color: var(--cream-dark);
  font-size: 0.85rem;
}

/* Lightbox Modal (For Premium Gallery Feel) */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 46, 33, 0.95);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-smooth);
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  max-width: 90%;
  max-height: 80vh;
  box-shadow: var(--shadow-lg);
}

.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  color: var(--white);
  font-size: 2.5rem;
  cursor: pointer;
  background: transparent;
  border: none;
}

/* Experience Section (Emotional Storytelling) */
.experience-section {
  position: relative;
  background: linear-gradient(to right, rgba(15, 46, 33, 0.95), rgba(15, 46, 33, 0.85)), url('images/mountain-view.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--white);
  text-align: center;
  padding: 10rem 0;
}

.experience-content {
  max-width: 750px;
  margin: 0 auto;
}

.experience-tag {
  color: var(--accent);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  display: block;
}

.experience-title {
  color: var(--white);
  font-size: 2.8rem;
  margin-bottom: 3rem;
}

.experience-quotes {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  line-height: 1.8;
  font-style: italic;
  color: var(--cream-dark);
  margin-bottom: 3rem;
}

.experience-quotes p {
  margin-bottom: 1rem;
  color: inherit;
}

.experience-end {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--accent);
}

/* Food & Café Section */
.food-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: center;
}

.food-img-wrapper {
  position: relative;
  height: 550px;
  box-shadow: var(--shadow-lg);
}

.food-img-wrapper::after {
  content: '';
  position: absolute;
  top: 20px;
  right: -20px;
  width: 100%;
  height: 100%;
  border: 1px solid var(--accent);
  z-index: -1;
  transition: var(--transition-smooth);
}

.food-img-wrapper:hover::after {
  transform: translate(-10px, -10px);
}

.menu-showcase {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.menu-category {
  border-bottom: 1px solid var(--earth-beige);
  padding-bottom: 1.2rem;
}

.menu-category-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.menu-category-items {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.food-disclaimer {
  font-size: 0.85rem;
  font-style: italic;
  margin-top: 1.5rem;
  color: var(--accent-hover);
}

/* Explore Section */
.explore-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.explore-card {
  background: var(--white);
  padding: 2.2rem 1.8rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  border-radius: 4px;
}

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

.explore-title {
  font-family: var(--font-sans);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--primary-dark);
}

.explore-proximity {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  display: inline-block;
}

.explore-description {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Location Section */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: stretch;
}

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

.location-address {
  font-size: 1.15rem;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.location-proximity-label {
  font-size: 0.95rem;
  color: var(--accent-hover);
  margin-bottom: 2rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.location-map-container {
  height: 400px;
  background-color: var(--cream-dark);
  box-shadow: var(--shadow-md);
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--earth-beige);
}

.location-map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Direct Booking CTA Section */
.booking-cta-section {
  background-color: var(--primary-dark);
  color: var(--white);
  padding: 7rem 0;
  text-align: center;
}

.booking-cta-content {
  max-width: 650px;
  margin: 0 auto;
}

.booking-cta-title {
  color: var(--white);
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

.booking-cta-desc {
  color: var(--cream-dark);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 5rem;
}

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

.contact-item {
  margin-bottom: 2rem;
}

.contact-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.25rem;
  display: block;
}

.contact-value {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--primary-dark);
}

.contact-actions {
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
}

.contact-form-card {
  background: var(--white);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  border-radius: 4px;
}

.contact-form-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.contact-form-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  display: block;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--earth-beige);
  border-radius: 4px;
  background-color: var(--cream);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  transition: var(--transition-fast);
  color: var(--text-dark);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background-color: var(--white);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

/* Footer */
.footer {
  background-color: #0c2016;
  color: rgba(255, 255, 255, 0.7);
  padding: 5rem 0 8rem 0; /* Add bottom padding to account for mobile sticky CTA */
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand h3 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  max-width: 320px;
}

.footer-title {
  color: var(--white);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
}

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

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

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

.footer-contact-info {
  list-style: none;
  font-size: 0.9rem;
}

.footer-contact-info li {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

/* Mobile Sticky CTA */
.mobile-sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--white);
  padding: 0.75rem 1rem;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.08);
  z-index: 999;
  display: none; /* Controlled by Media Query & JS */
  border-top: 1px solid var(--cream-dark);
}

.mobile-sticky-cta .btn {
  width: 100%;
  padding: 0.85rem 1.5rem;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 700;
}

/* Fallback SVG styling */
.img-fallback-svg {
  width: 100%;
  height: 100%;
  background-color: var(--cream-dark);
  color: var(--primary-light);
  font-family: var(--font-serif);
  padding: 2rem;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .welcome-grid, .food-grid, .location-grid, .contact-grid {
    gap: 3rem;
  }
  .amenities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .explore-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  /* Sticky Header changes */
  .logo-text {
    color: var(--primary-dark);
  }
  .nav-toggle-icon {
    background-color: var(--primary-dark);
  }
  
  .nav-toggle {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: var(--cream);
    box-shadow: var(--shadow-lg);
    flex-direction: column;
    align-items: flex-start;
    padding: 6rem 2.5rem 3rem 2.5rem;
    gap: 1.8rem;
    transition: var(--transition-smooth);
    z-index: 1050;
    border-left: 1px solid var(--earth-beige);
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-link {
    color: var(--text-dark) !important;
    font-size: 1rem;
    width: 100%;
    display: block;
  }
  
  .nav-cta {
    width: 100%;
    margin-top: 1rem;
    text-align: center;
  }

  /* Section stacks */
  .welcome-grid, .rooms-grid, .food-grid, .location-grid, .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .welcome-grid {
    gap: 3.5rem;
  }
  
  .welcome-img-wrapper {
    height: 380px;
    order: -1; /* image on top for mobile about */
  }

  .food-img-wrapper {
    height: 380px;
  }
  
  .hero-title {
    font-size: 2.3rem;
  }
  
  .hero-tagline {
    font-size: 1.2rem;
  }
  
  .hero-description {
    font-size: 0.95rem;
  }
  
  .hero-btns {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }
  
  .hero-btns .btn {
    width: 100%;
  }
  
  .section {
    padding: 5rem 0;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .explore-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .contact-form-card {
    padding: 2rem 1.5rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  /* Mobile Sticky CTA activation */
  .mobile-sticky-cta {
    display: block;
  }
}

@media (max-width: 480px) {
  .amenities-grid {
    grid-template-columns: 1fr;
  }
  
  .room-img-container {
    height: 240px;
  }
  
  .room-content {
    padding: 1.5rem;
  }
  
  .room-features {
    grid-template-columns: 1fr;
  }
}

/* Accessibility: Focus rings */
a:focus-visible, 
button:focus-visible, 
input:focus-visible, 
textarea:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
