@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --color-bg: #faf7f2;
  --color-surface: #ffffff;
  --color-text: #2b2320;
  --color-text-muted: #6b5f56;
  --color-primary: #b5652b;
  --color-primary-dark: #8f4e1f;
  --color-accent: #3f6b4a;
  --color-border: #e7ddd0;
  --color-success-bg: #eaf4ec;
  --color-success-text: #2c5c39;
  --color-error-bg: #fbeaea;
  --color-error-text: #9b2c2c;
  --radius: 10px;
  --shadow: 0 4px 16px rgba(43, 35, 32, 0.08);
  --max-width: 1120px;
  --font-heading: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  animation: pageFadeIn 0.5s ease both;
}

@keyframes pageFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Scroll-reveal utility (progressively enhanced via JS) */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Pop-in for the WhatsApp confirmation box after a form is submitted */
.reveal-pop {
  animation: revealPop 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes revealPop {
  from { opacity: 0; transform: scale(0.92) translateY(6px); }
  to { opacity: 1; transform: none; }
}

/* Gentle, slow attention pulse on primary calls to action — subtle by design */
.nav-cta,
.sticky-book-bar .btn-primary {
  animation: ctaPulse 3.2s ease-in-out infinite;
}

@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(181, 101, 43, 0.35); }
  50% { box-shadow: 0 0 0 8px rgba(181, 101, 43, 0); }
}

/* Photo lightbox */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 16, 14, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
}

.lightbox-overlay.open {
  opacity: 1;
  visibility: visible;
}

.lightbox-img {
  max-width: min(92vw, 1100px);
  max-height: 88vh;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.22);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .nav-cta,
  .sticky-book-bar .btn-primary {
    animation: none;
  }
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.25;
  margin: 0 0 0.5em;
  color: var(--color-text);
}

p {
  margin: 0 0 1em;
}

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

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header / Nav */
.site-header {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 1px 0 rgba(43, 35, 32, 0);
  transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 4px 18px rgba(43, 35, 32, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: bold;
  color: var(--color-primary-dark);
  text-decoration: none;
}

.brand-logo {
  display: none;
  height: 84px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
}

.brand-logo.loaded {
  display: block;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  flex-shrink: 0;
}

.brand-mark svg {
  width: 20px;
  height: 20px;
}

.footer-logo {
  display: none;
  height: 76px;
  width: auto;
  max-width: 230px;
  object-fit: contain;
  margin-bottom: 14px;
}

.footer-logo.loaded {
  display: block;
}

.nav-links {
  display: flex;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--color-text);
  font-weight: 500;
  position: relative;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-links a:not(.nav-cta):hover::after,
.nav-links a:not(.nav-cta)[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--color-primary-dark);
}

.nav-brand {
  transition: opacity 0.2s ease;
}

.nav-brand:hover {
  opacity: 0.8;
}

.nav-cta {
  background: var(--color-primary);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-cta:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(181, 101, 43, 0.35);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--color-text);
}

/* Hero */
.hero {
  background: linear-gradient(135deg, #3f6b4a, #2c4a34);
  color: #fff;
  padding: 90px 24px;
  text-align: center;
}

.hero-with-slideshow {
  position: relative;
  overflow: hidden;
  padding: 130px 24px;
}

.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1);
  transition: opacity 1.4s ease-in-out;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}

.hero-slide.active {
  opacity: 1;
  animation: heroKenBurns 6s ease-out forwards;
}

@keyframes heroKenBurns {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}

.hero-slide-label {
  position: relative;
  z-index: 1;
  margin: 24px;
  padding: 6px 14px;
  background: rgba(0, 0, 0, 0.35);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.78rem;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(44, 74, 52, 0.72), rgba(30, 26, 22, 0.72));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  animation: heroFadeUp 0.9s ease both;
}

.hero-content p {
  animation: heroFadeUp 0.9s ease 0.15s both;
}

.hero-content .hero-actions {
  animation: heroFadeUp 0.9s ease 0.3s both;
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}

.hero-dots {
  position: absolute;
  bottom: 82px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  gap: 8px;
}

@media (max-width: 560px) {
  .hero-dots {
    bottom: 50px;
  }
}

.hero-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
}

.hero-dot.active {
  background: #fff;
}

.hero h1 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.4em;
}

.hero p {
  color: #eef4ee;
  font-size: 1.15rem;
  max-width: 640px;
  margin: 0 auto 1.6em;
}

/* Quick availability search — overlaps the bottom edge of the hero */
.hero-search-wrap {
  position: relative;
  z-index: 5;
  margin-top: -60px;
  margin-bottom: 44px;
}

.hero-search-card {
  background: var(--color-surface);
  border-radius: var(--radius);
  box-shadow: 0 24px 50px rgba(43, 35, 32, 0.2);
  padding: 22px 24px;
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 0.8fr auto;
  gap: 14px;
  align-items: end;
}

.hero-search-card .form-group {
  margin-bottom: 0;
  text-align: left;
}

.hero-search-card label {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
  margin-bottom: 6px;
}

.hero-search-card button {
  white-space: nowrap;
}

@media (max-width: 900px) {
  .hero-search-card {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .hero-search-wrap {
    margin-top: -32px;
  }
  .hero-search-card {
    grid-template-columns: 1fr;
    padding: 20px;
  }
}

/* Trust / benefits strip */
.trust-strip {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  padding: 40px 24px;
}

.trust-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 26px;
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.trust-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #f5efe6;
  color: var(--color-primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-icon svg {
  width: 22px;
  height: 22px;
}

.trust-item h4 {
  margin: 0 0 4px;
  font-size: 0.98rem;
}

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

/* Amenity icon lists — replace plain bullet lists on room cards/details */
.amenity-list {
  list-style: none;
  margin: 14px 0 22px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 9px 14px;
}

.amenity-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.amenity-icon {
  flex-shrink: 0;
  width: 19px;
  height: 19px;
  color: var(--color-primary-dark);
}

.amenity-icon svg {
  width: 100%;
  height: 100%;
}

/* Pricing */
.from-price {
  margin: 0 0 4px;
  font-size: 0.92rem;
  color: var(--color-text-muted);
}

.rate-price {
  font-weight: 700;
  color: var(--color-primary-dark);
}

.rate-list {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 14px 16px;
  margin: 4px 0 20px;
}

.rate-list-title {
  margin: 0 0 8px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
}

.rate-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 0;
  font-size: 0.92rem;
}

.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

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

.btn:disabled {
  cursor: default;
  transform: none;
  opacity: 0.75;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: #fff;
  box-shadow: 0 4px 12px rgba(181, 101, 43, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary-dark));
  box-shadow: 0 8px 20px rgba(181, 101, 43, 0.35);
}

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

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
}

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

/* Sections */
.section {
  padding: 72px 24px;
}

.section-alt {
  background: var(--color-surface);
}

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

.section-header h1 {
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
}

.section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.section-header p {
  color: var(--color-text-muted);
}

/* Room cards */
.room-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.room-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.room-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 32px rgba(43, 35, 32, 0.14);
}

.room-card-image {
  height: 180px;
  background: linear-gradient(135deg, #e7ddd0, #cdbfa9);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  transition: transform 0.5s ease;
}

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

/* Room detail sections on rooms.html — two-column desktop layout that
   collapses to a single column on mobile so the photo never gets squeezed
   into a thin sliver next to the text. */
.room-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.room-detail-image {
  height: 260px;
  border-radius: var(--radius);
}

.room-detail-image--reverse {
  order: 2;
}

@media (max-width: 720px) {
  .room-detail-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .room-detail-image,
  .room-detail-image--reverse {
    height: 220px;
    order: -1;
  }
}

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

.room-card-body h3 {
  font-size: 1.3rem;
}

.block-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 600;
  font-size: 0.86rem;
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}

.block-badge svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.block-badge--kolmanskop { color: #a9862c; }
.block-badge--brukkaros { color: var(--color-accent); }
.block-badge--orangemouth { color: var(--color-primary-dark); }

.room-card-body ul {
  margin: 12px 0 20px;
  padding-left: 20px;
  color: var(--color-text-muted);
  flex: 1;
}

.room-card-body li {
  margin-bottom: 4px;
}

.room-card-actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
}

/* Facilities */
.facility-box {
  max-width: 760px;
  margin: 0 auto;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: box-shadow 0.35s ease;
}

.facility-box:hover {
  box-shadow: 0 14px 32px rgba(43, 35, 32, 0.12);
}

.facility-image {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 20px;
  transition: transform 0.5s ease;
}

.facility-box:hover .facility-image {
  transform: scale(1.04);
}

/* Explore Oranjemund — photo cards with the text overlaid on the image */
.attraction-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.attraction-card {
  position: relative;
  height: 320px;
  border-radius: var(--radius);
  overflow: hidden;
  background-color: var(--color-border);
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
  display: flex;
  align-items: flex-end;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  cursor: zoom-in;
}

.attraction-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(43, 35, 32, 0.2);
}

.attraction-card-overlay {
  position: relative;
  margin: 16px;
  padding: 16px 18px;
  border-radius: calc(var(--radius) - 2px);
  background: rgba(143, 78, 31, 0.32);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  color: #fff;
}

.attraction-card-overlay h3 {
  color: #fff;
  margin: 0 0 8px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}

.attraction-card-overlay p {
  color: rgba(255, 255, 255, 0.92);
  margin: 0;
  font-size: 0.95rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

/* Gallery — a continuously sliding filmstrip of property photos. The track
   holds the image list twice back-to-back; animating exactly -50% loops
   seamlessly from the second copy back to the first. */
.gallery-strip {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}

.gallery-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: gallery-scroll 48s linear infinite;
}

.gallery-strip:hover .gallery-track {
  animation-play-state: paused;
}

.gallery-img {
  flex-shrink: 0;
  width: 280px;
  height: 200px;
  border-radius: var(--radius);
  background-color: var(--color-border);
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
  cursor: zoom-in;
}

@keyframes gallery-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-track {
    animation: none;
  }
}

@media (max-width: 720px) {
  .gallery-img {
    width: 200px;
    height: 150px;
  }
}

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.map-embed iframe {
  display: block;
  width: 100%;
  border: 0;
}

/* Forms */
.form-card {
  max-width: 640px;
  margin: 0 auto;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  transition: box-shadow 0.35s ease;
}

.form-card:hover {
  box-shadow: 0 14px 32px rgba(43, 35, 32, 0.1);
}

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

.form-group {
  margin-bottom: 18px;
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 0.92rem;
}

input, select, textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  background: #fff;
  color: var(--color-text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(181, 101, 43, 0.15);
}

textarea {
  resize: vertical;
  min-height: 100px;
}

.field-hint {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  margin-top: 4px;
}

.honeypot-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-message {
  padding: 14px 16px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 0.95rem;
  display: none;
}

.form-message.success {
  display: block;
  background: var(--color-success-bg);
  color: var(--color-success-text);
}

.form-message.error {
  display: block;
  background: var(--color-error-bg);
  color: var(--color-error-text);
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #25d366;
  color: #fff;
}

.btn-whatsapp:hover {
  background: #1ebd5a;
}

.btn-email {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--color-primary);
  color: #fff;
}

.btn-email:hover {
  background: var(--color-primary-dark);
}

/* Contact */
.contact-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
}

.contact-info h3 {
  margin-top: 24px;
}

.contact-info h3:first-child {
  margin-top: 0;
}

/* Footer */
.site-footer {
  background: #2b2320;
  color: #ddd2c6;
  padding: 48px 24px 24px;
}

.footer-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
}

.site-footer h4 {
  color: #fff;
  font-size: 1rem;
}

.site-footer a {
  color: #ddd2c6;
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 32px auto 0;
  padding-top: 20px;
  border-top: 1px solid #443a34;
  font-size: 0.85rem;
  color: #a99c8d;
  text-align: center;
}

/* Utility */
.text-center {
  text-align: center;
}

@media (max-width: 900px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-surface);
    flex-direction: column;
    padding: 16px 24px;
    border-bottom: 1px solid var(--color-border);
    display: none;
    gap: 16px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }
}

@media (max-width: 720px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .room-card-actions {
    flex-direction: column;
  }

  .room-card-actions .btn {
    width: 100%;
    text-align: center;
  }

  /* Sections and containers were stacking two 24px paddings (one from
     .section, one from the nested .container/.room-grid), leaving 48px of
     dead space on each edge — more than a small screen can spare. Trim both
     to a smaller, single-feeling gutter. */
  .section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  /* Reduce the most oversized mobile text a notch */
  .hero h1 {
    font-size: clamp(1.6rem, 6.5vw, 2.1rem);
  }

  .hero p {
    font-size: 1rem;
  }

  .section-header h1 {
    font-size: clamp(1.5rem, 5.5vw, 1.9rem);
  }

  .section-header h2 {
    font-size: clamp(1.35rem, 5vw, 1.7rem);
  }

  .section-header p {
    font-size: 0.94rem;
  }

  .room-card-body h3,
  .room-detail-grid h2 {
    font-size: 1.15rem;
  }
}

@media (max-width: 400px) {
  .nav-brand {
    font-size: 1.08rem;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
  }

  .brand-logo {
    height: 58px;
    width: auto;
  }

  .whatsapp-fab {
    width: 46px;
    height: 46px;
    bottom: 16px;
    right: 16px;
  }

  .whatsapp-fab svg {
    width: 22px;
    height: 22px;
  }

  .has-sticky-bar .whatsapp-fab {
    bottom: 78px;
  }
}

/* WhatsApp quick-contact button */
.whatsapp-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--color-bg);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
  z-index: 60;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
}

.whatsapp-fab svg {
  width: 28px;
  height: 28px;
}

/* Sticky mobile "Book Now" bar */
.sticky-book-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding: 12px 16px;
  z-index: 55;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.1);
}

.sticky-book-bar-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  min-width: 0;
}

.sticky-book-bar-text strong {
  font-size: 0.9rem;
}

.sticky-book-bar-text span {
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

.sticky-book-bar .btn {
  padding: 10px 20px;
  flex-shrink: 0;
}

@media (max-width: 720px) {
  .sticky-book-bar {
    display: flex;
  }

  .has-sticky-bar {
    padding-bottom: 72px;
  }

  .has-sticky-bar .whatsapp-fab {
    bottom: 88px;
  }
}

/* Live availability status on the booking form */
.availability-status {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  margin-top: -6px;
  margin-bottom: 18px;
}

.availability-status.checking {
  display: flex;
  background: #f1eeea;
  color: var(--color-text-muted);
  font-weight: 500;
}

.availability-status.available {
  display: flex;
  background: var(--color-success-bg);
  color: var(--color-success-text);
}

.availability-status.unavailable {
  display: flex;
  background: var(--color-error-bg);
  color: var(--color-error-text);
}

/* Booking process FAQ */
.faq-list {
  max-width: 640px;
  margin: 32px auto 0;
}

.faq-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  margin-bottom: 10px;
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  padding: 14px 18px;
  font-weight: 600;
  font-size: 0.95rem;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.3rem;
  color: var(--color-primary);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  padding: 0 18px 16px;
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}
