/* ========================================
   Don & Delilah Scott Family Reunion 2027
   ======================================== */

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

:root {
  --color-primary: #b45309;
  --color-primary-dark: #92400e;
  --color-primary-light: #d97706;
  --color-accent: #c2410c;
  --color-warm: #fef3c7;
  --color-warm-mid: #fde68a;
  --color-bg: #fefdfb;
  --color-bg-alt: #faf7f2;
  --color-bg-warm: #fef9f0;
  --color-text: #1c1917;
  --color-text-mid: #44403c;
  --color-text-light: #78716c;
  --color-white: #ffffff;
  --color-border: #e7e5e4;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.1);
  --radius: 8px;
  --radius-lg: 12px;
  --transition: 0.2s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--color-primary);
  text-decoration: none;
}

/* ---- Layout ---- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 740px;
}

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

.section-heading {
  font-size: 2rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 1.25rem;
  color: var(--color-text);
}

.text-lead {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--color-text-mid);
  text-align: center;
  margin-bottom: 1rem;
}

.text-body {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--color-text-light);
  text-align: center;
}

.text-note {
  font-size: 0.9rem;
  color: var(--color-text-light);
  font-style: italic;
}

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-align: center;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn-white {
  background: var(--color-white);
  color: var(--color-primary);
}

.btn-white:hover {
  background: #f5f5f4;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.85rem;
}

.btn-large {
  padding: 18px 48px;
  font-size: 1.1rem;
}

/* ---- Navbar ---- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(28, 25, 23, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background var(--transition);
}

.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-brand {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-white);
  text-decoration: none;
  letter-spacing: 0.3px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 32px;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-white);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-primary-light);
  border-radius: 1px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-white);
  border-radius: 1px;
  transition: all var(--transition);
}

/* ---- Hero (Home page) ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    url('https://images.unsplash.com/photo-1663134205083-eadaa612e21b?w=1600&q=80') center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(28, 25, 23, 0.55) 0%,
    rgba(28, 25, 23, 0.4) 50%,
    rgba(28, 25, 23, 0.65) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 20px;
  max-width: 800px;
}

.hero-eyebrow {
  font-size: 0.95rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 3px;
  opacity: 0.85;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 3.8rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.15rem;
  line-height: 1.7;
  opacity: 0.9;
  max-width: 560px;
  margin: 0 auto 3rem;
  font-weight: 300;
}

.hero-btn {
  margin-top: 1rem;
}

/* ---- Page Hero (subpages) ---- */
.page-hero {
  position: relative;
  height: 45vh;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-white);
  background-size: cover;
  background-position: center;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(28, 25, 23, 0.5);
}

.page-hero-content {
  position: relative;
  z-index: 1;
}

.page-hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.3);
}

.page-hero-content p {
  font-size: 1.1rem;
  opacity: 0.85;
  font-weight: 300;
}

/* ---- Countdown Timer ---- */
.countdown {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 2rem 0;
}

.countdown-item {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  padding: 20px 24px;
  min-width: 100px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.countdown-value {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1;
  color: var(--color-warm-mid);
}

.countdown-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 6px;
  opacity: 0.7;
  font-weight: 500;
}

/* Countdown on non-hero pages */
.countdown-page .countdown-item {
  background: var(--color-bg-warm);
  border-color: var(--color-border);
}

.countdown-page .countdown-value {
  color: var(--color-primary);
}

.countdown-page .countdown-label {
  color: var(--color-text-light);
  opacity: 1;
}

/* ---- Family Roots (Home) ---- */
.family-roots {
  padding: 100px 0;
  background: var(--color-bg-alt);
}

.family-roots-photo {
  max-width: 520px;
  margin: 2rem auto;
}

.family-roots-photo img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15), 0 1px 4px rgba(0, 0, 0, 0.08);
  border: 6px solid var(--color-white);
}

.family-roots-caption {
  max-width: 600px;
  margin: 2rem auto 0;
  text-align: center;
}

.family-roots-caption p {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--color-text-mid);
  margin-bottom: 0.4rem;
}

.family-roots-caption p:last-child {
  margin-top: 1rem;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-text);
}

/* ---- Feature Strip (Home) ---- */
.feature-strip {
  background: var(--color-bg);
  padding: 0;
}

.feature-strip-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.feature-img {
  height: 300px;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s ease;
}

.feature-img:hover {
  transform: scale(1.02);
}

/* ---- Sections ---- */
.section {
  padding: 80px 0;
}

.section-warm {
  background: var(--color-bg-warm);
}

.text-section {
  padding: 100px 0;
}

/* ---- Full Width Image ---- */
.full-image-section {
  position: relative;
}

.full-image {
  position: relative;
  height: 400px;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-white);
}

.full-image-overlay {
  position: absolute;
  inset: 0;
  background: rgba(28, 25, 23, 0.45);
}

.full-image-content {
  position: relative;
  z-index: 1;
}

.full-image-content h3 {
  font-size: 2.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.full-image-content p {
  font-size: 1.05rem;
  opacity: 0.85;
  font-weight: 300;
}

/* ---- Info Cards (Home) ---- */
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.info-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: all var(--transition);
}

.info-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.info-card-icon {
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.info-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

.info-card p {
  font-size: 0.95rem;
  color: var(--color-text-light);
  line-height: 1.6;
}

/* ---- CTA Banner ---- */
.cta-banner {
  background: var(--color-primary);
  color: var(--color-white);
  text-align: center;
  padding: 60px 24px;
}

.cta-banner h2 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.cta-banner p {
  font-size: 1.05rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  font-weight: 300;
}

/* ---- Timeline (Reunion page) ---- */
.timeline {
  margin-top: 3rem;
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--color-border);
}

.timeline-item {
  position: relative;
  margin-bottom: 2.5rem;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-marker {
  position: absolute;
  left: -34px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 3px solid var(--color-primary);
  background: var(--color-bg);
}

.timeline-marker.marker-full {
  background: var(--color-primary);
}

.timeline-content h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

.timeline-tag {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: var(--color-bg-alt);
  color: var(--color-text-light);
  margin-bottom: 0.5rem;
}

.timeline-tag.tag-highlight {
  background: var(--color-warm);
  color: var(--color-primary-dark);
}

.timeline-content p {
  font-size: 1rem;
  color: var(--color-text-mid);
  line-height: 1.7;
}

/* ---- Invited Grid (Reunion page) ---- */
.invited-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 560px;
  margin: 0 auto;
}

.invited-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--color-white);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
}

.invited-item svg {
  flex-shrink: 0;
  color: var(--color-primary);
}

.invited-item span {
  font-size: 0.95rem;
  color: var(--color-text-mid);
}

/* ---- Callout Box ---- */
.callout {
  background: var(--color-bg-warm);
  border-left: 4px solid var(--color-primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 28px 32px;
}

.callout h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

.callout p {
  font-size: 1rem;
  color: var(--color-text-mid);
  line-height: 1.7;
}

/* ---- Lodging Cards ---- */
.lodging-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.lodging-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}

.lodging-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.lodging-card-header {
  padding: 28px 24px;
  color: var(--color-white);
}

.lodging-card-header h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
}

.tier-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 0.5rem;
  opacity: 0.85;
}

.tier-large {
  background: linear-gradient(135deg, #92400e, #b45309);
}

.tier-mid {
  background: linear-gradient(135deg, #b45309, #d97706);
}

.tier-small {
  background: linear-gradient(135deg, #d97706, #f59e0b);
}

.lodging-card-body {
  padding: 24px;
}

.lodging-card-body p {
  font-size: 0.95rem;
  color: var(--color-text-mid);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.lodging-features {
  list-style: none;
  margin-bottom: 1.5rem;
}

.lodging-features li {
  font-size: 0.9rem;
  color: var(--color-text-light);
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
}

.lodging-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary-light);
}

.lodging-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* ---- Steps List (Connect page) ---- */
.steps-list {
  max-width: 480px;
  margin: 2.5rem auto;
  text-align: left;
}

.step-item {
  display: flex;
  gap: 16px;
  margin-bottom: 1.5rem;
}

.step-item:last-child {
  margin-bottom: 0;
}

.step-number {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.step-item strong {
  font-size: 1rem;
  color: var(--color-text);
  display: block;
  margin-bottom: 2px;
}

.step-item p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.5;
}

/* ---- Footer ---- */
.footer {
  background: #1c1917;
  color: rgba(255, 255, 255, 0.6);
  padding: 40px 24px;
  text-align: center;
}

.footer-brand {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1rem;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  text-decoration: none;
  transition: color var(--transition);
}

.footer-nav a:hover {
  color: rgba(255, 255, 255, 0.85);
}

/* ========================================
   Responsive
   ======================================== */

@media (max-width: 900px) {
  .info-grid,
  .lodging-tiers {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  /* Nav */
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(28, 25, 23, 0.98);
    padding: 20px 24px;
    gap: 16px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  /* Hero */
  .hero-title {
    font-size: 2.4rem;
  }

  .hero-eyebrow {
    font-size: 0.8rem;
    letter-spacing: 2px;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  /* Countdown */
  .countdown-item {
    min-width: 72px;
    padding: 16px 18px;
  }

  .countdown-value {
    font-size: 2rem;
  }

  /* Page hero */
  .page-hero {
    height: 35vh;
    min-height: 260px;
  }

  .page-hero-content h1 {
    font-size: 2.2rem;
  }

  /* Feature strip */
  .feature-strip-inner {
    grid-template-columns: 1fr;
  }

  .feature-img {
    height: 220px;
  }

  /* Full image */
  .full-image {
    height: 300px;
    background-attachment: scroll;
  }

  .full-image-content h3 {
    font-size: 1.6rem;
  }

  /* Section */
  .section {
    padding: 60px 0;
  }

  .text-section {
    padding: 60px 0;
  }

  .section-heading {
    font-size: 1.65rem;
  }

  /* Invited grid */
  .invited-grid {
    grid-template-columns: 1fr;
  }

  /* CTA */
  .cta-banner {
    padding: 48px 24px;
  }

  .cta-banner h2 {
    font-size: 1.6rem;
  }

  /* Lodging */
  .lodging-links {
    flex-direction: column;
  }

  .lodging-links .btn {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.9rem;
  }

  .countdown {
    gap: 10px;
  }

  .countdown-item {
    min-width: 62px;
    padding: 12px 14px;
  }

  .countdown-value {
    font-size: 1.6rem;
  }

  .countdown-label {
    font-size: 0.65rem;
    letter-spacing: 1px;
  }

  .btn-large {
    padding: 16px 32px;
    font-size: 1rem;
  }
}
