/* ============================================================
   ALL OUR PASTS ARE HISTORY — Main Stylesheet
   ============================================================ */

:root {
  --green-dark:    #2C4A3E;
  --green-mid:     #3D6B5C;
  --green-light:   #5A8F7E;
  --parchment:     #F2EBD9;
  --cream:         #FAF7F0;
  --sepia-dark:    #3A2A1E;
  --sepia-mid:     #8B6E52;
  --sepia-light:   #C9A87A;
  --text-dark:     #2A1F14;
  --text-mid:      #5C4A38;
  --navbar-height: 112px;
}

/* ── Reset & Base ──────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Libre Baskerville', Georgia, serif;
  color: var(--text-dark);
  background: var(--cream);
  line-height: 1.8;
}

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

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.25;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ── Typography helpers ────────────────────────────────────── */
.section-label {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 0.78rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--sepia-mid);
  display: block;
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  color: var(--sepia-dark);
  margin-bottom: 1.2rem;
}

.section-divider {
  width: 48px;
  height: 2px;
  background: var(--sepia-mid);
  margin-bottom: 2rem;
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
  padding: 0.9rem 2.4rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.btn-green {
  background: var(--green-dark);
  color: #ffffff;
  border-color: var(--green-dark);
}
.btn-green:hover {
  background: var(--green-mid);
  border-color: var(--green-mid);
  color: #fff;
}

.btn-outline-light {
  background: transparent;
  color: var(--sepia-light);
  border-color: var(--sepia-light);
}
.btn-outline-light:hover {
  background: var(--sepia-light);
  color: var(--sepia-dark);
}

.btn-outline-dark {
  background: transparent;
  color: var(--green-dark);
  border-color: var(--green-dark);
}
.btn-outline-dark:hover {
  background: var(--green-dark);
  color: var(--parchment);
}

/* ── NAVBAR ────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.4rem 3rem;
  background: rgba(44, 74, 62, 0.97);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(201, 168, 122, 0.25);
  transition: padding 0.3s;
}

.navbar.scrolled { padding: 0.9rem 3rem; }

.nav-brand-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  flex-shrink: 0;
}

.nav-brand {
  font-family: 'Playfair Display', serif;
  font-size: 2.1rem;
  font-style: italic;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  letter-spacing: 0.06em;
  line-height: 1.1;
  margin-left: 7px;
}

.nav-subtitle {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.82);
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links {
  align-self: center;
}

.nav-links a {
  color: #ffffff;
  text-decoration: none;
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  position: relative;
  transition: color 0.3s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--sepia-light);
  transition: width 0.3s;
}

.nav-links a:hover { color: var(--sepia-light); }
.nav-links a:hover::after { width: 100%; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--parchment);
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── HERO ──────────────────────────────────────────────────── */
.hero {
  height: calc(100vh - var(--navbar-height));
  min-height: 520px;
  margin-top: var(--navbar-height);
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero-family.jpg');
  background-size: cover;
  background-position: center top;
  filter: sepia(15%) brightness(0.75);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(15, 10, 5, 0.05) 0%,
    rgba(15, 10, 5, 0.1)  50%,
    rgba(15, 10, 5, 0.65) 75%,
    rgba(44, 74, 62, 0.92) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 2rem 2rem 2rem;
  max-width: 820px;
}


.hero-tagline {
  position: absolute;
  top: 6.5rem;
  left: 3.2rem;
  z-index: 1;
  font-size: 1.6rem;
  color: #ffffff;
  font-style: normal;
  letter-spacing: 0.02em;
  line-height: 1.4;
  white-space: nowrap;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45);
}


/* ── HERO CTA STRIP ────────────────────────────────────────── */
.hero-cta {
  background: var(--cream);
  text-align: center;
  padding: 2.5rem 2rem;
}

/* ── PHILOSOPHY ────────────────────────────────────────────── */
.philosophy {
  padding: 0.5rem 0 1rem;
  background: var(--cream);
}

.philosophy .inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.philosophy-intro {
  margin: 1rem auto 4rem;
  width: fit-content;
  max-width: 1100px;
  text-align: left;
  font-size: 1.15rem;
  line-height: 1.95;
  color: var(--text-mid);
}

.philosophy-text p {
  color: var(--text-mid);
  font-size: 1.05rem;
  line-height: 1.95;
  margin-bottom: 1.4rem;
}

.philosophy-image-wrap {
  position: relative;
}

.philosophy-image-wrap img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center top;
  filter: sepia(25%) brightness(0.9);
}

.img-border {
  position: absolute;
  top: -14px;
  left: -14px;
  right: 14px;
  bottom: 14px;
  border: 1px solid var(--sepia-light);
  pointer-events: none;
}

/* ── CONNECTION (two columns) ───────────────────────────────── */
.connection {
  padding: 4.5rem 0 4.5rem;
  background: var(--parchment);
}

.connection-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.connection-text .section-title { color: var(--sepia-dark); }

.connection-footer {
  text-align: center;
  margin-top: 3rem;
  font-size: 1.15rem;
  font-style: italic;
  color: var(--sepia-dark);
  letter-spacing: 0.02em;
}
.connection-title { font-size: clamp(1.2rem, 2.5vw, 1.7rem); }

.connection-text p {
  color: var(--text-mid);
  font-size: 1.05rem;
  line-height: 1.95;
  margin-bottom: 1.4rem;
}

.connection-image img {
  width: 100%;
  height: auto;
  display: block;
  filter: grayscale(50%) brightness(0.9);
}

/* ── BEYOND NAMES AND DATES ────────────────────────────────── */
.beyond {
  padding: 7rem 0;
  background: var(--parchment);
}

.beyond-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.beyond-text .section-title { color: var(--sepia-dark); }

.beyond-text p {
  color: var(--text-mid);
  font-size: 1.05rem;
  line-height: 1.95;
  margin-bottom: 1.4rem;
}

.beyond-image img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(20%) brightness(0.88);
}

/* ── EXPERT KNOWLEDGE ──────────────────────────────────────── */
.expert {
  padding: 4.5rem 0;
  background: var(--cream);
}

.expert-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.expert-text .section-title { color: var(--sepia-dark); }

.expert-specialties {
  font-style: italic;
  color: var(--sepia-dark);
}

.expert-list {
  margin: 0.5rem 0 0 1.2rem;
  padding: 0;
}

.expert-list li {
  margin-bottom: 0.6rem;
  color: var(--text-mid);
  line-height: 1.7;
}

.expert-text p {
  color: var(--text-mid);
  font-size: 1.05rem;
  line-height: 1.95;
  margin-bottom: 1.4rem;
}

.expert-image img {
  width: 100%;
  height: auto;
  display: block;
  filter: sepia(15%) brightness(0.9);
}

/* ── PHOTO STRIP ───────────────────────────────────────────── */
.photo-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 260px;
  overflow: hidden;
}

.strip-item {
  overflow: hidden;
  position: relative;
}

.strip-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(40%) brightness(0.82) contrast(1.05);
  transition: transform 0.55s ease, filter 0.55s ease;
}

.strip-item:hover img {
  transform: scale(1.07);
  filter: sepia(15%) brightness(0.9) contrast(1.05);
}

/* ── PILLARS ───────────────────────────────────────────────── */
.pillars {
  padding: 7rem 0;
  background: var(--parchment);
}

.pillars-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 4rem;
}

.pillars-header .section-divider { margin: 0 auto 1.5rem; }

.pillars-header .intro {
  color: var(--text-mid);
  font-style: italic;
  font-size: 1.05rem;
  letter-spacing: 0.03em;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}

.pillar-card {
  background: var(--green-dark);
  padding: 3rem 2.4rem;
  position: relative;
  overflow: hidden;
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--sepia-light);
}

.pillar-num {
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  color: rgba(201, 168, 122, 0.15);
  position: absolute;
  top: 0.8rem; right: 1.5rem;
  line-height: 1;
}

.pillar-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-style: italic;
  color: var(--sepia-light);
  margin-bottom: 1.1rem;
}

.pillar-card p {
  color: rgba(242, 235, 217, 0.82);
  font-size: 0.96rem;
  line-height: 1.85;
}

/* ── HOW WE START ──────────────────────────────────────────── */
.how-start {
  padding: 4.5rem 0;
  background: var(--parchment);
}

.how-start .inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.how-start-image img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  object-position: bottom;
  display: block;
  filter: sepia(20%) brightness(0.88);
}

.how-start-text p {
  color: var(--text-mid);
  line-height: 1.95;
  margin-bottom: 1.4rem;
}

.how-start-text strong { color: var(--sepia-dark); }

.how-start-text .btn { margin-top: 0.5rem; }

.how-start-contact {
  margin-top: 2.2rem;
  font-size: 0.95rem;
  color: var(--text-mid);
}

.how-start-contact a {
  color: var(--green-dark);
  text-decoration: none;
  font-weight: 700;
}

.how-start-contact a:hover { text-decoration: underline; }

/* ── TESTIMONIALS ──────────────────────────────────────────── */
.testimonials {
  padding: 6rem 0;
  background: #1a3528;
  position: relative;
  overflow: hidden;
}

.testimonials::before {
  content: '\201C';
  font-family: 'Playfair Display', serif;
  font-size: 22rem;
  color: rgba(255,255,255,0.04);
  position: absolute;
  top: -3rem; left: 1.5rem;
  line-height: 1;
  pointer-events: none;
}

.testimonials > .container {
  max-width: 860px;
  text-align: left;
  position: relative;
  z-index: 1;
}

.testimonials .section-title { color: var(--parchment); }
.testimonials-title { text-align: center; margin-bottom: 2.5rem; }
.testimonials .section-divider {
  background: rgba(255, 255, 255, 0.3);
  margin: 0 auto 3rem;
}

/* Carousel */
.carousel-track { overflow: hidden; }

.slide { display: none; }
.slide.active { display: block; animation: fadeUp 0.55s ease; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.slide-quote {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 1.08rem;
  font-style: italic;
  letter-spacing: 0.03em;
  color: var(--parchment);
  line-height: 1.95;
  margin-bottom: 2rem;
}

.slide-author {
  font-family: 'Playfair Display', serif;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.slide-detail {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.carousel-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.8rem;
  margin-top: 2.5rem;
}

.car-btn {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}

.car-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.dots {
  display: flex;
  gap: 0.5rem;
}

.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  border: none;
  transition: background 0.3s;
}

.dot.active { background: rgba(255, 255, 255, 0.85); }

/* ── CTA BAND ──────────────────────────────────────────────── */
.cta-band {
  padding: 5.5rem 2rem;
  background: linear-gradient(135deg, var(--green-dark) 0%, #182e24 100%);
  text-align: center;
}

.cta-band h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--parchment);
  margin-bottom: 0.8rem;
}

.cta-band p {
  color: rgba(242, 235, 217, 0.75);
  font-style: italic;
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  margin-bottom: 2.2rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── FOOTER ────────────────────────────────────────────────── */
footer {
  background: var(--green-dark);
  padding: 3.5rem 2rem 2rem;
  text-align: center;
}

.footer-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-style: italic;
  color: #fff;
  letter-spacing: 0.06em;
  margin-bottom: 1.8rem;
}

.footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  list-style: none;
  margin-bottom: 1.5rem;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-family: 'Libre Baskerville', Georgia, serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.03em;
  transition: color 0.3s;
}

.footer-nav a:hover { color: #fff; }

.footer-social {
  margin-bottom: 1.8rem;
}

.footer-social a {
  color: #fff;
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  transition: opacity 0.3s;
}

.footer-social a:hover { opacity: 0.65; }

.footer-rule {
  width: 60px;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
  margin: 0 auto 1.5rem;
}

.footer-copy {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
}

/* ── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 900px) {
  .philosophy .inner,
  .how-start .inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .philosophy-image-wrap { order: -1; }

  .philosophy-image-wrap img,
  .how-start-image img { height: 360px; }

  .pillars-grid { grid-template-columns: 1fr; }

  .photo-strip {
    grid-template-columns: repeat(2, 1fr);
    height: 300px;
  }
}

@media (max-width: 640px) {
  .navbar { padding: 1rem 1.5rem; }
  .navbar.scrolled { padding: 0.7rem 1.5rem; }

  .nav-links {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(44, 74, 62, 0.99);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
  }

  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1.2rem; }

  .hamburger { display: flex; }

  .photo-strip { height: 200px; }

  .cta-buttons { flex-direction: column; align-items: center; }
}
