:root {
  --green-900: #14352a;
  --green-700: #1f5a3e;
  --green-500: #2f8a5b;
  --green-300: #8fd3a7;
  --green-50:  #eef6ef;
  --sand:      #f7f2e9;
  --ink:       #1a1f1c;
  --muted:     #5a6660;
  --line:      #e3e8e3;
  --white:     #ffffff;
  --shadow-sm: 0 1px 2px rgba(20, 53, 42, 0.06), 0 2px 8px rgba(20, 53, 42, 0.05);
  --shadow-md: 0 6px 20px rgba(20, 53, 42, 0.08), 0 2px 6px rgba(20, 53, 42, 0.06);
  --radius:    16px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--green-700); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.82);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled {
  background: rgba(255,255,255,0.95);
  border-bottom-color: var(--line);
  box-shadow: 0 4px 20px rgba(20,53,42,0.06);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  gap: 16px;
  transition: padding .25s ease;
}
.is-scrolled .nav { padding: 9px 24px; }
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
}
.brand:hover { text-decoration: none; }
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--green-700), var(--green-500));
  color: white;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-size: 1.05rem; }
.brand-text em { font-style: normal; font-size: 0.8rem; color: var(--muted); }

.primary-nav {
  display: flex; align-items: center; gap: 22px;
}
.primary-nav a {
  color: var(--ink); font-weight: 500; font-size: 0.95rem;
}
.primary-nav a:not(.btn) { position: relative; }
.primary-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 100%; height: 2px;
  background: var(--green-700);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.primary-nav a:not(.btn):hover { color: var(--green-700); text-decoration: none; }
.primary-nav a:not(.btn):hover::after { transform: scaleX(1); }

/* MOBILE NAV TOGGLE */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 20px; height: 2px;
  margin: 0 auto;
  background: var(--green-900);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background: var(--green-700);
  color: white;
}
.btn-primary:hover { background: var(--green-900); text-decoration: none; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-ghost {
  background: transparent; color: var(--green-900);
  border-color: var(--green-700);
}
.btn-ghost:hover { background: var(--green-50); text-decoration: none; }
.btn-lg { padding: 14px 24px; font-size: 1rem; }

/* HERO */
.hero {
  position: relative;
  min-height: 86vh;
  display: flex; align-items: center;
  color: white;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(20,53,42,0.45), rgba(20,53,42,0.78)),
    url("images/Pool Area/Pool.jpg") center/cover no-repeat;
  z-index: -1;
  transform: scale(1.06);
  animation: heroZoom 18s ease-out forwards;
}
@keyframes heroZoom {
  from { transform: scale(1.12); }
  to   { transform: scale(1.02); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-bg { animation: none; transform: scale(1.04); }
}
.hero-inner {
  padding: 120px 24px 80px;
  max-width: 880px;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--green-300);
  margin: 0 0 14px;
}
.hero h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height: 1.05;
  margin: 0 0 18px;
  font-weight: 700;
}
.lede {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  max-width: 60ch;
  color: rgba(255,255,255,0.92);
  margin: 0 0 28px;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  list-style: none;
  margin: 0; padding: 0;
  max-width: 720px;
}
.hero-facts li {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.85);
  display: flex; flex-direction: column;
}
.hero-facts span {
  font-family: "Playfair Display", serif;
  font-size: 1.4rem;
  color: white;
  font-weight: 700;
  margin-bottom: 2px;
}

/* SECTIONS */
.section { padding: 96px 0; scroll-margin-top: 80px; }
:focus-visible {
  outline: 3px solid var(--green-500);
  outline-offset: 2px;
  border-radius: 4px;
}
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-head h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  margin: 6px 0 12px;
  color: var(--green-900);
}
.section-sub { color: var(--muted); margin: 0; }
.section-head .eyebrow { color: var(--green-700); }

/* TOUR */
.section-tour { background: var(--green-50); }
#tour { scroll-margin-top: 80px; }
.tour-frame {
  scroll-margin-top: 88px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: #000;
  border: 1px solid var(--line);
}
.tour-frame iframe { display: block; width: 100%; }

/* ROOMS */
.room-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.room-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.room-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.room-photo { aspect-ratio: 4/3; overflow: hidden; }
.room-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }

/* ROOM PHOTO CAROUSEL */
.carousel { position: relative; }
.carousel-track {
  display: flex;
  height: 100%;
  transition: transform .4s ease;
}
.carousel-slide {
  min-width: 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px; height: 38px;
  border: none;
  border-radius: 999px;
  background: rgba(255,255,255,0.85);
  color: var(--green-900);
  font-size: 1.4rem;
  line-height: 1;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transition: opacity .2s ease, background .2s ease;
}
.carousel:hover .carousel-btn { opacity: 1; }
.carousel-btn:hover { background: #fff; }
.carousel-btn.prev { left: 10px; }
.carousel-btn.next { right: 10px; }
.carousel-dots {
  position: absolute;
  bottom: 10px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 6px;
}
.carousel-dot {
  width: 8px; height: 8px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(255,255,255,0.55);
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.carousel-dot.is-active { background: #fff; transform: scale(1.25); }
.carousel.is-single .carousel-btn,
.carousel.is-single .carousel-dots { display: none; }

.room-body { padding: 22px 22px 26px; }
.room-no {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--green-700);
  margin: 0 0 4px !important;
}
.room-body h3 {
  font-family: "Playfair Display", serif;
  margin: 0 0 8px;
  font-size: 1.4rem;
  color: var(--green-900);
}
.room-body p { color: var(--muted); margin: 0 0 16px; font-size: 0.95rem; }
.room-features {
  display: flex; flex-wrap: wrap; gap: 8px;
  list-style: none; padding: 0; margin: 0;
}
.room-features li {
  background: var(--green-50);
  color: var(--green-900);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 500;
}
/* ROOM DETAILS (accordion) */
.room-details {
  margin-top: 16px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.room-details > summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--green-700);
  display: flex;
  align-items: center;
  gap: 6px;
}
.room-details > summary::-webkit-details-marker { display: none; }
.room-details > summary::after {
  content: "+";
  margin-left: auto;
  font-size: 1.1rem;
  line-height: 1;
  color: var(--green-700);
}
.room-details[open] > summary::after { content: "–"; }
.room-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 14px;
}
.room-details-grid h4 {
  margin: 0 0 8px;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green-900);
}
.detail-list {
  list-style: none;
  margin: 0; padding: 0;
  display: grid; gap: 5px;
}
.detail-list li {
  position: relative;
  padding-left: 16px;
  font-size: 0.85rem;
  color: var(--muted);
}
.detail-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green-500);
  font-size: 0.8rem;
}
.room-smoking {
  margin: 14px 0 0 !important;
  font-size: 0.82rem !important;
  color: var(--muted) !important;
}

.btn-360 {
  width: 100%;
  margin: 0 0 16px;
  gap: 8px;
}

/* AMENITIES */
.section-amenities { background: var(--sand); }
.amenity-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.amenity {
  background: white;
  padding: 28px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  text-align: left;
  box-shadow: var(--shadow-sm);
}
.amenity-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--green-50);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 14px;
}
.amenity h3 { margin: 0 0 6px; color: var(--green-900); font-size: 1.1rem; }
.amenity p { margin: 0; color: var(--muted); font-size: 0.92rem; }

/* GALLERY */
.gallery-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, 1fr);
}
.gallery-grid figure {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-sm);
}
.gallery-grid .gallery-wide {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: auto;
}
.gallery-grid img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.gallery-grid figure:hover img { transform: scale(1.06); }

/* LOCATION */
.section-location { background: var(--green-50); }
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: center;
}
.location-text h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.8rem, 3.4vw, 2.4rem);
  margin: 6px 0 14px;
  color: var(--green-900);
}
.location-text .eyebrow { color: var(--green-700); }
.location-list {
  list-style: none; padding: 0; margin: 18px 0 0;
  display: grid; gap: 8px;
}
.location-list li {
  display: flex; gap: 14px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
  color: var(--ink);
}
.location-list span {
  font-weight: 700;
  color: var(--green-700);
  min-width: 80px;
}
.location-map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}

/* CONTACT */
.section-contact { background: var(--green-900); color: white; }
.contact-card {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
}
.contact-card .eyebrow { color: var(--green-300); }
.contact-card h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.8rem, 3.4vw, 2.4rem);
  margin: 6px 0 12px;
  color: white;
}
.contact-card p { color: rgba(255,255,255,0.8); }
.contact-list {
  list-style: none; padding: 0; margin: 18px 0 0;
  display: grid; gap: 8px;
}
.contact-list a { color: var(--green-300); }
.contact-actions {
  display: flex; flex-direction: column; gap: 12px;
}
.contact-actions .btn-ghost {
  color: white; border-color: rgba(255,255,255,0.4);
}
.contact-actions .btn-ghost:hover {
  background: rgba(255,255,255,0.08);
}

/* FOOTER */
.site-footer {
  background: #0d2820;
  color: rgba(255,255,255,0.7);
  padding: 28px 0;
  font-size: 0.9rem;
}
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.footer-meta { margin: 0; }

/* REVEAL ON SCROLL */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
/* stagger cards within a grid */
.room-grid .reveal:nth-child(2) { transition-delay: .08s; }
.room-grid .reveal:nth-child(3) { transition-delay: .16s; }
.amenity-grid .reveal:nth-child(2) { transition-delay: .05s; }
.amenity-grid .reveal:nth-child(3) { transition-delay: .1s; }
.amenity-grid .reveal:nth-child(4) { transition-delay: .15s; }
.amenity-grid .reveal:nth-child(5) { transition-delay: .2s; }
.amenity-grid .reveal:nth-child(6) { transition-delay: .25s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .primary-nav {
    position: absolute;
    top: 100%;
    left: 12px; right: 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 10px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .primary-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(8px);
  }
  .primary-nav a:not(.btn) {
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 1rem;
  }
  .primary-nav a:not(.btn)::after { display: none; }
  .primary-nav a:not(.btn):hover { background: var(--green-50); }
  .primary-nav .btn { margin-top: 6px; width: 100%; }

  .hero { min-height: 78vh; }
  .hero-facts { grid-template-columns: repeat(2, 1fr); }
  .location-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-card { grid-template-columns: 1fr; }
  .contact-actions .btn { width: 100%; }
  .footer-inner { flex-direction: column; }
  .section { padding: 72px 0; }
  .hero-inner { padding: 96px 24px 64px; }
  .tour-frame iframe { height: 460px !important; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid .gallery-wide { grid-column: span 2; grid-row: auto; aspect-ratio: 16/9; }
}

@media (max-width: 520px) {
  .container { padding: 0 18px; }
  .nav { padding: 12px 18px; }
  .hero-inner { padding: 92px 18px 56px; }
  .hero-facts { grid-template-columns: 1fr 1fr; }
  .hero-cta .btn { flex: 1; }
  .tour-frame iframe { height: 360px !important; }
  .room-details-grid { grid-template-columns: 1fr; }
  .carousel-btn { opacity: 1; width: 42px; height: 42px; }
  .section { padding: 56px 0; }
  .section-head { margin-bottom: 32px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-grid .gallery-wide { aspect-ratio: 4/3; }
  .brand-text em { display: none; }
}
