/* ===== Design Tokens ===== */
:root {
  --cream: #faf5ee;
  --cream-2: #f0e8de;
  --brown: #2c1810;
  --brown-deep: #2c1810;
  --brown-soft: #4a3326;
  --terracotta: #a8361a;
  --terracotta-dark: #8b2b14;
  --terracotta-light: #d98a5f;
  --ink: #3a2a22;
  --muted: #6f5f55;
  --muted-light: #cdbcae;
  --line: #e3d6c7;

  --serif: "Playfair Display", Georgia, serif;
  --script: "Great Vibes", cursive;
  --sans: "Jost", system-ui, -apple-system, sans-serif;

  --container: 1140px;
  --radius: 6px;
}

/* ===== Reset / Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 112.5%; } /* 18px base — scales all rem sizing up */
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.15; margin: 0 0 .5em; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.section { padding: clamp(3.5rem, 8vw, 7rem) 0; }

/* ===== Typographic helpers ===== */
.script { font-family: var(--script); font-size: clamp(1.6rem, 3.5vw, 2.2rem); line-height: 1; margin: 0 0 .25rem; }
.accent { color: var(--terracotta); }
.accent-light { color: var(--terracotta-light); }

.section-head { text-align: center; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-head h2 { font-size: clamp(1.9rem, 4.5vw, 3rem); color: var(--brown); margin: 0 0 .6rem; }
.section-head .rule { display: inline-block; width: 64px; height: 2px; background: var(--terracotta); border-radius: 2px; }
.section-head.light h2 { color: #fdf7ef; }

/* ===== Buttons & Links ===== */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .9rem 1.8rem; border-radius: var(--radius);
  font-family: var(--sans); font-weight: 500; font-size: .9rem;
  letter-spacing: .04em; text-transform: uppercase; cursor: pointer;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.btn-primary { background: var(--terracotta); color: #fff; box-shadow: 0 10px 24px -10px rgba(168,54,26,.7); }
.btn-primary:hover { background: var(--terracotta-dark); transform: translateY(-2px); }

/* Nav "Book Now" CTA */
.nav .nav-cta {
  padding: .6rem 1.4rem; font-size: .78rem; color: #fff;
  box-shadow: none;
}
.nav .nav-cta:hover { color: #fff; transform: translateY(-1px); }
.nav .nav-cta::after { display: none; }

.link-underline {
  display: inline-flex; align-items: center; gap: .4rem;
  font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  font-size: .8rem; color: var(--terracotta);
  border-bottom: 1px solid var(--terracotta); padding-bottom: 3px;
  transition: gap .2s ease;
}
.link-underline:hover { gap: .8rem; }
.link-underline.small { font-size: .72rem; }

/* ===== Header ===== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: rgba(42, 24, 18, .96);
  transition: background .3s ease, box-shadow .3s ease;
}
.site-header.scrolled { box-shadow: 0 6px 24px -12px rgba(0,0,0,.5); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; min-height: 70px; }

.brand { display: inline-flex; align-items: center; gap: .6rem; color: #fdf7ef; }
.brand-mark {
  display: grid; place-items: center; width: 34px; height: 34px;
  background: var(--terracotta); color: #fff; border-radius: var(--radius); font-size: .9rem;
}
.brand-text { font-family: var(--serif); font-weight: 600; font-size: 1.05rem; line-height: 1; display: flex; flex-direction: column; }
.brand-text small { font-family: var(--sans); font-weight: 400; font-size: .55rem; letter-spacing: .35em; color: var(--terracotta-light); margin-top: 3px; }

.nav { display: flex; gap: 2rem; }
.nav a {
  color: #e8ddd2; font-size: .82rem; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase; position: relative; padding: .3rem 0;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 1.5px;
  background: var(--terracotta); transition: width .25s ease;
}
.nav a:hover::after, .nav a.active::after { width: 100%; }
.nav a:hover, .nav a.active { color: #fff; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: 0;
  cursor: pointer; padding: 6px;
}
.nav-toggle span { width: 24px; height: 2px; background: #fdf7ef; border-radius: 2px; transition: transform .3s ease, opacity .3s 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); }

/* ===== Hero ===== */
.hero {
  min-height: 100vh; display: grid; place-items: center; text-align: center;
  padding: 7rem 0 4rem;
  background:
    linear-gradient(to bottom, rgba(44,24,16,.65) 0%, rgba(44,24,16,.35) 50%, rgba(44,24,16,.75) 100%),
    url("images/pool-1.jpeg") center / cover no-repeat;
  background-attachment: scroll, fixed;
}
.hero-inner { max-width: 760px; }
.hero .script { color: var(--cream); }
.hero h1 {
  font-size: clamp(2.6rem, 7vw, 4.8rem); color: var(--cream);
  margin: .2rem 0 1.2rem; letter-spacing: .01em;
}
.hero-sub { color: rgba(250,245,238,.9); font-size: clamp(1rem, 2.2vw, 1.15rem); max-width: 560px; margin: 0 auto 2.2rem; }

/* ===== Overview ===== */
.overview { background: var(--cream); }
.overview-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.overview-text h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); margin-bottom: 1.2rem; }
.overview-text p { color: var(--muted); margin: 0 0 1rem; font-size: .98rem; }
.overview-text .link-underline { margin-top: .8rem; }
.overview-media img { width: 100%; aspect-ratio: 4/3.4; object-fit: cover; border-radius: var(--radius); box-shadow: 0 30px 60px -30px rgba(52,33,26,.4); }

/* ===== Suites ===== */
.suites { background: var(--cream-2); }
.suite-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.suite-card {
  background: var(--cream); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 18px 40px -28px rgba(52,33,26,.5); transition: transform .25s ease, box-shadow .25s ease;
}
.suite-card:hover { transform: translateY(-6px); box-shadow: 0 28px 50px -28px rgba(52,33,26,.55); }
.suite-img { aspect-ratio: 16/11; overflow: hidden; }
.suite-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.suite-card:hover .suite-img img { transform: scale(1.06); }
.suite-body { display: flex; align-items: center; justify-content: space-between; padding: 1.1rem 1.3rem 1.4rem; gap: 1rem; }
.suite-body h3 { font-size: 1.15rem; margin: 0; }
.price { text-align: right; line-height: 1.1; }
.price .amount { display: block; color: var(--terracotta); font-weight: 600; font-family: var(--serif); font-size: 1.05rem; }
.price .per { font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* ===== Amenities (dark) ===== */
.amenities { background: var(--brown-deep); color: #e8ddd2; }
.amenity-list {
  list-style: none; margin: 0 0 clamp(2.5rem, 6vw, 4rem); padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem 1.2rem;
}
.amenity-list li { display: flex; flex-direction: column; gap: .7rem; font-size: .82rem; color: #cbb9a9; letter-spacing: .02em; }
.amenity-ico {
  display: grid; place-items: center; width: 40px; height: 40px; font-size: 1rem;
  border: 1px solid rgba(217,138,95,.35); border-radius: var(--radius); color: var(--terracotta-light);
}

.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; margin-bottom: clamp(2.5rem, 6vw, 4rem); }
.feature-media { border-radius: var(--radius); overflow: hidden; min-height: 240px; }
.feature-media img { width: 100%; height: 100%; object-fit: cover; }
.feature-text {
  background: var(--brown-soft); border-radius: var(--radius);
  padding: clamp(1.6rem, 3vw, 2.6rem); display: flex; flex-direction: column; justify-content: center;
}
.feature-ico {
  display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 1rem;
  background: var(--terracotta); color: #fff; border-radius: var(--radius); font-size: 1.1rem;
}
.feature-text h3 { color: #fdf7ef; font-size: clamp(1.3rem, 2.6vw, 1.8rem); }
.feature-text p { color: #cbb9a9; font-size: .92rem; margin: 0 0 1.1rem; }
.feature-tag {
  align-self: flex-start; margin-bottom: 1.3rem;
  font-size: .68rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  color: var(--terracotta-light);
  border: 1px solid rgba(168,54,26,.5); border-radius: 999px; padding: .35rem .9rem;
}

/* Breakfast */
.breakfast h3 { color: #fdf7ef; font-size: clamp(1.2rem, 2.6vw, 1.6rem); }
.breakfast > p { color: #cbb9a9; max-width: 720px; font-size: .92rem; margin: 0 0 1.6rem; }
.food-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: .8rem; }
.food-grid img { width: 100%; aspect-ratio: 1/.78; object-fit: cover; border-radius: var(--radius); }

/* ===== Gallery ===== */
.gallery { background: var(--cream); }
.gallery-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 180px; gap: 1rem;
}
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); transition: transform .4s ease, filter .4s ease; }
.gallery-grid img:hover { transform: scale(1.02); filter: brightness(1.05); }
.gallery-grid img:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery-grid img:nth-child(4) { grid-column: span 2; }
.gallery-grid img:nth-child(7) { grid-column: span 2; }

/* ===== Contact ===== */
.contact { background: var(--cream); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.contact-info h3 { font-size: 1.5rem; font-weight: 700; color: var(--brown); margin-bottom: 2rem; }
.info-row { display: flex; gap: 1rem; margin-bottom: 1.75rem; }
.info-ico {
  flex: none; display: grid; place-items: center; width: 36px; height: 36px;
  background: var(--terracotta); color: #fff; border-radius: var(--radius); font-size: .9rem;
}
.info-row strong { display: block; font-family: var(--sans); font-weight: 600; color: var(--brown); margin-bottom: .25rem; }
.info-row p { margin: 0; color: #7a5040; font-size: .875rem; line-height: 1.6; }
.info-row a:hover { color: var(--terracotta); }
.whatsapp-note { display: inline-block; font-size: .75rem; color: var(--terracotta); margin: .15rem 0; }
.contact-media img { width: 100%; aspect-ratio: 16/11; object-fit: cover; border-radius: var(--radius); box-shadow: 0 30px 60px -30px rgba(52,33,26,.45); }

/* ===== Footer ===== */
.site-footer { background: var(--brown-deep); color: #cbb9a9; text-align: center; padding: clamp(2.5rem, 6vw, 4rem) 0; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 1.2rem; }
.footer-brand .brand-text { align-items: center; }
.footer-tag { max-width: 460px; margin: 0; font-size: .92rem; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.4rem; }
.footer-nav a { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: #cbb9a9; }
.footer-nav a:hover { color: var(--terracotta-light); }
.copyright { font-size: .75rem; color: #8a7567; margin: 0; }
.footer-bottom {
  width: 100%; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: .6rem; margin-top: .4rem; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.08);
}
.footer-credit { font-size: .75rem; color: #8a7567; margin: 0; text-align: left; }
.footer-credit a { color: var(--terracotta-light); font-weight: 500; }
.footer-credit a:hover { color: #fff; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav {
    position: fixed; inset: 70px 0 auto 0; flex-direction: column; gap: 0;
    background: rgba(42,24,18,.99); padding: 1rem 0;
    transform: translateY(-120%); transition: transform .35s ease; visibility: hidden;
  }
  .nav.open { transform: translateY(0); visibility: visible; }
  .nav a { padding: .9rem 1.5rem; width: 100%; text-align: center; }

  .overview-grid, .contact-grid { grid-template-columns: 1fr; }
  .overview-media { order: -1; }
  .suite-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-text.alt { order: 2; }
  .amenity-list { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .gallery-grid img:nth-child(1) { grid-column: span 2; grid-row: span 1; }
  .gallery-grid img:nth-child(4),
  .gallery-grid img:nth-child(7) { grid-column: span 1; }
}

@media (max-width: 560px) {
  .suite-grid { grid-template-columns: 1fr; }
  .food-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .gallery-grid img:nth-child(1) { grid-column: span 1; }
  .hero { min-height: 70vh; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

.brand-logo {
  height: 44px;
  width: auto;
  display: block;
}

.footer-logo {
  height: 56px;
}

@media (max-width: 600px) {
  .brand-logo {
    height: 36px;
  }
}
