/* ============================================================
   Rheola's Guest Cottage — shared styles
   Inspired by the warm, refined aesthetic of The Raz
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --green-dark: #1a2a1a;
  --green-mid: #2c3e2c;
  --green-soft: #3d5240;
  --cream: #f7f3eb;
  --cream-warm: #f0e9dc;
  --sand: #e8dfd0;
  --brown: #3d2b1f;
  --brown-soft: #5c4636;
  --gold: #c9a86c;
  --gold-light: #e0c98a;
  --ink: #1f1a14;
  --muted: #6b5e50;
  --white: #ffffff;
  --shadow: 0 12px 40px rgba(26, 42, 26, 0.12);
  --radius: 6px;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --max: 1180px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; transition: color 0.2s, opacity 0.2s; }

ul { list-style: none; }

/* ---------- Demo bar ---------- */
.demo-bar {
  background: var(--green-dark);
  color: rgba(255,255,255,0.85);
  font-size: 12.5px;
  text-align: center;
  padding: 8px 16px;
  line-height: 1.4;
}
.demo-bar a { color: var(--gold-light); font-weight: 500; }
.demo-bar a:hover { text-decoration: underline; }
.demo-bar b { color: #fff; }

/* ---------- Header ---------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--green-dark);
  color: #fff;
  height: var(--header-h);
  display: flex;
  align-items: center;
  box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.site-head .row {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 1px;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #fff;
  line-height: 1.15;
}
.brand small {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.7;
  color: var(--gold-light);
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.92rem;
  font-weight: 500;
}
.nav a {
  color: rgba(255,255,255,0.88);
  position: relative;
  padding: 4px 0;
}
.nav a:hover,
.nav a[aria-current="page"] {
  color: #fff;
}
.nav a[aria-current="page"]::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1.5px;
  background: var(--gold);
}
.nav .cta {
  background: var(--gold);
  color: var(--green-dark) !important;
  padding: 10px 22px;
  border-radius: 40px;
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
}
.nav .cta:hover {
  background: var(--gold-light);
  color: var(--green-dark) !important;
}
.nav .cta::after { display: none !important; }

/* Mobile nav toggle (simple) */
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 4px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 4px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--gold);
  color: var(--green-dark);
}
.btn-primary:hover {
  background: var(--gold-light);
  box-shadow: 0 6px 20px rgba(201, 168, 108, 0.35);
}

.btn-acc {
  background: var(--green-mid);
  color: #fff;
}
.btn-acc:hover {
  background: var(--green-soft);
  box-shadow: 0 6px 20px rgba(44, 62, 44, 0.3);
}

.btn-wa {
  background: #25D366;
  color: #fff;
}
.btn-wa:hover {
  background: #1ebe57;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.7);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}
.hero .bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero .veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(20, 30, 18, 0.78) 0%,
    rgba(20, 30, 18, 0.45) 45%,
    rgba(20, 30, 18, 0.25) 100%
  );
}
.hero .inner {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  padding: 80px 24px 100px;
  width: 100%;
}
.hero .kicker {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 14px;
}
.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: 500;
  line-height: 1.12;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.hero .tagline {
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: 20px;
  font-weight: 400;
}
.hero .sub {
  max-width: 42ch;
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.9);
  margin-bottom: 28px;
  font-weight: 300;
}
.hero .facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}
.hero .fact {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 6px 14px;
  border-radius: 40px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.03em;
}
.hero .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ---------- Feature bar ---------- */
.features {
  background: var(--green-mid);
  color: #fff;
  padding: 28px 24px;
}
.features .wrap {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 4px 0;
}
.feature + .feature {
  border-left: 1px solid rgba(255,255,255,0.15);
  padding-left: 24px;
}
.feature .icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  opacity: 0.95;
}
.feature h3 {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 2px;
}
.feature p {
  font-size: 0.8rem;
  opacity: 0.75;
  font-weight: 300;
}

/* ---------- Sections ---------- */
.sec {
  padding: 72px 24px;
}
.sec.alt {
  background: var(--cream-warm);
}
.sec.dark {
  background: var(--brown);
  color: #fff;
}
.wrap {
  max-width: var(--max);
  margin: 0 auto;
}
.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.sec h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--green-dark);
  margin-bottom: 18px;
}
.sec.dark h2 { color: #fff; }
.sec p {
  font-size: 1.02rem;
  color: var(--muted);
  max-width: 54ch;
}
.sec.dark p { color: rgba(255,255,255,0.82); }

.split {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: center;
}
.split .ph {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.split .ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
}

.script {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--gold);
  line-height: 1.4;
  margin-top: 20px;
}

/* ---------- Facilities / Amenities ---------- */
.amen {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 8px 28px;
  margin-top: 28px;
}
.amen li {
  font-size: 0.95rem;
  color: var(--muted);
  padding: 6px 0 6px 22px;
  position: relative;
}
.amen li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 600;
  font-size: 0.85rem;
}
.amen li.grp {
  grid-column: 1 / -1;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--green-dark);
  padding: 18px 0 6px;
  margin-top: 8px;
  border-top: 1px solid var(--sand);
}
.amen li.grp:first-child {
  border-top: none;
  margin-top: 0;
  padding-top: 0;
}
.amen li.grp::before { display: none; }

/* ---------- Quote ---------- */
.quote {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.quote blockquote {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 400;
  font-style: italic;
  color: var(--green-dark);
  line-height: 1.35;
  margin: 16px 0 12px;
}
.quote cite {
  font-size: 0.9rem;
  color: var(--muted);
  font-style: normal;
}

/* ---------- Gallery grid ---------- */
.gal {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.gal button {
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  transition: transform 0.25s, box-shadow 0.25s;
}
.gal button:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.14);
}
.gal button img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

/* Lightbox */
.lb {
  border: none;
  padding: 0;
  background: transparent;
  max-width: 92vw;
  max-height: 90vh;
}
.lb::backdrop {
  background: rgba(15, 18, 12, 0.88);
  backdrop-filter: blur(4px);
}
.lb img {
  max-width: 92vw;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 4px;
}
.lb-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 0.95rem;
  cursor: pointer;
  opacity: 0.85;
}
.lb-close:hover { opacity: 1; }
.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  border: none;
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lb-prev { left: -56px; }
.lb-next { right: -56px; }
.lb-nav:hover { background: rgba(255,255,255,0.28); }

/* ---------- Book / Form ---------- */
.book-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: start;
}
.enq {
  background: #fff;
  padding: 32px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.form-ok {
  display: none;
  background: #e8f5e9;
  color: #1b5e20;
  padding: 14px 16px;
  border-radius: 6px;
  margin-bottom: 20px;
  font-size: 0.92rem;
  line-height: 1.5;
}
.f-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.f-row {
  margin-bottom: 16px;
}
.f-row label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--brown-soft);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}
.f-row input,
.f-row select,
.f-row textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--sand);
  border-radius: 4px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--ink);
  background: #fff;
  transition: border-color 0.2s;
}
.f-row input:focus,
.f-row select:focus,
.f-row textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.f-note {
  font-size: 0.82rem;
  color: var(--muted);
}

.map-box {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.map-box iframe,
.map-placeholder {
  width: 100%;
  height: 260px;
  border: 0;
  display: block;
}
.map-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, var(--cream), #fff);
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
  padding: 24px;
}
.map-placeholder b { color: var(--ink); font-size: 1rem; }

.contact-list {
  margin-top: 20px;
}
.contact-list li {
  display: flex;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--sand);
  font-size: 0.95rem;
}
.contact-list li b {
  min-width: 70px;
  color: var(--green-dark);
  font-weight: 600;
}
.contact-list li span { color: var(--muted); }

.ota {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}
.ota a {
  background: var(--cream-warm);
  color: var(--green-dark);
  padding: 8px 16px;
  border-radius: 40px;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid var(--sand);
}
.ota a:hover {
  background: var(--green-mid);
  color: #fff;
  border-color: var(--green-mid);
}

/* ---------- Gallery banner teaser ---------- */
.gallery-banner {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  overflow: hidden;
}
.gallery-banner .bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-banner .veil {
  position: absolute;
  inset: 0;
  background: rgba(20, 28, 18, 0.55);
}
.gallery-banner .inner {
  position: relative;
  z-index: 2;
  padding: 48px 24px;
}
.gallery-banner h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 400;
  font-style: italic;
  margin-bottom: 20px;
  color: #fff;
}

/* ---------- Footer ---------- */
.site-foot {
  background: var(--green-dark);
  color: rgba(255,255,255,0.8);
  padding: 56px 24px 0;
}
.site-foot .cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  max-width: var(--max);
  margin: 0 auto 40px;
}
.site-foot h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 14px;
}
.site-foot p {
  font-size: 0.9rem;
  line-height: 1.65;
  max-width: 42ch;
}
.site-foot ul li {
  margin-bottom: 8px;
}
.site-foot a {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
}
.site-foot a:hover { color: var(--gold-light); }

.site-foot .fine {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
}
.site-foot .kw { color: var(--gold-light); }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .features .wrap {
    grid-template-columns: 1fr 1fr;
  }
  .feature + .feature {
    border-left: none;
    padding-left: 0;
  }
  .feature:nth-child(odd) {
    border-right: 1px solid rgba(255,255,255,0.12);
    padding-right: 16px;
  }
  .split {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .book-grid {
    grid-template-columns: 1fr;
  }
  .site-foot .cols {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 720px) {
  .nav {
    display: none;
  }
  .nav-toggle { display: block; }
  .nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--green-dark);
    padding: 20px 24px 28px;
    gap: 16px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.25);
  }
  .hero { min-height: 68vh; }
  .hero .inner { padding: 60px 20px 80px; }
  .features .wrap {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .feature:nth-child(odd) {
    border-right: none;
    padding-right: 0;
  }
  .f-2 { grid-template-columns: 1fr; }
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
  .lb-close { top: 8px; right: 12px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2.3rem; }
  .sec { padding: 52px 18px; }
  .enq { padding: 22px; }
}
