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

:root {
  --cream:    #f4f8fb;
  --sand:     #ddeaf4;
  --tan:      #a8c8e0;
  --brown:    #2a6a8f;
  --dark:     #1a3a52;
  --green:    #1e7ea1;
  --white:    #ffffff;
  --text:     #1c3244;
  --muted:    #4a7090;
  --radius:   6px;
  --max-w:    1140px;
  --ff-head:  'Playfair Display', Georgia, serif;
  --ff-body:  'Inter', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--ff-body);
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
  font-size: 16px;
}

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

/* ─── Typography ────────────────────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--ff-head);
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark);
}

.eyebrow {
  display: block;
  font-family: var(--ff-body);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: .6rem;
}

/* ─── Utility ───────────────────────────────────────────────────────────────── */
.container { width: 90%; max-width: var(--max-w); margin-inline: auto; }
.section    { padding: 80px 0; }
.section--alt { background: var(--sand); }
.btn {
  display: inline-block;
  padding: .8rem 2rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: .04em;
  transition: all .2s;
  cursor: pointer;
}
.btn--primary  { background: var(--green); color: var(--white); }
.btn--primary:hover { background: #47634a; }
.btn--outline  { border: 2px solid var(--white); color: var(--white); }
.btn--outline:hover { background: var(--white); color: var(--dark); }

/* ─── Header / Nav ──────────────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  transition: background .3s, box-shadow .3s;
}
.site-header.scrolled {
  background: rgba(249,246,241,.97);
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
}
.logo {
  font-family: var(--ff-head);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  transition: color .3s;
}
.site-header.scrolled .logo { color: var(--dark); }

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--white);
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: border-color .2s, color .2s;
}
.site-header.scrolled .nav-links a { color: var(--text); }
.nav-links a:hover,
.nav-links a.active { border-color: var(--green); }

/* hamburger */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; }
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--white); margin: 5px 0;
  transition: background .3s;
}
.site-header.scrolled .nav-toggle span { background: var(--dark); }

/* ─── Hero ──────────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 480px;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(135deg, #1a4a6e 0%, #1e7ea1 50%, #0d3a5c 100%);
}

/* fallback gradient shows when hero-bg image is absent */
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('../images/hero.jpg');
  background-size: cover;
  background-position: center;
  opacity: .55;
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.35) 0%, rgba(0,0,0,.5) 100%);
}
.hero-content {
  position: relative; z-index: 1;
  color: var(--white);
  padding: 0 1rem;
  max-width: 760px;
}
.hero-content .eyebrow { color: var(--tan); font-size: .8rem; }
.hero-content h1 { font-size: clamp(2.4rem, 6vw, 4rem); color: var(--white); margin-bottom: 1.2rem; }
.hero-content p  { font-size: 1.15rem; opacity: .9; margin-bottom: 2rem; }
.hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* scroll cue */

/* ─── Intro / Overview ──────────────────────────────────────────────────────── */
.overview { text-align: center; }
.overview h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 1rem; }
.overview p  { max-width: 680px; margin-inline: auto; color: var(--muted); font-size: 1.05rem; }

/* ─── Stats Bar ─────────────────────────────────────────────────────────────── */
.stats-bar {
  background: var(--brown);
  padding: 40px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 2rem;
  text-align: center;
}
.stat-num  { font-family: var(--ff-head); font-size: 2rem; color: var(--cream); display: block; }
.stat-label { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--sand); margin-top: .25rem; }

/* ─── Highlights ────────────────────────────────────────────────────────────── */
.highlights h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); margin-bottom: 2.5rem; }

.hl-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.hl-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.8rem;
  border-top: 3px solid var(--green);
  box-shadow: 0 2px 12px rgba(0,0,0,.05);
}
.hl-card h3 { font-size: 1rem; margin-bottom: 1rem; color: var(--green); }
.hl-card ul { list-style: none; }
.hl-card ul li {
  padding: .35rem 0;
  padding-left: 1.2rem;
  position: relative;
  font-size: .9rem;
  color: var(--muted);
  border-bottom: 1px solid #f0ece6;
}
.hl-card ul li:last-child { border-bottom: none; }
.hl-card ul li::before {
  content: '✓';
  position: absolute; left: 0;
  color: var(--green); font-size: .8rem;
  top: .38rem;
}

/* ─── Location Cards ────────────────────────────────────────────────────────── */
.locations h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); margin-bottom: .6rem; }
.locations > .container > p { color: var(--muted); margin-bottom: 2.5rem; font-size: 1.05rem; }

.loc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.loc-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 4px 18px rgba(0,0,0,.07);
  transition: transform .25s, box-shadow .25s;
}
.loc-card:hover { transform: translateY(-4px); box-shadow: 0 10px 30px rgba(0,0,0,.12); }

.loc-img {
  width: 100%; height: 200px;
  object-fit: cover;
  background: var(--sand); /* fallback if image missing */
}
.loc-img-placeholder {
  width: 100%; height: 200px;
  background: linear-gradient(135deg, var(--sand) 0%, var(--tan) 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem;
}
.loc-body { padding: 1.4rem; }
.loc-distance {
  display: inline-block;
  background: var(--cream);
  color: var(--green);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .25rem .75rem;
  border-radius: 99px;
  margin-bottom: .7rem;
}
.loc-body h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.loc-body p  { font-size: .88rem; color: var(--muted); }

/* ─── Contact Page ──────────────────────────────────────────────────────────── */
.page-hero {
  height: 320px;
  background: linear-gradient(135deg, #1a4a6e 0%, #1e7ea1 100%);
  display: flex; align-items: center; justify-content: center;
  text-align: center; color: var(--white);
  margin-top: 68px;
}
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 5vw, 3rem); }
.page-hero p  { opacity: .85; margin-top: .6rem; font-size: 1.05rem; }

.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.contact-info h2 { font-size: 1.6rem; margin-bottom: 1rem; }
.contact-info p  { color: var(--muted); margin-bottom: 1.8rem; }
.contact-detail {
  display: flex; align-items: flex-start; gap: .9rem;
  margin-bottom: 1.4rem;
}
.contact-detail .icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--cream); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  border: 1px solid var(--sand);
}
.contact-detail strong { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.contact-detail a { color: var(--green); font-weight: 600; }

.contact-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.4rem;
  box-shadow: 0 4px 20px rgba(0,0,0,.07);
}
.contact-card h2 { font-size: 1.4rem; margin-bottom: 1.5rem; }
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; font-size: .83rem; font-weight: 600; margin-bottom: .4rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid var(--sand);
  border-radius: var(--radius);
  font-family: var(--ff-body);
  font-size: .95rem;
  color: var(--text);
  background: var(--cream);
  transition: border-color .2s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--green); background: var(--white); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ─── Gallery Page ──────────────────────────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--sand);
  position: relative;
  cursor: pointer;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .35s;
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item .caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,.6), transparent);
  color: var(--white);
  padding: 1.2rem .9rem .7rem;
  font-size: .85rem;
  font-weight: 600;
  transform: translateY(100%);
  transition: transform .3s;
}
.gallery-item:hover .caption { transform: translateY(0); }

.gallery-notice {
  background: var(--sand);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  color: var(--muted);
  margin-bottom: 2rem;
  font-size: .95rem;
}

/* ─── Footer ────────────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--brown);
  color: #e8dfd0;
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
.footer-brand .logo-f {
  font-family: var(--ff-head);
  font-size: 1.4rem;
  color: var(--cream);
  margin-bottom: .8rem;
}
.footer-brand p { font-size: .88rem; line-height: 1.7; }

.footer-col h4 {
  font-family: var(--ff-body);
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: .5rem; }
.footer-col ul a { font-size: .88rem; transition: color .2s; }
.footer-col ul a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.15);
  padding-top: 1.4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .8rem;
}
.social-links { display: flex; gap: 1rem; }
.social-links a {
  width: 34px; height: 34px;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem;
  transition: background .2s, border-color .2s;
}
.social-links a:hover { background: var(--green); border-color: var(--green); color: var(--white); }

/* ─── Mobile ────────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .nav-links { display: none; flex-direction: column; position: fixed; inset: 68px 0 0 0; background: var(--cream); padding: 2rem; gap: 1.2rem; }
  .nav-links.open { display: flex; }
  .nav-links a { color: var(--text); font-size: 1.1rem; }
  .nav-toggle { display: block; }
  .contact-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
