/* ── Reset & Variables ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --clay:    #C4724A;
  --clay-lt: #D9906E;
  --soil:    #3A2B1F;
  --sand:    #F7F0E6;
  --leaf:    #4A5E45;
  --mist:    #EDE8E0;
  --white:   #FDFAF6;
  --ff-display: 'Cormorant Garamond', Georgia, serif;
  --ff-body:    'DM Sans', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }
body { background: var(--white); color: var(--soil); font-family: var(--ff-body); font-size: 16px; line-height: 1.6; }
img  { display: block; max-width: 100%; }
a    { color: inherit; }

/* ── Nav ────────────────────────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 4rem;
  background: rgba(253,250,246,.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(196,114,74,.15);
  transition: box-shadow .3s;
}
nav.scrolled { box-shadow: 0 2px 20px rgba(58,43,31,.08); }
.nav-logo { font-family: var(--ff-display); font-size: 1.4rem; font-weight: 600; color: var(--soil); text-decoration: none; }
.nav-logo span { color: var(--clay); }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a { text-decoration: none; color: var(--soil); font-size: .875rem; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; opacity: .7; transition: opacity .2s; }
.nav-links a:hover, .nav-links a.active { opacity: 1; color: var(--clay); }
.nav-cta { background: var(--clay); color: #fff; padding: .55rem 1.4rem; border-radius: 2px; font-size: .875rem; font-weight: 500; letter-spacing: .05em; text-transform: uppercase; text-decoration: none; transition: background .2s; }
.nav-cta:hover { background: var(--clay-lt); }
.nav-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--soil); }

/* ── Section commons ─────────────────────────────────────────────────────── */
section { padding: 6rem 4rem; }
.section-label { display: inline-block; font-size: .7rem; letter-spacing: .25em; text-transform: uppercase; color: var(--clay); margin-bottom: 1rem; }
.section-title { font-family: var(--ff-display); font-size: clamp(2rem,4vw,3rem); font-weight: 300; line-height: 1.15; color: var(--soil); }
.section-title em { font-style: italic; }
.divider { width: 48px; height: 2px; background: var(--clay); margin: 1.5rem 0; }

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn-primary { background: var(--clay); color: #fff; padding: .85rem 2.2rem; border-radius: 2px; font-size: .9rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; transition: background .2s, transform .15s; display: inline-block; }
.btn-primary:hover { background: var(--clay-lt); transform: translateY(-1px); }
.btn-ghost { border: 1px solid rgba(247,240,230,.6); color: var(--sand); padding: .85rem 2.2rem; border-radius: 2px; font-size: .9rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; transition: border-color .2s, background .2s; }
.btn-ghost:hover { border-color: var(--sand); background: rgba(247,240,230,.1); }

/* ── Hero ────────────────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh; display: grid; place-items: center; position: relative;
  background:
    linear-gradient(to bottom, rgba(58,43,31,.55) 0%, rgba(58,43,31,.25) 60%, rgba(58,43,31,.6) 100%),
    url('https://images.unsplash.com/photo-1537996194471-e657df975ab4?w=1600&q=80') center/cover no-repeat;
  text-align: center; padding: 6rem 2rem 4rem;
}
.hero-content { position: relative; z-index: 1; }
.hero-eyebrow { font-size: .75rem; letter-spacing: .25em; text-transform: uppercase; color: rgba(247,240,230,.8); margin-bottom: 1.5rem; }
.hero h1 { font-family: var(--ff-display); font-size: clamp(3.5rem,8vw,7rem); font-weight: 300; color: var(--sand); line-height: 1.05; }
.hero h1 em { font-style: italic; color: #E8C4A4; }
.hero-sub { color: rgba(247,240,230,.85); font-size: 1.05rem; max-width: 420px; margin: 1.5rem auto 2.5rem; font-weight: 300; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-scroll { position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: .5rem; color: rgba(247,240,230,.5); font-size: .7rem; letter-spacing: .15em; text-transform: uppercase; }
.scroll-line { width: 1px; height: 48px; background: linear-gradient(to bottom, transparent, rgba(247,240,230,.5)); animation: scrollPulse 2s ease-in-out infinite; }
@keyframes scrollPulse { 0%,100%{opacity:.3} 50%{opacity:1} }

/* ── Page Hero ───────────────────────────────────────────────────────────── */
.page-hero {
  padding: 10rem 4rem 4rem;
  background: linear-gradient(135deg, var(--mist) 0%, var(--sand) 100%);
  border-bottom: 1px solid rgba(196,114,74,.15);
}

/* ── About ───────────────────────────────────────────────────────────────── */
.about { background: var(--mist); }
.about-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.about-img-wrap { position: relative; }
.about-img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 2px; }
.about-badge { position: absolute; bottom: -1.5rem; right: -1.5rem; background: var(--clay); color: #fff; width: 110px; height: 110px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; font-family: var(--ff-display); text-align: center; line-height: 1.2; }
.about-badge .num { font-size: 2rem; font-weight: 600; }
.about-badge .lbl { font-size: .65rem; letter-spacing: .1em; text-transform: uppercase; }
.about p { color: #5a4535; font-weight: 300; margin-bottom: 1rem; }

/* ── Rooms ───────────────────────────────────────────────────────────────── */
.rooms { background: var(--white); }
.rooms-header, .rooms-page { max-width: 1100px; margin: 0 auto; }
.rooms-header { margin-bottom: 3rem; }
.rooms-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.rooms-grid-full { grid-template-columns: 1fr; max-width: 860px; }
.room-card { border-radius: 2px; overflow: hidden; background: var(--mist); transition: transform .3s, box-shadow .3s; }
.room-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(58,43,31,.12); }
.room-card-lg .room-img { aspect-ratio: 16/7; }
.room-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.room-body { padding: 1.5rem; }
.room-name { font-family: var(--ff-display); font-size: 1.4rem; font-weight: 400; margin-bottom: .4rem; }
.room-desc { font-size: .875rem; color: #7a6050; font-weight: 300; margin-bottom: 1.2rem; line-height: 1.5; }
.room-meta { display: flex; gap: .6rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
.room-tag { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--leaf); background: rgba(74,94,69,.1); padding: .3rem .7rem; border-radius: 20px; }
.room-price { display: flex; align-items: baseline; gap: .4rem; }
.room-price .amount { font-family: var(--ff-display); font-size: 1.6rem; font-weight: 600; color: var(--clay); }
.room-price .per { font-size: .8rem; color: #9a8070; }

/* ── Amenities ───────────────────────────────────────────────────────────── */
.amenities { background: var(--soil); color: var(--sand); }
.amenities-page { background: var(--white); }
.amenities-page .amenity { color: var(--soil); }
.amenities-page .amenity p { color: #7a6050; }
.amenities-inner { max-width: 1100px; margin: 0 auto; }
.amenities .section-title { color: var(--sand); }
.amenities .section-label { color: var(--clay-lt); }
.amenities .divider { background: var(--clay-lt); }
.amenities-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 2.5rem; margin-top: 3rem; }
.amenity { text-align: center; }
.amenity-icon { font-size: 2rem; margin-bottom: .8rem; display: block; }
.amenity h4 { font-family: var(--ff-display); font-size: 1.1rem; font-weight: 400; margin-bottom: .4rem; }
.amenity p { font-size: .85rem; color: rgba(247,240,230,.65); font-weight: 300; }
.amenity-lg { background: var(--mist); padding: 2rem; border-radius: 2px; }
.amenity-lg h4 { font-size: 1.3rem; }
.amenity-lg p { color: #7a6050 !important; font-size: .9rem; }

/* ── Gallery ─────────────────────────────────────────────────────────────── */
.gallery-page { padding: 4rem; background: var(--mist); }
.gallery-masonry { max-width: 1100px; margin: 0 auto; columns: 3; column-gap: 12px; }
.gallery-item { position: relative; margin-bottom: 12px; overflow: hidden; border-radius: 2px; break-inside: avoid; }
.gallery-item img { width: 100%; display: block; transition: transform .4s; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-overlay { position: absolute; inset: 0; background: rgba(58,43,31,.4); display: flex; align-items: flex-end; padding: 1rem; opacity: 0; transition: opacity .3s; }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span { color: #fff; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }

/* ── Testimonials ────────────────────────────────────────────────────────── */
.testimonials { background: var(--white); }
.testimonials-inner { max-width: 1100px; margin: 0 auto; }
.testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; margin-top: 3rem; }
.testi-card { background: var(--mist); padding: 2rem; border-radius: 2px; border-left: 3px solid var(--clay); }
.testi-stars { color: var(--clay); margin-bottom: .75rem; }
.testi-text { font-family: var(--ff-display); font-size: 1.05rem; font-style: italic; font-weight: 300; line-height: 1.6; color: var(--soil); margin-bottom: 1.2rem; }
.testi-author { font-size: .8rem; font-weight: 500; letter-spacing: .05em; text-transform: uppercase; color: var(--clay); }
.testi-origin { font-size: .75rem; color: #9a8070; }

/* ── Contact Page ────────────────────────────────────────────────────────── */
.contact-page { background: var(--white); }
.contact-page-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.contact-detail { display: flex; align-items: flex-start; gap: .75rem; margin-bottom: 1.25rem; font-size: .9rem; }
.contact-detail .icon { font-size: 1.1rem; margin-top: .1rem; flex-shrink: 0; }

/* ── Booking ─────────────────────────────────────────────────────────────── */
.booking-section { background: var(--white); }
.booking-inner { max-width: 760px; margin: 0 auto; }
.booking-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-group-full { grid-column: 1 / -1; }
.form-group label { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--soil); font-weight: 500; }
.form-group .req { color: var(--clay); }
.form-group input, .form-group select, .form-group textarea {
  background: var(--mist); border: 1px solid rgba(58,43,31,.15);
  color: var(--soil); padding: .75rem 1rem; border-radius: 2px;
  font-family: var(--ff-body); font-size: .9rem; outline: none;
  transition: border-color .2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--clay); }
.form-group textarea { resize: vertical; }
.btn-book { background: var(--clay); color: #fff; padding: 1rem 2.5rem; border: none; border-radius: 2px; font-family: var(--ff-body); font-size: .95rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; transition: background .2s; align-self: flex-start; }
.btn-book:hover { background: var(--clay-lt); }
.form-error { background: #fee; border-left: 3px solid #c33; padding: 1rem; border-radius: 2px; font-size: .9rem; color: #a00; margin-bottom: 1rem; }
.price-preview { background: var(--mist); border: 1px dashed var(--clay); padding: .9rem 1.2rem; border-radius: 2px; display: flex; align-items: center; justify-content: space-between; font-size: .9rem; }
.price-preview strong { font-family: var(--ff-display); font-size: 1.2rem; color: var(--clay); }
.booking-success { text-align: center; padding: 4rem 2rem; background: var(--mist); border-radius: 2px; }
.booking-success .success-icon { font-size: 3rem; margin-bottom: 1rem; }
.booking-success h2 { font-family: var(--ff-display); font-size: 2rem; font-weight: 400; margin-bottom: .75rem; }
.booking-success p { color: #5a4535; }

/* ── Footer ──────────────────────────────────────────────────────────────── */
footer { background: var(--soil); color: rgba(247,240,230,.5); padding: 2.5rem 4rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-brand { font-family: var(--ff-display); font-size: 1.1rem; color: var(--sand); }
.footer-brand span { color: var(--clay-lt); }
footer p { font-size: .8rem; }
.footer-socials { display: flex; gap: 1.25rem; }
.footer-socials a { color: rgba(247,240,230,.5); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; transition: color .2s; }
.footer-socials a:hover { color: var(--clay-lt); }

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); padding: 1.5rem; gap: 1rem; border-bottom: 1px solid var(--mist); }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  section, .gallery-page { padding: 4rem 1.5rem; }
  .page-hero { padding: 8rem 1.5rem 3rem; }
  .about-inner, .contact-page-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-badge { right: 1rem; bottom: 1rem; }
  .rooms-grid { grid-template-columns: 1fr; }
  .amenities-grid { grid-template-columns: repeat(2,1fr); gap: 1.5rem; }
  .testi-grid { grid-template-columns: 1fr; }
  .gallery-masonry { columns: 2; }
  .form-grid { grid-template-columns: 1fr; }
  footer { flex-direction: column; text-align: center; padding: 2rem 1.5rem; }
}
@media (max-width: 480px) {
  .gallery-masonry { columns: 1; }
  .amenities-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
