/* Cinnamon Jungle Retreat | simple static site */
:root {
  --green: #2c4a33;
  --green-dark: #1b2e20;
  --sand: #f7f2ea;
  --sand-dark: #e9e0cf;
  --terracotta: #a5552c;
  --text: #2b2b2b;
  --muted: #6b6b6b;
  --white: #ffffff;
  --radius: 14px;
  --max: 1120px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--text); background: var(--sand); line-height: 1.65; }
img { max-width: 100%; display: block; }
a { color: var(--terracotta); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; color: var(--green-dark); line-height: 1.15; }
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
h2 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: .6rem; }
h3 { font-size: 1.5rem; margin-bottom: .3rem; }
.container { width: min(var(--max), 92%); margin: 0 auto; }
.section { padding: 80px 0; }
.section.alt { background: var(--white); }
.eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: .78rem; color: var(--terracotta); font-weight: 600; margin-bottom: .6rem; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 640px; }
.center { text-align: center; }
.center .lead { margin: 0 auto; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(246, 241, 231, .95); backdrop-filter: blur(6px); border-bottom: 1px solid var(--sand-dark); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { font-family: var(--serif); font-size: 1.6rem; font-weight: 700; color: var(--green-dark); }
.logo span { color: var(--terracotta); }
.logo:hover { text-decoration: none; }
.nav-links { display: flex; gap: 28px; list-style: none; align-items: center; }
.nav-links a { color: var(--text); font-weight: 500; font-size: .95rem; }
.nav-links a.active, .nav-links a:hover { color: var(--terracotta); text-decoration: none; }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.7rem; color: var(--green-dark); cursor: pointer; }

/* Buttons */
.btn { display: inline-block; padding: 13px 26px; border-radius: 999px; font-weight: 600; font-size: .95rem; transition: .2s; border: 2px solid transparent; cursor: pointer; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--terracotta); color: var(--white); }
.btn-primary:hover { background: #a0552f; }
.btn-outline { border-color: var(--white); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--green-dark); }
.btn-green { background: var(--green); color: var(--white); }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }

/* Photos: drop your photos in /images with these names.
   Until then a soft colour placeholder is shown. */
.photo { background-color: #8aa48f; background-size: cover; background-position: center; border-radius: var(--radius); position: relative; overflow: hidden; }
.photo::after { content: attr(data-label); position: absolute; left: 12px; bottom: 10px; font-size: .75rem; color: rgba(255,255,255,.85); letter-spacing: .05em; }
.photo.has-img::after { display: none; }

/* Hero */
.hero { position: relative; min-height: 86vh; display: flex; align-items: center; color: var(--white); border-radius: 0; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,32,25,.72), rgba(20,32,25,.25)); }
.hero .container { position: relative; z-index: 1; }
.hero h1 { color: var(--white); max-width: 720px; }
.hero p { font-size: 1.2rem; max-width: 560px; margin-top: 14px; opacity: .95; }
.hero .eyebrow { color: #f1c9a5; }

.page-hero { position: relative; min-height: 42vh; display: flex; align-items: flex-end; padding-bottom: 50px; color: var(--white); border-radius: 0; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20,32,25,.75), rgba(20,32,25,.15)); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); font-size: clamp(2.4rem, 5vw, 3.6rem); }

/* Highlights strip */
.highlights { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: -60px; position: relative; z-index: 2; }
.highlight { background: var(--white); border-radius: var(--radius); padding: 24px; box-shadow: 0 10px 30px rgba(0,0,0,.08); text-align: center; }
.highlight .icon { font-size: 1.8rem; }
.highlight strong { display: block; font-family: var(--serif); font-size: 1.35rem; color: var(--green-dark); margin-top: 6px; }
.highlight span { color: var(--muted); font-size: .9rem; }

/* Split layout */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split .photo { min-height: 420px; }
.split p + p { margin-top: 14px; }

/* Cards / grids */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; }
.card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: 0 6px 20px rgba(0,0,0,.05); }
.section.alt .card { background: var(--sand); box-shadow: none; }
.card .photo { height: 220px; border-radius: 0; }
.card-body { padding: 22px; }
.card-body p { color: var(--muted); font-size: .95rem; }

/* Amenities */
.amenities { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 30px; margin-top: 34px; list-style: none; }
.amenities li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--sand-dark); }
.amenities li span:first-child { font-size: 1.3rem; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 12px; margin-top: 36px; }
.gallery .photo { height: 100%; }
.gallery .big { grid-column: span 2; grid-row: span 2; }

/* Info table */
.info { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; margin-top: 30px; }
.info div { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--sand-dark); }
.info dt { color: var(--muted); }
.info dd { font-weight: 600; text-align: right; }

/* Location */
.map { width: 100%; height: 420px; border: 0; border-radius: var(--radius); }
.distances { list-style: none; margin-top: 20px; }
.distances li { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--sand-dark); }
.distances li span:last-child { color: var(--terracotta); font-weight: 600; white-space: nowrap; padding-left: 12px; }

/* CTA band */
.cta { background: var(--green); color: var(--white); text-align: center; padding: 70px 0; }
.cta h2 { color: var(--white); }
.cta p { opacity: .9; max-width: 560px; margin: 0 auto; }
.cta .btn-row { justify-content: center; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; }
.contact-item { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--sand-dark); }
.contact-item .icon { font-size: 1.5rem; }
.contact-item strong { display: block; }
form { background: var(--white); padding: 34px; border-radius: var(--radius); box-shadow: 0 10px 30px rgba(0,0,0,.06); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: block; font-size: .85rem; font-weight: 600; margin: 14px 0 6px; }
input, textarea, select { width: 100%; padding: 12px 14px; border: 1px solid #d8cfbe; border-radius: 10px; font: inherit; background: #fcfaf6; }
input:focus, textarea:focus, select:focus { outline: 2px solid var(--terracotta); border-color: transparent; }
textarea { min-height: 120px; resize: vertical; }
form .btn { margin-top: 22px; width: 100%; }
.note { font-size: .82rem; color: var(--muted); margin-top: 12px; }

/* Footer */
.site-footer { background: var(--green-dark); color: rgba(255,255,255,.8); padding: 50px 0 30px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.site-footer h4 { color: var(--white); font-family: var(--serif); font-size: 1.3rem; margin-bottom: 10px; }
.site-footer a { color: rgba(255,255,255,.85); }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 6px; }
.copyright { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: .82rem; opacity: .7; }

/* Floating WhatsApp button */
.wa-float { position: fixed; right: 20px; bottom: 20px; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.2); z-index: 60; }
.wa-float:hover { text-decoration: none; transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* Responsive */
@media (max-width: 900px) {
  .highlights { grid-template-columns: repeat(2, 1fr); }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 34px; }
  .split .photo { min-height: 300px; }
  .grid-3 { grid-template-columns: 1fr; }
  .amenities { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .info { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--sand); flex-direction: column; padding: 20px; gap: 16px; border-bottom: 1px solid var(--sand-dark); }
  .nav-links.open { display: flex; }
  .section { padding: 60px 0; }
  .amenities, .form-row { grid-template-columns: 1fr; }
  .highlights { margin-top: -40px; }
  form { padding: 24px; }
}

/* Language switcher */
.lang-switch { display: flex; gap: 8px; align-items: center; }
.lang-switch a { display: inline-flex; padding: 3px; border-radius: 4px; border: 2px solid transparent; line-height: 0; opacity: .75; transition: .2s; }
.lang-switch a:hover { opacity: 1; }
.lang-switch a.current { border-color: var(--terracotta); opacity: 1; }
.lang-switch img { width: 24px; height: 16px; object-fit: cover; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.12); display: block; }
/* Nav collapses earlier: more links + flags */
@media (max-width: 1020px) {
  .nav-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--sand); flex-direction: column; padding: 20px; gap: 16px; border-bottom: 1px solid var(--sand-dark); }
  .nav-links.open { display: flex; }
}
.logo { font-family: var(--serif); font-weight: 700; font-size: 1.55rem; color: var(--green-dark); }
.logo span { color: var(--terracotta); }
/* Property cards */
.stays { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 40px; text-align: left; }
.stay { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,.07); display: flex; flex-direction: column; }
.section.alt .stay { background: var(--sand); box-shadow: none; }
.stay .photo { height: 300px; border-radius: 0; }
.stay-body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.stay-body h3 { font-size: 1.9rem; }
.facts { display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--muted); font-size: .9rem; margin: 4px 0 12px; }
.badge { display: inline-block; background: #f1e3d6; color: var(--terracotta); font-weight: 600; font-size: .8rem; padding: 4px 10px; border-radius: 999px; margin-bottom: 10px; align-self: flex-start; }
.stay-body p { color: var(--muted); }
.stay-body .btn-row { margin-top: auto; padding-top: 22px; }
.btn-ghost { border-color: var(--green); color: var(--green); }
.btn-ghost:hover { background: var(--green); color: var(--white); }
.btn-airbnb { background: #ff385c; color: #fff; }
.btn-airbnb:hover { background: #e31c5f; }
.btn-wa { background: #25d366; color: #fff; }
.note-box { background: #f1e3d6; border-radius: var(--radius); padding: 18px 22px; margin-top: 28px; color: var(--text); }
/* Home hero: two properties cross-fading */
.hero-slides { overflow: hidden; }
.hero-slides::before { z-index: 1; background: linear-gradient(90deg, rgba(20,32,25,.62), rgba(20,32,25,.12)); }
.hero-slides .container { z-index: 2; }
.slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; animation: heroFade 30s infinite; }
.slide.s1 { animation-delay: 0s; } .slide.s2 { animation-delay: 6s; } .slide.s3 { animation-delay: 12s; } .slide.s4 { animation-delay: 18s; } .slide.s5 { animation-delay: 24s; }
@keyframes heroFade { 0% { opacity: 0; } 4%,20% { opacity: 1; } 24%,100% { opacity: 0; } }
.slide.s1 { opacity: 1; }
.slide-tag { position: absolute; right: 20px; top: 18px; z-index: 3; background: rgba(0,0,0,.45); color: #fff; font-size: .8rem; padding: 5px 12px; border-radius: 999px; letter-spacing: .03em; }
@media (prefers-reduced-motion: reduce) { .slide { animation: none; opacity: 0; } .slide.s1 { opacity: 1; } }
@media (max-width: 900px) { .stays { grid-template-columns: 1fr; } }
