/* ═══════════════════════════════════════════════════════
   KawarthaLakes.Community — Shared Stylesheet
   ═══════════════════════════════════════════════════════ */

:root {
  --lake-deep:    #0d3b5c;
  --lake-mid:     #1a6b8a;
  --lake-light:   #4fb3d4;
  --lake-pale:    #c8eaf5;
  --forest:       #2d5a27;
  --forest-light: #5a9e50;
  --autumn:       #d4541a;
  --gold:         #e8a020;
  --cream:        #faf6ef;
  --sand:         #e8ddc8;
  --text-dark:    #1a1a1a;
  --text-mid:     #555;
  --white:        #ffffff;
  --shadow-sm:    0 4px 16px rgba(13,59,92,0.08);
  --shadow-md:    0 12px 36px rgba(13,59,92,0.13);
  --shadow-lg:    0 24px 64px rgba(13,59,92,0.18);
  --radius:       4px;
  --transition:   0.3s ease;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Lato', sans-serif;
  color: var(--text-dark);
  background: var(--cream);
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 0 5%;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
  background: rgba(13,59,92,0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(79,179,212,0.2);
  transition: box-shadow var(--transition);
}
nav.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.25); }
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem; font-weight: 700;
  color: var(--white); text-decoration: none;
  letter-spacing: -0.3px;
  white-space: nowrap;
}
.nav-logo span { color: var(--lake-light); }
.nav-links { display: flex; gap: 6px; list-style: none; align-items: center; }
.nav-links a {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; color: rgba(255,255,255,0.8);
  text-decoration: none; padding: 8px 12px; border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
}
.nav-links a:hover,
.nav-links a.active { color: var(--lake-light); background: rgba(79,179,212,0.1); }
.nav-cta {
  background: var(--autumn) !important; color: var(--white) !important;
  padding: 9px 20px !important; margin-left: 8px;
  border-radius: var(--radius);
  transition: background var(--transition), transform var(--transition) !important;
}
.nav-cta:hover { background: var(--gold) !important; color: var(--text-dark) !important; transform: translateY(-1px); }

/* Mobile hamburger */
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  padding: 6px;
}
.nav-hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--white); border-radius: 2px;
  transition: all 0.3s;
}
.nav-mobile { display: none; }

/* ── PAGE HEADER ── */
.page-header {
  padding-top: 68px;
  position: relative; min-height: 340px;
  display: flex; align-items: center;
  overflow: hidden;
}
.page-header-bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
  animation: subtleZoom 16s ease-in-out infinite alternate;
}
@keyframes subtleZoom {
  from { transform: scale(1); }
  to   { transform: scale(1.05); }
}
.page-header-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(160deg, rgba(13,59,92,0.82) 0%, rgba(13,59,92,0.55) 100%);
}
.page-header-content {
  position: relative; z-index: 2;
  padding: 60px 8%; max-width: 720px;
}
.page-header-eyebrow {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: var(--lake-light);
  margin-bottom: 12px;
  display: flex; align-items: center; gap: 10px;
}
.page-header-eyebrow::before {
  content: ''; width: 32px; height: 2px; background: var(--lake-light);
}
.page-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 900; line-height: 1.05;
  color: var(--white); margin-bottom: 16px;
  text-shadow: 0 3px 16px rgba(0,0,0,0.25);
}
.page-header h1 em { font-style: italic; color: var(--lake-light); }
.page-header p {
  font-size: 1.05rem; line-height: 1.7;
  color: rgba(255,255,255,0.82); max-width: 520px;
}
.breadcrumb {
  position: absolute; bottom: 24px; left: 8%; z-index: 2;
  display: flex; align-items: center; gap: 8px;
  font-size: 0.75rem; color: rgba(255,255,255,0.55);
}
.breadcrumb a { color: var(--lake-light); text-decoration: none; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb-sep { opacity: 0.4; }

/* ── SHARED SECTION ELEMENTS ── */
section.content-section { padding: 80px 8%; }
.section-label {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: var(--lake-mid);
  margin-bottom: 10px;
  display: flex; align-items: center; gap: 10px;
}
.section-label::before { content: ''; width: 28px; height: 2px; background: var(--lake-mid); }
.section-label.light { color: var(--lake-light); }
.section-label.light::before { background: var(--lake-light); }
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700; line-height: 1.15;
  color: var(--lake-deep); margin-bottom: 14px;
}
.section-title.light { color: var(--white); }
.section-sub {
  font-size: 1rem; line-height: 1.72; color: var(--text-mid);
  max-width: 560px; margin-bottom: 48px;
}
.section-sub.light { color: rgba(255,255,255,0.7); max-width: 560px; }

/* ── BUTTONS ── */
.btn { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; border: none; cursor: pointer; font-family: 'Lato', sans-serif; transition: all var(--transition); }
.btn-primary {
  background: var(--autumn); color: var(--white);
  padding: 14px 34px; font-size: 0.82rem;
  font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  border-radius: var(--radius);
  box-shadow: 0 6px 20px rgba(212,84,26,0.35);
}
.btn-primary:hover { background: var(--gold); color: var(--text-dark); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(212,84,26,0.4); }
.btn-secondary {
  background: var(--lake-mid); color: var(--white);
  padding: 14px 34px; font-size: 0.82rem;
  font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  border-radius: var(--radius);
}
.btn-secondary:hover { background: var(--lake-deep); transform: translateY(-2px); }
.btn-outline-dark {
  border: 2px solid var(--lake-mid); color: var(--lake-mid);
  padding: 12px 32px; font-size: 0.82rem;
  font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  border-radius: var(--radius);
}
.btn-outline-dark:hover { background: var(--lake-mid); color: var(--white); }
.btn-outline-light {
  border: 2px solid rgba(79,179,212,0.55); color: var(--lake-light);
  padding: 12px 32px; font-size: 0.82rem;
  font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  border-radius: var(--radius);
}
.btn-outline-light:hover { background: rgba(79,179,212,0.12); border-color: var(--lake-light); }
.link-arrow {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  color: var(--lake-mid); text-decoration: none;
  border-bottom: 2px solid var(--lake-light); padding-bottom: 3px;
  transition: color var(--transition), border-color var(--transition);
}
.link-arrow:hover { color: var(--autumn); border-color: var(--autumn); }

/* ── CARDS ── */
.card {
  background: var(--white); border-radius: var(--radius);
  overflow: hidden; transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

/* ── FORM ELEMENTS ── */
.form-group { margin-bottom: 22px; }
.form-label {
  display: block; font-size: 0.78rem; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; color: var(--lake-deep); margin-bottom: 8px;
}
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 13px 16px;
  border: 1.5px solid #d8e8ef; border-radius: var(--radius);
  font-family: 'Lato', sans-serif; font-size: 0.95rem; color: var(--text-dark);
  background: var(--white); outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--lake-mid);
  box-shadow: 0 0 0 3px rgba(26,107,138,0.1);
}
.form-textarea { resize: vertical; min-height: 120px; }
.form-select { appearance: none; cursor: pointer; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* ── DARK SECTION ── */
.section-dark {
  background: var(--lake-deep);
  color: var(--white);
}
.section-dark .section-title { color: var(--white); }
.section-dark .section-sub { color: rgba(255,255,255,0.7); }

/* ── FOOTER ── */
footer {
  background: #07111a;
  color: rgba(255,255,255,0.55);
  padding: 64px 8% 36px;
}
.footer-top {
  display: grid; grid-template-columns: 2.2fr 1fr 1fr 1fr; gap: 48px;
  margin-bottom: 52px;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem; font-weight: 700;
  color: var(--white); text-decoration: none;
  display: block; margin-bottom: 14px;
}
.footer-logo span { color: var(--lake-light); }
.footer-tagline { font-size: 0.87rem; line-height: 1.65; margin-bottom: 22px; color: rgba(255,255,255,0.45); }
.footer-contact-item { font-size: 0.82rem; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.footer-contact-item a { color: var(--lake-light); text-decoration: none; }
.footer-contact-item a:hover { color: var(--white); }
.footer-col-title { font-size: 0.7rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--white); margin-bottom: 18px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-links a { font-size: 0.84rem; color: rgba(255,255,255,0.45); text-decoration: none; transition: color var(--transition); }
.footer-links a:hover { color: var(--lake-light); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px; font-size: 0.76rem;
}
.footer-bottom a { color: rgba(255,255,255,0.35); text-decoration: none; margin-left: 16px; }
.footer-bottom a:hover { color: var(--lake-light); }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-up { animation: fadeUp 0.7s ease both; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.25s; }
.delay-3 { animation-delay: 0.4s; }
.delay-4 { animation-delay: 0.55s; }
.delay-5 { animation-delay: 0.7s; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  nav { padding: 0 5%; }
  .nav-mobile.open {
    display: flex; flex-direction: column;
    position: fixed; top: 68px; left: 0; right: 0;
    background: rgba(13,59,92,0.98);
    padding: 20px 5% 32px;
    gap: 4px; z-index: 999;
  }
  .nav-mobile.open a {
    font-size: 0.9rem; font-weight: 700; letter-spacing: 1px;
    text-transform: uppercase; color: rgba(255,255,255,0.85);
    text-decoration: none; padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.07);
  }
  section.content-section { padding: 56px 5%; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
