/* ============================================
   ROUNDAWAY LODGE & ANNEX — Stylesheet
   
   Table of contents:
   1.  CSS Custom Properties (variables)
   2.  Reset & Base
   3.  Typography
   4.  Utility classes
   5.  Navigation
   6.  Hero / Slideshow
   7.  About section
   8.  Facilities / Feature cards
   9.  Gallery
   10. Lightbox
   11. Location
   12. Book Now CTA
   13. Footer
   14. Responsive (mobile & tablet)
   ============================================ */

/* ============================================
   1. CSS CUSTOM PROPERTIES
   Change colours/fonts here to restyle the site
   ============================================ */
:root {
  /* Colour palette — teal/blue-green to match original site style */
  --color-primary: #2b6c72; /* Dark teal — main brand colour */
  --color-primary-hover: #1f5059; /* Darker on hover */
  --color-primary-light: #399aa3; /* Lighter teal for accents */
  --color-accent: #e8f5f6; /* Very light teal background */
  --color-hero-overlay: rgba(18, 50, 55, 0.45); /* Dark overlay on hero */

  /* Neutrals */
  --color-white: #ffffff;
  --color-bg-light: #f7fafb;
  --color-border: #dae8ea;
  --color-text: #2c3e50;
  --color-text-muted: #5a7075;

  /* Typography */
  --font-heading: "Raleway", sans-serif;
  --font-body: "Open Sans", sans-serif;

  /* Spacing — consistent vertical rhythm */
  --section-padding: 80px 0;
  --container-max: 1140px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.18);

  /* Border radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;

  /* Transitions */
  --transition: 0.3s ease;
}

/* ============================================
   2. RESET & BASE
   ============================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  /* Smooth scroll for anchor links */
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

a:hover {
  color: var(--color-primary-hover);
}

ul {
  list-style: none;
}

/* ============================================
   3. TYPOGRAPHY
   ============================================ */
h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  color: var(--color-text);
  line-height: 1.3;
  font-weight: 600;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
}
h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}
h3 {
  font-size: 1.15rem;
  font-weight: 600;
}

p {
  margin-bottom: 1rem;
  color: var(--color-text);
}

p:last-child {
  margin-bottom: 0;
}

strong {
  font-weight: 600;
}

/* ============================================
   4. UTILITY CLASSES
   ============================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.text-center {
  text-align: center;
}

/* Horizontal rule under section headings */
.section-rule {
  border: none;
  border-top: 3px solid var(--color-primary-light);
  margin: 14px 0 32px;
  width: 60px;
}

/* Centred variant */
.section-rule.centered {
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  text-align: center;
  color: var(--color-primary);
}

/* Primary button style */
.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition:
    background-color var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
  text-align: center;
  border: 2px solid transparent;
}

/* ============================================
   5. NAVIGATION
   Sticky, transparent on hero — solid after scroll.
   ============================================ */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--color-primary);
  box-shadow: var(--shadow-md);
  padding: 0 24px;
}

.nav-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

/* Logo / site name in nav */
.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.nav-logo:hover {
  color: rgba(255, 255, 255, 0.85);
}

/* Nav link list */
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links li a {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  transition:
    color var(--transition),
    border-color var(--transition);
}

.nav-links li a:hover {
  color: var(--color-white);
  border-bottom-color: var(--color-white);
}

/* "Book Now" button in nav */
.nav-book-btn {
  background: var(--color-white) !important;
  color: var(--color-primary) !important;
  padding: 8px 22px !important;
  border-radius: 40px !important;
  border-bottom: none !important;
}

.nav-book-btn:hover {
  background: var(--color-accent) !important;
  color: var(--color-primary-hover) !important;
}

/* Hamburger (mobile) */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition:
    transform var(--transition),
    opacity var(--transition);
}

/* Hamburger open state (animated X) */
.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================
   6. HERO / SLIDESHOW
   Full-viewport-height image carousel.
   ============================================ */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 500px;
  overflow: hidden;
  background: var(--color-primary);
}

/* Slideshow container */
.slideshow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Individual slide */
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}

.slide.active {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Dark overlay for text legibility */
.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--color-hero-overlay);
}

/* Slide prev/next arrow buttons */
.slide-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255, 255, 255, 0.18);
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: var(--color-white);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
  backdrop-filter: blur(4px);
}

.slide-btn:hover {
  background: rgba(255, 255, 255, 0.35);
}

.slide-btn-prev {
  left: 24px;
}
.slide-btn-next {
  right: 24px;
}

/* Dot indicators */
.slide-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
}

.slide-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  transition:
    background var(--transition),
    transform var(--transition);
}

.slide-dot.active {
  background: var(--color-white);
  transform: scale(1.2);
}

/* Hero text content */
.hero-content {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 24px;
}

.hero-content h1 {
  color: var(--color-white);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
  margin-bottom: 16px;
  font-weight: 700;
}

.hero-tagline {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  font-family: var(--font-heading);
  font-weight: 300;
  margin-bottom: 36px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

/* Hero "Book Now" button */
.btn-hero {
  background: var(--color-white);
  color: var(--color-primary);
  font-size: 1.05rem;
  padding: 16px 48px;
  border-radius: 40px;
  box-shadow: var(--shadow-md);
}

.btn-hero:hover {
  background: var(--color-accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--color-primary-hover);
}

/* ============================================
   7. ABOUT SECTION
   ============================================ */
.section-about {
  padding: var(--section-padding);
  background: var(--color-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.about-text h2 {
  color: var(--color-primary);
  margin-bottom: 8px;
}

.about-text p {
  color: var(--color-text);
  font-size: 0.97rem;
}

/* Booking.com rating badge */
.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--color-accent);
  border: 2px solid var(--color-primary-light);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  margin-top: 24px;
}

.rating-score {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--color-primary);
  font-family: var(--font-heading);
  line-height: 1;
}

.rating-text {
  display: flex;
  flex-direction: column;
  font-family: var(--font-heading);
}

.rating-text strong {
  color: var(--color-primary);
  font-size: 1.1rem;
}

.rating-text span {
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

/* About image */
.about-image img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* ============================================
   8. FACILITIES / FEATURE CARDS
   ============================================ */
.section-facilities {
  padding: var(--section-padding);
  background: var(--color-bg-light);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.feature-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary-light);
}

.feature-card i {
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: 14px;
  display: block;
}

.feature-card h3 {
  color: var(--color-primary);
  font-size: 1rem;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin: 0;
}

/* ============================================
   9. GALLERY
   CSS grid photo gallery with hover effect.
   ============================================ */
.section-gallery {
  padding: var(--section-padding);
  background: var(--color-white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 40px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  cursor: pointer;
  aspect-ratio: 4 / 3;
  background: var(--color-border);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

/* Hover overlay with zoom icon */
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(43, 108, 114, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
  color: var(--color-white);
  font-size: 1.6rem;
}

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

/* ============================================
   10. LIGHTBOX
   Fullscreen image viewer, controlled by JS.
   ============================================ */
.lightbox {
  display: none; /* hidden by default; JS sets display:flex to open */
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.93);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lightbox.open {
  display: flex;
}

.lightbox-img-wrap {
  max-width: 90vw;
  max-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

#lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  user-select: none;
}

.lightbox-caption {
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  margin-top: 14px;
  text-align: center;
}

/* Lightbox navigation buttons */
.lightbox-prev,
.lightbox-next,
.lightbox-close {
  position: absolute;
  background: rgba(255, 255, 255, 0.12);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: var(--color-white);
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
  z-index: 2001;
  font-size: 1.8rem;
  line-height: 1;
}

.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
}

.lightbox-prev {
  left: 20px;
}
.lightbox-next {
  right: 20px;
}

.lightbox-close {
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  font-size: 1.4rem;
}

.lightbox-prev:hover,
.lightbox-next:hover,
.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* ============================================
   11. LOCATION SECTION
   ============================================ */
.section-location {
  padding: var(--section-padding);
  background: var(--color-bg-light);
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
  margin-top: 40px;
}

.location-text h3 {
  color: var(--color-primary);
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.location-text p {
  font-size: 0.95rem;
  color: var(--color-text);
}

.location-list {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.location-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--color-text);
}

.location-list li i {
  color: var(--color-primary);
  width: 18px;
  flex-shrink: 0;
}

.location-map iframe {
  display: block;
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.map-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  text-decoration: underline;
}

.map-link:hover {
  color: var(--color-primary);
}

/* ============================================
   12. BOOK NOW CTA SECTION
   ============================================ */
.section-book {
  padding: 80px 0;
  background: var(--color-primary);
  text-align: center;
}

.section-book h2 {
  color: var(--color-white);
  margin-bottom: 12px;
}

.book-subtitle {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  margin-bottom: 28px;
}

/* Rating display in the CTA */
.book-rating {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 12px 24px;
  margin-bottom: 36px;
  backdrop-filter: blur(4px);
}

.book-score {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-white);
  font-family: var(--font-heading);
  line-height: 1;
}

.book-label {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  text-align: left;
}

/* Large Book Now button */
.btn-book-large {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 56px;
  background: var(--color-white);
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  border-radius: 50px;
  box-shadow: var(--shadow-md);
  transition:
    background var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
}

.btn-book-large:hover {
  background: var(--color-accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  color: var(--color-primary-hover);
}

/* ============================================
   13. FOOTER
   ============================================ */
.site-footer {
  background: #1a3d42;
  color: rgba(255, 255, 255, 0.8);
  padding: 56px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 10px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
  margin: 0;
}

.footer-links h4,
.footer-book h4 {
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links ul li a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.88rem;
  transition: color var(--transition);
}

.footer-links ul li a:hover {
  color: var(--color-white);
}

/* Footer Book Now button */
.btn-footer-book {
  display: inline-block;
  padding: 12px 24px;
  background: var(--color-primary-light);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 40px;
  transition:
    background var(--transition),
    transform var(--transition);
}

.btn-footer-book:hover {
  background: var(--color-primary);
  transform: translateY(-2px);
  color: var(--color-white);
}

/* Footer copyright bar */
.footer-bottom {
  padding: 20px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
  margin: 0;
}

/* ============================================
   14. PAGE TITLE BAR — Sub-pages (not homepage)
   ============================================ */
.page-title-bar {
  padding: 120px 0 40px;
  background: var(--color-dark-green);
  text-align: center;
}

.page-title-bar h1 {
  color: var(--color-white);
  margin-bottom: 8px;
  font-weight: 700;
}

.page-title-bar p {
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  font-family: var(--font-heading);
  font-weight: 300;
}

/* Active nav link */
.nav-links li a.active {
  color: var(--color-white);
  border-bottom-color: var(--color-white);
}

/* ============================================
   15. EXPLORE CARDS — Homepage
   ============================================ */
.section-explore {
  padding: var(--section-padding);
  background: var(--color-white);
}

.explore-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.explore-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  text-decoration: none;
  color: var(--color-white);
  aspect-ratio: 4 / 3;
  display: block;
}

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

.explore-card:hover img {
  transform: scale(1.07);
}

.explore-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(transparent, rgba(18, 50, 55, 0.85));
}

.explore-card-content h3 {
  color: var(--color-white);
  font-size: 1.3rem;
  margin-bottom: 4px;
}

.explore-card-content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  margin: 0;
}

.explore-card:hover {
  color: var(--color-white);
}

/* ============================================
   16. DIRECTIONS CARDS — Location page
   ============================================ */
.section-directions {
  padding: var(--section-padding);
  background: var(--color-white);
}

.directions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.direction-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 20px;
  background: var(--color-bg-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.direction-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary-light);
}

.direction-card i {
  font-size: 2.2rem;
  color: var(--color-primary);
  margin-bottom: 14px;
}

.direction-card h3 {
  color: var(--color-primary);
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.direction-card p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin: 0;
}

/* ============================================
   17. ROOM PREVIEWS — Accommodation page
   ============================================ */
.section-room-previews {
  padding: var(--section-padding);
  background: var(--color-bg-light);
}

.room-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 56px;
}

.room-preview:last-child {
  margin-bottom: 0;
}

.room-preview.reverse {
  direction: rtl;
}

.room-preview.reverse > * {
  direction: ltr;
}

.room-preview-images img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.room-preview-text h3 {
  color: var(--color-primary);
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.room-preview-text h3 i {
  margin-right: 8px;
}

.room-preview-text p {
  font-size: 0.95rem;
  color: var(--color-text);
}

.room-link {
  display: inline-block;
  margin-top: 12px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--color-primary);
  transition: color var(--transition);
}

.room-link:hover {
  color: var(--color-primary-hover);
}

/* Gallery category spacing */
.gallery-category-title {
  margin-top: 56px;
}

/* ============================================
   18. RESPONSIVE — Tablet & Mobile
   ============================================ */

/* --- Tablet (max 1024px) --- */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .about-grid {
    gap: 36px;
  }

  .directions-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

/* --- Tablet portrait / small tablet (max 768px) --- */
@media (max-width: 768px) {
  :root {
    --section-padding: 56px 0;
  }

  /* Nav: show hamburger, hide links */
  .hamburger {
    display: flex;
  }

  .nav-links {
    /* Slide-down mobile menu */
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--color-primary);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
  }

  .nav-links.open {
    max-height: 500px;
  }

  .nav-links li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-links li a {
    display: block;
    padding: 16px 24px;
    font-size: 1rem;
    border-bottom: none !important;
  }

  .nav-book-btn {
    border-radius: 0 !important;
    background: rgba(255, 255, 255, 0.15) !important;
    color: var(--color-white) !important;
    padding: 16px 24px !important;
  }

  /* Stack About section */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-image img {
    height: 280px;
  }

  /* Features — 2 columns */
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Gallery — 2 columns */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Location — stack */
  .location-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* Directions — 2 columns */
  .directions-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Explore — stack */
  .explore-grid {
    grid-template-columns: 1fr;
  }

  /* Room previews — stack */
  .room-preview,
  .room-preview.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 24px;
  }

  .room-preview-images img {
    height: 260px;
  }

  /* Footer — stack */
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* Lightbox arrows closer to edge */
  .lightbox-prev {
    left: 10px;
  }
  .lightbox-next {
    right: 10px;
  }
}

/* --- Mobile (max 480px) --- */
@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.8rem;
  }
  .hero-tagline {
    font-size: 0.95rem;
  }
  .btn-hero {
    padding: 13px 32px;
    font-size: 0.95rem;
  }

  /* Features — single column on small phones */
  .features-grid {
    grid-template-columns: 1fr;
  }

  /* Gallery — single column on small phones */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .about-image img {
    height: 220px;
  }

  .btn-book-large {
    padding: 15px 36px;
    font-size: 1rem;
  }

  .slide-btn {
    width: 38px;
    height: 38px;
    font-size: 1.5rem;
  }

  .slide-btn-prev {
    left: 10px;
  }
  .slide-btn-next {
    right: 10px;
  }

  .directions-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-title-bar {
    padding: 100px 0 30px;
  }

  .room-preview-images img {
    height: 200px;
  }
}
