/* ============================================================
   AnmolFarm — Stylesheet
   ============================================================ */
:root {
  --green-900: #143a1c;
  --green-700: #1f5128;
  --green-600: #2e7d3f;
  --green-500: #3a9d52;
  --gold: #c9a24b;
  --gold-light: #e8c66a;
  --gold-dark: #a8842f;
  --gold-grad: linear-gradient(135deg, #e8c66a 0%, #c9a24b 45%, #a8842f 100%);
  --charcoal: #15140f;
  --charcoal-soft: #201e17;
  --cream: #f7f4ec;
  --sand: #efe9da;
  --ink: #1c2419;
  --muted: #5c6657;
  --white: #ffffff;
  --shadow: 0 18px 45px -20px rgba(20, 58, 28, 0.35);
  --radius: 16px;
  --maxw: 1160px;
  --header-h: 72px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: 'Cormorant Garamond', Georgia, serif; line-height: 1.12; font-weight: 600; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.section { padding: 96px 0; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--gold-dark);
  margin-bottom: 12px;
}

.section-title { font-size: clamp(2rem, 4vw, 3rem); color: var(--green-900); margin-bottom: 18px; }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-lead { color: var(--muted); font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--green-700); color: #fff; box-shadow: 0 12px 24px -12px var(--green-700); }
.btn-primary:hover { background: var(--green-600); }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.6); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: rgba(255,255,255,.22); }
.btn-outline { background: transparent; color: var(--green-700); border-color: var(--green-700); }
.btn-outline:hover { background: var(--green-700); color: #fff; }
.btn-block { width: 100%; }
.btn-gold { background: var(--gold-grad); color: var(--charcoal); box-shadow: 0 12px 26px -12px rgba(201,162,75,.85); }
.btn-gold:hover { filter: brightness(1.08); color: var(--charcoal); }

/* Decorative gold divider under section titles */
.section-head .section-title::after {
  content: ''; display: block; width: 66px; height: 3px;
  margin: 18px auto 0; border-radius: 2px; background: var(--gold-grad);
}
.about-text .section-title::after,
.location-text .section-title::after,
.contact-info .section-title::after {
  content: ''; display: block; width: 60px; height: 3px;
  margin-top: 14px; border-radius: 2px; background: var(--gold-grad);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background .3s ease, box-shadow .3s ease;
}
.site-header.scrolled {
  background: rgba(21, 20, 15, .9);
  box-shadow: 0 6px 24px -12px rgba(0,0,0,.6);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201,162,75,.3);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }

.logo { display: flex; align-items: center; }
.logo-img {
  height: 52px; width: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
  box-shadow: 0 4px 14px -4px rgba(0,0,0,.5);
  transition: transform .25s ease, box-shadow .25s ease;
}
.logo:hover .logo-img { transform: scale(1.06); box-shadow: 0 6px 18px -4px rgba(201,162,75,.6); }

.nav { display: flex; align-items: center; gap: 28px; }
.nav-link { font-size: .92rem; font-weight: 500; color: rgba(255,255,255,.92); position: relative; }
.nav-link::after { content: ''; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--gold); transition: width .25s; }
.nav-link:hover { color: var(--gold-light); }
.nav-link:hover::after { width: 100%; }
.cta-nav { background: var(--gold-grad); color: var(--charcoal) !important; padding: 9px 22px; border-radius: 999px; font-weight: 600; box-shadow: 0 6px 16px -6px rgba(201,162,75,.7); }
.cta-nav::after { display: none; }
.cta-nav:hover { color: var(--charcoal) !important; filter: brightness(1.08); transform: translateY(-1px); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 26px; height: 2px; background: #fff; transition: .3s; border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  color: #fff;
  background: url("../images/pool.jpg") center / cover no-repeat fixed;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 70% 30%, rgba(58,157,82,.35), transparent 55%),
    radial-gradient(circle at 20% 80%, rgba(201,162,75,.22), transparent 50%),
    linear-gradient(180deg, rgba(10,30,15,.55), rgba(10,30,15,.78));
  z-index: 1;
}
.hero-content { position: relative; z-index: 2; padding-top: var(--header-h); max-width: 760px; }
.hero-eyebrow { text-transform: uppercase; letter-spacing: .3em; font-size: .8rem; color: var(--gold); font-weight: 600; margin-bottom: 18px; }
.hero-title { font-size: clamp(2.6rem, 6.5vw, 5rem); margin-bottom: 22px; }
.hero-title span {
  background: var(--gold-grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero-sub { font-size: 1.15rem; color: rgba(255,255,255,.9); max-width: 600px; margin-bottom: 34px; font-weight: 300; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 44px; }

.hero-badges { display: flex; gap: 14px; flex-wrap: wrap; }
.badge {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.22);
  padding: 9px 16px; border-radius: 999px;
  font-size: .85rem; font-weight: 500;
  backdrop-filter: blur(4px);
}
.scroll-cue {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  z-index: 2; color: #fff; font-size: 1.6rem; animation: bounce 1.8s infinite;
}
@keyframes bounce { 0%,100% { transform: translate(-50%,0); } 50% { transform: translate(-50%,10px); } }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-media { position: relative; height: 480px; }
.about-img { position: absolute; border-radius: var(--radius); box-shadow: var(--shadow); background-size: cover; background-position: center; }
.img-1 {
  width: 70%; height: 70%; top: 0; left: 0;
  background-image: url("../images/exterior.jpg");
}
.img-2 {
  width: 60%; height: 60%; bottom: 0; right: 0;
  border: 6px solid var(--cream);
  background-image: url("../images/lawn.jpg");
}
.about-text .section-title { margin-top: 6px; }
.about-text p { color: var(--muted); margin-bottom: 16px; }
.about-points { list-style: none; margin: 22px 0 28px; display: grid; gap: 10px; }
.about-points li { color: var(--green-700); font-weight: 500; }

/* ---------- Amenities ---------- */
.amenities { background: var(--sand); }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.card {
  background: #fff; border-radius: var(--radius); padding: 32px 26px;
  box-shadow: var(--shadow); transition: transform .25s ease, box-shadow .25s ease;
  border: 1px solid rgba(20,58,28,.06);
}
.card { position: relative; overflow: hidden; }
.card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--gold-grad); transform: scaleX(0); transform-origin: left;
  transition: transform .3s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 28px 55px -22px rgba(20,58,28,.45); }
.card:hover::before { transform: scaleX(1); }
.card-icon {
  font-size: 1.9rem; margin-bottom: 16px;
  width: 60px; height: 60px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(201,162,75,.18), rgba(46,125,63,.16));
}
.card h3 { font-size: 1.5rem; color: var(--green-900); margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .95rem; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 240px; gap: 18px; }
.gallery-item {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background-size: cover; background-position: center; box-shadow: var(--shadow);
  cursor: pointer;
}
.gallery-item::after {
  content: attr(data-label);
  position: absolute; inset: 0;
  display: flex; align-items: flex-end; padding: 18px;
  color: #fff; font-weight: 600; font-size: 1.05rem;
  background: linear-gradient(180deg, transparent 45%, rgba(10,30,15,.78));
  opacity: .92; transition: opacity .3s, transform .4s;
}
.gallery-item { transition: transform .4s ease, box-shadow .3s ease; }
.gallery-item:hover { transform: scale(1.02); box-shadow: 0 0 0 3px var(--gold), 0 26px 50px -22px rgba(0,0,0,.55); }
.gallery-item:hover::after { opacity: 1; }
.g1 { background-image: url("../images/pool.jpg"); grid-row: span 2; }
.g2 { background-image: url("../images/lawn.jpg"); }
.g3 { background-image: url("../images/exterior.jpg"); }
.g4 { background-image: url("../images/terrace.jpg"); grid-row: span 2; }
.g5 { background-image: url("../images/bedroom-1.jpg"); }
.g6 { background-image: url("../images/outdoor-area.jpg"); }
.g7 { background-image: url("../images/bedroom-2.jpg"); }
.g8 { background-image: url("../images/entrance.jpg"); }
.g9 { background-image: url("../images/bathroom.jpg"); }
.g10 { background-image: url("../images/lawn-2.jpg"); }
.g11 { background-image: url("../images/bedroom-3.jpg"); }
.g12 { background-image: url("../images/exterior-2.jpg"); }

/* ---------- Pricing ---------- */
.pricing { background: var(--sand); }
.price-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
.price-card {
  background: #fff; border-radius: var(--radius); padding: 38px 30px; text-align: center;
  box-shadow: var(--shadow); position: relative; display: flex; flex-direction: column;
  border: 1px solid rgba(20,58,28,.06);
}
.price-card.featured {
  transform: scale(1.04); border: 2px solid var(--gold);
  box-shadow: 0 32px 60px -26px rgba(201, 162, 75, .6);
}
.price-card.featured .price {
  background: var(--gold-grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.ribbon {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: var(--green-900); font-size: .72rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; padding: 6px 16px; border-radius: 999px;
}
.price-card h3 { font-size: 1.7rem; color: var(--green-900); margin-bottom: 10px; }
.price { font-size: 1.9rem; font-weight: 700; color: var(--green-700); font-family: 'Inter', sans-serif; }
.price span { font-size: 1.1rem; }
.price-note { color: var(--muted); font-size: .85rem; margin-bottom: 22px; }
.price-card ul { list-style: none; text-align: left; margin-bottom: 26px; display: grid; gap: 10px; flex: 1; }
.price-card ul li { color: var(--muted); font-size: .95rem; }

/* ---------- Location ---------- */
.location-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; align-items: center; }
.location-text p { color: var(--muted); margin-bottom: 18px; }
.address { font-style: normal; color: var(--green-900); font-weight: 500; margin-bottom: 26px; line-height: 1.9; }
.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.map-wrap iframe { display: block; }

/* ---------- Contact ---------- */
.contact { background: var(--green-900); color: #fff; }
.contact .section-title { color: #fff; }
.contact .eyebrow { color: var(--gold); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.contact-info p { color: rgba(255,255,255,.82); margin-bottom: 22px; }
.contact-list { list-style: none; display: grid; gap: 14px; }
.contact-list li { display: flex; align-items: center; gap: 14px; font-size: 1rem; }
.contact-list li > span {
  flex: none; width: 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 1.05rem;
  background: rgba(201, 162, 75, .16);
  border: 1px solid rgba(201, 162, 75, .45);
  transition: background .25s ease, transform .25s ease;
}
.contact-list li:hover > span { background: rgba(201, 162, 75, .3); transform: translateY(-2px); }
.contact-list a:hover { color: var(--gold-light); }

.booking-form { background: #fff; border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-size: .82rem; font-weight: 600; color: var(--green-900); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid #d8d2c2; border-radius: 10px;
  font-family: inherit; font-size: .95rem; color: var(--ink); background: #fcfbf7;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--green-600); box-shadow: 0 0 0 3px rgba(46,125,63,.15);
}
.field textarea { resize: vertical; }
.form-hint { text-align: center; font-size: .82rem; color: var(--muted); margin-top: 12px; }

/* ---------- Footer ---------- */
.site-footer { background: #0c2613; color: rgba(255,255,255,.8); padding: 64px 0 0; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer-logo { height: 84px; width: 84px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold); }
.footer-brand p { margin-top: 14px; font-size: .92rem; max-width: 320px; }
.footer-links, .footer-contact { display: flex; flex-direction: column; gap: 8px; }
.footer-links h4, .footer-contact h4 { color: #fff; font-size: 1.3rem; margin-bottom: 8px; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 48px; padding: 22px 0; text-align: center; font-size: .85rem; }

/* ---------- Floating WhatsApp ---------- */
.whatsapp-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff; font-size: 1.7rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 28px -8px rgba(37,211,102,.7);
  transition: transform .25s;
}
.whatsapp-float:hover { transform: scale(1.1); }

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

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .location-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-media { height: 380px; max-width: 460px; }
  .price-cards { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .price-card.featured { transform: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .section { padding: 72px 0; }
  .nav {
    position: fixed; top: var(--header-h); right: 0; left: 0;
    flex-direction: column; gap: 0;
    background: rgba(21, 20, 15, .97); box-shadow: 0 12px 24px -10px rgba(0,0,0,.5);
    border-bottom: 1px solid rgba(201,162,75,.25);
    max-height: 0; overflow: hidden; transition: max-height .35s ease;
  }
  .nav.open { max-height: 460px; padding: 12px 0; }
  .nav-link { color: rgba(255,255,255,.92); padding: 14px 24px; width: 100%; }
  .nav-link::after { display: none; }
  .cta-nav { margin: 10px 24px; text-align: center; }
  .hero { background-attachment: scroll; }
  .nav-toggle { display: flex; }
  .nav-toggle span { background: #fff; }
}

@media (max-width: 560px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
  .g1, .g4 { grid-row: span 1; }
  .cards { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; text-align: center; }
}
