/* Colours sampled from the Kumarakom Nest logo */
:root {
  --c-green: #1d4a14;
  --c-green-mid: #3f7a2a;
  --c-gold: #b8862f;
  --c-gold-soft: #e9cf8a;
  --c-wood: #8a5a2b;
  --c-water: #2f6b5e;
  --c-cream: #fdf8e8;
  --c-tint: #f4efdc;
  --c-ink: #22301d;
  --c-white: #fff;

  --f-display: "Cormorant Garamond", Georgia, serif;
  --f-body: "Mulish", system-ui, sans-serif;

  --s-1: 0.5rem;
  --s-2: 1rem;
  --s-3: 1.5rem;
  --s-4: 2.5rem;
  --s-5: 5rem;
  --radius: 0.75rem;
  --header-h: 4.5rem;
  --shadow: 0 0.75rem 2rem rgba(29, 74, 20, 0.12);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); font-size: 100%; }
body { margin: 0; font-family: var(--f-body); color: var(--c-ink); background: var(--c-cream); line-height: 1.7; font-size: 1rem; }
img { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 0.1875rem solid var(--c-gold); outline-offset: 0.2rem; }

h1, h2, h3 { font-family: var(--f-display); color: var(--c-green); line-height: 1.1; margin: 0 0 var(--s-2); font-weight: 700; }
h1 { font-size: clamp(2.6rem, 7vw, 5rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3rem); }
h3 { font-size: 1.6rem; }
p { margin: 0 0 var(--s-2); max-width: 38rem; }

.container { width: 100%; max-width: 75rem; margin-inline: auto; padding-inline: var(--s-2); }
.section { padding-block: var(--s-5); }
.section-tint { background: var(--c-tint); }
.section-head { margin-bottom: var(--s-4); }

/* Images: always cover, size controlled here only */
.media { overflow: hidden; border-radius: var(--radius); background: var(--c-tint); }
.media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.media-tall { height: 28rem; }
.media-card { height: 15rem; border-radius: 0; }
.media-square { height: 14rem; margin-bottom: var(--s-2); }
.media-gal { height: 14rem; }

/* Buttons */
.btn { display: inline-block; padding: 0.8rem 1.6rem; border-radius: 6.25rem; font-weight: 700; text-decoration: none; border: 0.125rem solid transparent; cursor: pointer; font: inherit; font-weight: 700; transition: background 0.2s, color 0.2s; }
.btn-gold { background: var(--c-gold); color: var(--c-white); }
.btn-gold:hover { background: var(--c-wood); }
.btn-light { border-color: var(--c-white); color: var(--c-white); }
.btn-light:hover { background: var(--c-white); color: var(--c-green); }
.btn-green { background: var(--c-green); color: var(--c-white); }
.btn-green:hover { background: var(--c-water); }

/* Header */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h); transition: background 0.3s, box-shadow 0.3s; }
.site-header.scrolled { background: rgba(253, 248, 232, 0.97); box-shadow: 0 0.1rem 1rem rgba(0, 0, 0, 0.08); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.brand img { height: 3.5rem; width: auto; background: rgba(253, 248, 232, 0.9); border-radius: 0.5rem; padding: 0.15rem 0.5rem; }
.nav { display: flex; align-items: center; gap: var(--s-3); }
.nav a:not(.btn) { text-decoration: none; font-weight: 700; color: var(--c-white); }
.site-header.scrolled .nav a:not(.btn) { color: var(--c-green); }
.nav a:not(.btn):hover { color: var(--c-gold); }
.nav .btn { padding: 0.55rem 1.3rem; }

.nav-toggle { display: none; background: none; border: 0; padding: 0.5rem; cursor: pointer; }
.nav-toggle span { display: block; width: 1.6rem; height: 0.15rem; margin: 0.35rem 0; background: var(--c-white); transition: transform 0.25s, opacity 0.25s; }
.site-header.scrolled .nav-toggle span, .site-header.open .nav-toggle span { background: var(--c-green); }
.site-header.open .nav-toggle span:nth-child(1) { transform: translateY(0.5rem) rotate(45deg); }
.site-header.open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-header.open .nav-toggle span:nth-child(3) { transform: translateY(-0.5rem) rotate(-45deg); }

/* Hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; color: var(--c-white); overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(18, 40, 12, 0.85), rgba(18, 40, 12, 0.15) 70%); }
.hero-content { position: relative; z-index: 1; padding-bottom: var(--s-5); }
.hero h1 { color: var(--c-white); max-width: 50rem; animation: rise 0.9s ease both; }
.hero p { font-size: 1.2rem; max-width: 36rem; animation: rise 0.9s 0.15s ease both; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-3); animation: rise 0.9s 0.3s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(1.5rem); } to { opacity: 1; transform: none; } }

/* About */
.facts { list-style: none; padding: 0; margin: var(--s-3) 0 0; display: flex; flex-wrap: wrap; gap: var(--s-4); }
.facts li { color: var(--c-water); }
.facts strong { display: block; font-family: var(--f-display); font-size: 2.2rem; color: var(--c-gold); line-height: 1.1; }

/* Room cards */
.card-x { background: var(--c-white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); height: 100%; display: flex; flex-direction: column; }
.card-body-x { padding: var(--s-3); display: flex; flex-direction: column; flex: 1; }
.card-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; padding-top: var(--s-2); border-top: 0.0625rem solid var(--c-tint); }
.price { font-weight: 700; color: var(--c-wood); }
.link { font-weight: 700; color: var(--c-green); text-underline-offset: 0.3rem; }

/* Experiences */
.exp h3 { font-size: 1.5rem; }
.exp p { font-size: 0.95rem; }

/* Contact */
.contact-list { display: grid; gap: var(--s-1); font-style: normal; margin-top: var(--s-3); }
.contact-list a { color: var(--c-green); font-weight: 700; }
.form { background: var(--c-white); padding: var(--s-3); border-radius: var(--radius); box-shadow: var(--shadow); }
.form label { display: block; font-weight: 700; font-size: 0.9rem; margin-bottom: 0.3rem; color: var(--c-green); }
.form input, .form textarea { width: 100%; font: inherit; padding: 0.75rem 0.9rem; border: 0.0625rem solid #cfc7a8; border-radius: 0.5rem; background: var(--c-cream); color: var(--c-ink); }
.form input:focus, .form textarea:focus { outline: 0.125rem solid var(--c-gold); border-color: var(--c-gold); }
.form input.invalid { border-color: #b3261e; }
.form-note { margin: var(--s-2) 0 0; font-weight: 700; color: var(--c-green-mid); }
.form-note.error { color: #b3261e; }

/* Footer */
.footer { background: var(--c-green); color: var(--c-gold-soft); padding-block: var(--s-4); }
.footer-wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-2); }
.footer img { height: 4rem; width: auto; background: var(--c-cream); border-radius: 0.5rem; padding: 0.25rem 0.75rem; }
.footer p { margin: 0; }

/* Tablet and below */
@media (max-width: 62em) {
  .nav-toggle { display: block; }
  .nav { position: absolute; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--c-cream); padding: var(--s-2); box-shadow: 0 1rem 1.5rem rgba(0, 0, 0, 0.1); display: none; }
  .site-header.open .nav { display: flex; }
  .nav a:not(.btn) { color: var(--c-green); padding: 0.8rem var(--s-1); }
  .nav .btn { text-align: center; margin-top: var(--s-1); }
  .site-header.open { background: var(--c-cream); }
  .media-tall { height: 22rem; }
}

@media (max-width: 36em) {
  .section { padding-block: var(--s-4); }
  .media-tall { height: 18rem; }
  .media-gal { height: 9rem; }
  .media-square { height: 12rem; }
  .brand img { height: 3rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero h1, .hero p, .hero-actions { animation: none; }
}

/* ---- Additional content sections ---- */
.section-dark { background: var(--c-green); color: var(--c-cream); }
.section-dark h2 { color: var(--c-gold-soft); }
.section-dark h3 { color: var(--c-white); font-size: 1.45rem; padding-top: var(--s-2); border-top: 0.125rem solid var(--c-gold); }
.section-dark p { color: rgba(253, 248, 232, 0.85); }

.menu { list-style: none; margin: var(--s-3) 0; padding: 0; }
.menu li { padding: 0.8rem 0; border-bottom: 0.0625rem solid #d9cfa8; }
.menu span { display: block; font-family: var(--f-display); font-size: 1.4rem; font-weight: 600; color: var(--c-green); }
.menu em { font-style: normal; font-size: 0.95rem; color: var(--c-wood); }
.note { font-size: 0.95rem; color: var(--c-water); }

.quote { margin: 0; height: 100%; padding: var(--s-3); background: var(--c-white); border-radius: var(--radius); border-left: 0.3rem solid var(--c-gold); box-shadow: var(--shadow); }
.quote blockquote { margin: 0 0 var(--s-2); font-family: var(--f-display); font-size: 1.35rem; line-height: 1.45; color: var(--c-green); }
.quote figcaption { font-weight: 700; font-size: 0.9rem; color: var(--c-wood); }

.faq { border-bottom: 0.0625rem solid #d9cfa8; padding: var(--s-2) 0; }
.faq summary { cursor: pointer; font-family: var(--f-display); font-size: 1.4rem; font-weight: 600; color: var(--c-green); list-style: none; display: flex; justify-content: space-between; gap: var(--s-2); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--c-gold); font-size: 1.6rem; line-height: 1; transition: transform 0.2s; }
.faq[open] summary::after { transform: rotate(45deg); }
.faq p { margin: var(--s-1) 0 0; }

.reach-title { font-size: 1.4rem; margin-top: var(--s-4); }
.reach { list-style: none; padding: 0; margin: 0; max-width: 24rem; }
.reach li { display: flex; justify-content: space-between; padding: 0.5rem 0; border-bottom: 0.0625rem solid #d9cfa8; }
.reach strong { color: var(--c-gold); }
