/* ============================================
   Fairview Lakefront Cottages — Design System
   ============================================ */

:root {
  --pine: #1f3d33;
  --pine-dark: #142924;
  --pine-light: #2f5548;
  --gold: #c8963e;
  --gold-light: #e0b568;
  --cream: #faf6ee;
  --cream-dark: #f1e9d8;
  --ink: #24291f;
  --ink-soft: #4b5346;
  --white: #ffffff;
  --border: #e2d9c3;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --max-width: 1180px;
  --radius: 14px;
  --shadow-soft: 0 10px 30px rgba(20, 41, 36, 0.1);
  --shadow-lift: 0 20px 50px rgba(20, 41, 36, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--pine-dark);
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 500; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.35rem; }

p {
  margin: 0 0 1em;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.9em;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
}

.section {
  padding: 88px 0;
}

.section--tight {
  padding: 56px 0;
}

.section--alt {
  background: var(--cream-dark);
}

.section--pine {
  background: var(--pine);
  color: var(--cream);
}
.section--pine h2, .section--pine h3 {
  color: var(--cream);
}

.section-head {
  max-width: 640px;
  margin: 0 0 48px;
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn--primary {
  background: var(--gold);
  color: var(--pine-dark);
  box-shadow: 0 10px 24px rgba(200, 150, 62, 0.35);
}
.btn--primary:hover { background: var(--gold-light); }

.btn--outline {
  background: transparent;
  border-color: rgba(250, 246, 238, 0.5);
  color: inherit;
}
.btn--outline:hover { background: rgba(250, 246, 238, 0.12); }

.btn--dark {
  background: var(--pine);
  color: var(--cream);
}
.btn--dark:hover { background: var(--pine-light); }

/* ---------- Top bar ---------- */
.top-bar {
  background: var(--pine-dark);
  color: rgba(250, 246, 238, 0.85);
}
.top-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 38px;
  font-size: 0.8rem;
}
.top-bar-note {
  font-weight: 500;
  letter-spacing: 0.01em;
}
.top-bar-phone {
  font-weight: 700;
  color: var(--gold-light);
  white-space: nowrap;
}
.top-bar-phone:hover {
  color: var(--cream);
}

@media (max-width: 640px) {
  .top-bar-note { display: none; }
  .top-bar .container { justify-content: center; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 246, 238, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--pine-dark);
  font-weight: 600;
}
.brand-sub {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.main-nav a {
  padding: 10px 16px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
  border-radius: 8px;
  transition: background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--pine-dark);
  background: var(--cream-dark);
}
.main-nav a[aria-current="page"] {
  font-weight: 700;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--pine-dark);
  margin: 5px 0;
  transition: all 0.25s ease;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,41,36,0.35) 0%, rgba(20,41,36,0.35) 40%, rgba(15,30,26,0.88) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding-bottom: 64px;
  max-width: 760px;
}
.hero .eyebrow { color: var(--gold-light); }
.hero h1 { color: var(--white); }
.hero-lede {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.88);
  max-width: 560px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.hero-banner {
  position: relative;
  z-index: 2;
  margin-top: 26px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: rgba(250, 246, 238, 0.14);
  border: 1px solid rgba(250,246,238,0.3);
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--cream);
}

.page-hero {
  min-height: 46vh;
  align-items: center;
}
.page-hero .hero-inner {
  padding-bottom: 0;
}

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lift);
}
.card-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.card:hover .card-img img {
  transform: scale(1.06);
}
.card-body {
  padding: 26px 26px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card-body h3 {
  margin-bottom: 0.4em;
}
.card-body p {
  color: var(--ink-soft);
  flex: 1;
}
.card-link {
  margin-top: 12px;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--pine);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.card-link .arrow { transition: transform 0.2s ease; }
.card:hover .card-link .arrow { transform: translateX(4px); }

/* ---------- Feature split ---------- */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.split img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.split.reverse {
  grid-template-columns: 0.95fr 1.05fr;
}
.split.reverse .split-media { order: 2; }

.feature-list {
  list-style: none;
  margin: 20px 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--ink-soft);
}
.feature-list li::before {
  content: "";
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--gold);
}

/* ---------- Cottage rate cards ---------- */
.cottage-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 8px;
}
.cottage-nav a {
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-soft);
  background: var(--white);
  transition: all 0.2s ease;
}
.cottage-nav a:hover {
  background: var(--pine);
  color: var(--cream);
  border-color: var(--pine);
}

.cottage {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 0;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  margin-bottom: 40px;
  scroll-margin-top: 100px;
}
.cottage-media {
  min-height: 320px;
  background-size: cover;
  background-position: center;
}
.cottage-content {
  padding: 40px 44px;
}
.cottage-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pine);
  background: var(--cream-dark);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.cottage-content h3 {
  margin-bottom: 4px;
}
.cottage-meta {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 14px;
}
.cottage-content p {
  color: var(--ink-soft);
}

.rate-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 18px;
  font-size: 0.92rem;
}
.rate-table th, .rate-table td {
  text-align: center;
  padding: 10px 6px;
  border-bottom: 1px solid var(--border);
}
.rate-table th {
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.rate-table td {
  font-weight: 700;
  color: var(--pine-dark);
}
.rate-weekly {
  margin-top: 14px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  background: var(--cream-dark);
  border-radius: 10px;
  padding: 12px 16px;
}
.rate-weekly .label {
  font-size: 0.82rem;
  color: var(--ink-soft);
  font-weight: 600;
}
.rate-weekly .value {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--pine-dark);
  font-weight: 600;
}

/* ---------- Info blocks / policy list ---------- */
.policy-block {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 36px;
  margin-bottom: 24px;
}
.policy-block h3 {
  display: flex;
  align-items: center;
  gap: 10px;
}
.policy-block h3 .tag-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--cream-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.policy-block p, .policy-block li {
  color: var(--ink-soft);
}
.policy-block ul {
  padding-left: 20px;
}

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.gallery a {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1;
  box-shadow: var(--shadow-soft);
}
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery a:hover img {
  transform: scale(1.08);
}
.gallery figcaption {
  font-size: 0.8rem;
  color: var(--ink-soft);
  margin-top: 8px;
}

/* ---------- Stat strip ---------- */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-strip .stat-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--gold-light);
  font-weight: 600;
}
.stat-strip .stat-label {
  font-size: 0.85rem;
  color: rgba(250,246,238,0.75);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.contact-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-soft);
}
.contact-row {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.contact-row:last-child { border-bottom: none; }
.contact-row .icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.contact-row .label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  font-weight: 600;
  margin-bottom: 2px;
}
.contact-row .value {
  font-weight: 600;
  color: var(--pine-dark);
  font-size: 1.05rem;
}
.contact-row a.value:hover { color: var(--gold); }

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  height: 100%;
  min-height: 360px;
}
.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--pine) 0%, var(--pine-dark) 100%);
  border-radius: 24px;
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  color: var(--cream);
  flex-wrap: wrap;
}
.cta-band h2 { color: var(--cream); margin-bottom: 6px; }
.cta-band p { color: rgba(250,246,238,0.8); margin: 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--pine-dark);
  color: rgba(250,246,238,0.82);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(250,246,238,0.12);
}
.footer-brand .brand-name { color: var(--cream); }
.footer-brand p {
  color: rgba(250,246,238,0.65);
  font-size: 0.92rem;
  margin-top: 14px;
  max-width: 280px;
}
.footer-col h4 {
  color: var(--cream);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.footer-col a {
  color: rgba(250,246,238,0.72);
  font-size: 0.92rem;
  transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--gold-light); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 0.82rem;
  color: rgba(250,246,238,0.55);
  flex-wrap: wrap;
  gap: 10px;
}
.footer-social {
  display: flex;
  gap: 12px;
}
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(250,246,238,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}
.footer-social a:hover { background: var(--gold); }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .card-grid { grid-template-columns: 1fr 1fr; }
  .split, .split.reverse { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .cottage { grid-template-columns: 1fr; }
  .cottage-media { min-height: 240px; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}

@media (max-width: 1100px) {
  .main-nav {
    position: fixed;
    top: 84px;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px 24px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
    transform: translateY(-130%);
    opacity: 0;
    transition: transform 0.25s ease, opacity 0.25s ease;
    pointer-events: none;
  }
  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .main-nav a { padding: 14px 8px; border-bottom: 1px solid var(--border); border-radius: 0; }
  .nav-toggle { display: block; }
}

@media (max-width: 720px) {
  .card-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .cta-band { flex-direction: column; text-align: center; padding: 40px 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .section { padding: 60px 0; }
  .stat-strip { grid-template-columns: 1fr 1fr; }
  .header-cta .btn { display: none; }
}
