@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Playfair+Display:wght@700&display=swap');

/* ============================================================
   ELM & OAK — Shared Stylesheet
   Brand palette:
     Forest Green  #314B2E
     Sage Green    #55674C
     Parchment     #F8EADE
     Acorn Brown   #815C2E
     Walnut Brown  #6C552B
   ============================================================ */

:root {
  --green:   #314B2E;
  --sage:    #55674C;
  --cream:   #F8EADE;
  --brown:   #815C2E;
  --walnut:  #6C552B;
  --white:   #ffffff;
  --grey-light: #f4f4f0;
  --grey-mid:   #e0ddd8;
  --grey-text:  #6b6560;
  --font-head: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --radius: 8px;
  --shadow: 0 2px 16px rgba(49,75,46,0.10);
  --shadow-lg: 0 8px 40px rgba(49,75,46,0.14);
  --transition: 0.22s ease;
}

/* ── Reset ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: #2a2520;
  line-height: 1.65;
  font-size: 16px;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Typography ─────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.2;
  color: var(--green);
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.1rem; }
p { color: #3d3830; }

.eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brown);
  margin-bottom: 0.5rem;
}

/* ── Layout ─────────────────────────────────────────── */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}
.section {
  padding: 80px 0;
}
.section--cream { background: var(--cream); }
.section--green { background: var(--green); }
.section--grey  { background: var(--grey-light); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ── Buttons ─────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--green);
  color: var(--cream);
  border-color: var(--green);
}
.btn-primary:hover {
  background: var(--sage);
  border-color: var(--sage);
}
.btn-outline {
  background: transparent;
  color: var(--green);
  border-color: var(--green);
}
.btn-outline:hover {
  background: var(--green);
  color: var(--cream);
}
.btn-cream {
  background: var(--cream);
  color: var(--green);
  border-color: var(--cream);
}
.btn-cream:hover {
  background: var(--white);
  border-color: var(--white);
}
.btn-brown {
  background: var(--brown);
  color: var(--cream);
  border-color: var(--brown);
}
.btn-brown:hover {
  background: var(--walnut);
  border-color: var(--walnut);
}

/* ── Navigation ─────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream);
  border-bottom: 1px solid var(--grey-mid);
  padding: 0 24px;
}
.nav__inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 160px;
}
.nav__logo {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 0.01em;
}
.nav__logo span { color: var(--brown); }
.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: #3d3830;
  transition: color var(--transition);
}
.nav__links a:hover,
.nav__links a.active { color: var(--green); font-weight: 600; }
.nav__links .nav-cta {
  background: var(--green);
  color: var(--cream);
  padding: 9px 20px;
  border-radius: var(--radius);
  font-size: 0.85rem;
}
.nav__links .nav-cta:hover { background: var(--sage); }
.nav__toggle { display: none; background: none; border: none; cursor: pointer; }

/* ── Nav dropdown ───────────────────────────────────── */
.nav__dropdown { position: relative; }
.nav__dropdown > a::after { content: ' ▾'; font-size: 0.7rem; opacity: 0.7; }
.nav__dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: -16px;
  background: var(--white);
  border: 1px solid var(--grey-mid);
  border-radius: var(--radius);
  min-width: 210px;
  box-shadow: var(--shadow-lg);
  z-index: 300;
  padding: 6px 0;
}
.nav__dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #3d3830;
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}
.nav__dropdown-menu li a:hover {
  background: var(--cream);
  color: var(--green);
  font-weight: 600;
}
.nav__dropdown-menu::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 0;
  right: 0;
  height: 8px;
}
.nav__dropdown:hover .nav__dropdown-menu { display: block; }

/* ── Breadcrumb ──────────────────────────────────────── */
.breadcrumb {
  background: var(--sage);
  padding: 12px 0;
  border-bottom: 2px solid var(--brown);
}
.breadcrumb .container {
  font-size: 0.8rem;
  color: rgba(248, 234, 222, 0.8);
}
.breadcrumb a {
  color: rgba(248, 234, 222, 0.8);
  transition: color var(--transition);
}
.breadcrumb a:hover { color: var(--cream); }
.breadcrumb .current { color: var(--cream); font-weight: 600; }

/* ── Hero ────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--green) 0%, var(--sage) 100%);
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero__content {
  position: relative;
  z-index: 1;
  max-width: 680px;
}
.hero__content .eyebrow { color: var(--cream); opacity: 0.7; }
.hero h1 { color: var(--cream); margin-bottom: 20px; }
.hero p {
  color: var(--cream);
  opacity: 0.85;
  font-size: 1.1rem;
  margin-bottom: 36px;
  max-width: 520px;
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── Page Hero (inner pages) ─────────────────────────── */
.page-hero {
  background: var(--green);
  padding: 72px 0 56px;
  text-align: center;
}
.page-hero .eyebrow { color: var(--cream); opacity: 0.7; }
.page-hero h1 { color: var(--cream); }
.page-hero p { color: var(--cream); opacity: 0.8; margin-top: 12px; font-size: 1.05rem; }

/* ── Cards ───────────────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.card__img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: var(--grey-mid);
}
.card__img-placeholder {
  width: 100%;
  height: 220px;
  background: linear-gradient(135deg, var(--sage) 0%, var(--green) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  font-size: 2rem;
  opacity: 0.6;
}
.card__body { padding: 24px; }
.card__body h3 { margin-bottom: 8px; }
.card__body p { font-size: 0.9rem; color: var(--grey-text); margin-bottom: 16px; }
.card__meta {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.card__meta span {
  font-size: 0.8rem;
  color: var(--grey-text);
  display: flex;
  align-items: center;
  gap: 5px;
}
.card__meta span::before { content: ''; }

/* ── Property detail ─────────────────────────────────── */
.property-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 320px 200px;
  gap: 8px;
  border-radius: 12px;
  overflow: hidden;
}
.gallery-main {
  grid-row: 1 / 3;
  background: linear-gradient(135deg, var(--sage) 0%, var(--green) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  font-size: 1rem;
}
.gallery-thumb {
  background: linear-gradient(135deg, var(--green) 0%, var(--walnut) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  font-size: 0.85rem;
}
.property-gallery img { width: 100%; height: 100%; object-fit: cover; }

.specs-bar {
  display: flex;
  gap: 32px;
  padding: 24px 0;
  border-top: 1px solid var(--grey-mid);
  border-bottom: 1px solid var(--grey-mid);
  margin: 28px 0;
  flex-wrap: wrap;
}
.spec-item { text-align: center; }
.spec-item strong {
  display: block;
  font-size: 1.4rem;
  color: var(--green);
  font-family: var(--font-head);
}
.spec-item span { font-size: 0.8rem; color: var(--grey-text); }

.amenity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
  margin-top: 20px;
}
.amenity-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: #3d3830;
}
.amenity-item::before {
  content: '✓';
  width: 22px;
  height: 22px;
  background: var(--cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* ── Booking Form ────────────────────────────────────── */
.booking-form {
  background: var(--cream);
  border-radius: 12px;
  padding: 32px;
  position: sticky;
  top: 88px;
}
.booking-form h3 { margin-bottom: 6px; }
.booking-form .sub { font-size: 0.875rem; color: var(--grey-text); margin-bottom: 24px; }

.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 6px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--grey-mid);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.9rem;
  background: var(--white);
  color: #2a2520;
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green);
}
.form-group textarea { resize: vertical; min-height: 90px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-note { font-size: 0.75rem; color: var(--grey-text); margin-top: 10px; text-align: center; }

/* ── Stats / Trust ───────────────────────────────────── */
.stat-block { text-align: center; padding: 24px; }
.stat-block strong {
  display: block;
  font-size: 2.4rem;
  font-family: var(--font-head);
  color: var(--cream);
  line-height: 1;
}
.stat-block span { font-size: 0.85rem; color: var(--cream); opacity: 0.75; margin-top: 4px; display: block; }

/* ── FAQ ─────────────────────────────────────────────── */
.faq-item {
  border-bottom: 1px solid var(--grey-mid);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 20px 0;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--green);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color var(--transition);
}
.faq-question:hover { color: var(--brown); }
.faq-question:hover .icon { background: var(--green); color: var(--cream); }
.faq-question .icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--green);
  flex-shrink: 0;
  transition: transform var(--transition), background var(--transition), color var(--transition);
}
.faq-item.open .icon { transform: rotate(45deg); background: var(--green); color: var(--cream); }
.faq-item.open .faq-question { color: var(--brown); }
.faq-answer {
  display: none;
  padding: 0 0 20px;
  color: var(--grey-text);
  font-size: 0.95rem;
  line-height: 1.7;
}
.faq-item.open .faq-answer { display: block; }

/* ── Split section ───────────────────────────────────── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
}
.split__panel {
  padding: 72px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.split__panel--green { background: var(--green); }
.split__panel--cream { background: var(--cream); }
.split__panel--green h2,
.split__panel--green h3,
.split__panel--green p,
.split__panel--green .eyebrow { color: var(--cream); }
.split__panel--green p { opacity: 0.85; }

/* ── Footer ──────────────────────────────────────────── */
.footer {
  background: var(--green);
  color: var(--cream);
  padding: 64px 0 32px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer__brand {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.footer__brand span { color: var(--brown); }
.footer p { font-size: 0.875rem; color: var(--cream); opacity: 0.9; line-height: 1.7; }
.footer h4 {
  color: var(--cream);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer ul li { margin-bottom: 10px; }
.footer ul li a {
  font-size: 0.875rem;
  opacity: 0.7;
  transition: opacity var(--transition);
}
.footer ul li a:hover { opacity: 1; }
.footer__bottom {
  border-top: 1px solid rgba(248,234,222,0.15);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer__bottom p { font-size: 0.8rem; opacity: 0.5; }

/* ── Divider / Accent ────────────────────────────────── */
.divider {
  width: 48px;
  height: 3px;
  background: var(--brown);
  border-radius: 2px;
  margin: 16px 0 24px;
}
.text-center { text-align: center; }
.text-center .divider { margin: 16px auto 24px; }
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.mb-8 { margin-bottom: 32px; }

/* ── Highlight box ───────────────────────────────────── */
.highlight-box {
  background: var(--cream);
  border-left: 4px solid var(--brown);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px;
  margin: 24px 0;
}
.highlight-box p { font-size: 0.9rem; color: var(--grey-text); margin: 0; }

/* ── Success message ─────────────────────────────────── */
.form-success {
  display: none;
  background: #eaf4ea;
  border: 1px solid #7bc47b;
  border-radius: var(--radius);
  padding: 16px 20px;
  text-align: center;
  color: #2a5a2a;
  font-size: 0.9rem;
  margin-top: 16px;
}

/* ── Tag / Badge ─────────────────────────────────────── */
.tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.tag--green { background: var(--cream); color: var(--green); }
.tag--brown { background: rgba(129,92,46,0.12); color: var(--brown); }

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .split__panel { padding: 48px 32px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .property-layout { grid-template-columns: 1fr !important; }
  .booking-form { position: static; }
}

@media (max-width: 640px) {
  .faq-sidebar { display: none; }
  .nav__links { display: none; }
  .nav__links.open { display: flex; flex-direction: column; position: absolute; top: 160px; left: 0; right: 0; background: var(--cream); padding: 24px; border-bottom: 1px solid var(--grey-mid); gap: 16px; z-index: 200; }
  .nav__toggle { display: block; }
  .nav__dropdown > a::after { content: ''; }
  .nav__dropdown-menu { display: block; position: static; box-shadow: none; border: none; border-radius: 6px; background: rgba(49,75,46,0.06); padding: 4px 0; margin-top: 4px; min-width: 0; }
  .nav__dropdown-menu li a { padding: 8px 12px 8px 20px; font-size: 0.82rem; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section { padding: 52px 0; }
  .hero { min-height: 70vh; }
  .footer__grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .property-gallery { grid-template-columns: 1fr; grid-template-rows: 260px 140px 140px; }
  .gallery-main { grid-row: auto; }
}

/* Google Fonts import */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Inter:wght@400;500;600&display=swap');
