/* ============================================================
   Haakon fyller 50 – Elegant, masculine invitation
   Palette: deep forest green, warm cream, soft taupe, muted gold
   ============================================================ */

:root {
  --color-bg: #f7f3ec;
  --color-bg-alt: #efe9df;
  --color-primary: #1e3a32;
  --color-primary-light: #2d5348;
  --color-accent: #8c7355;
  --color-gold: #b89b6a;
  --color-text: #1f2a26;
  --color-muted: #5c6b64;
  --color-border: #d9d0c3;
  --color-card: #ffffff;
  --font-serif: "Georgia", "Times New Roman", "Palatino Linotype", serif;
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 12px;
  --shadow: 0 8px 30px rgba(30, 58, 50, 0.08);
  --shadow-soft: 0 4px 16px rgba(30, 58, 50, 0.06);
  --max-width: 720px;
}

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

html {
  font-size: 17px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.65;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Subtle botanical background pattern */
.bg-pattern {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.04;
  background-image:
    radial-gradient(circle at 20% 30%, var(--color-primary) 0.8px, transparent 0.8px),
    radial-gradient(circle at 80% 70%, var(--color-accent) 0.6px, transparent 0.6px);
  background-size: 48px 48px, 64px 64px;
  pointer-events: none;
}

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

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--color-accent);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 32vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(165deg, #1a332c 0%, #243f36 45%, #2d5348 100%);
  color: #f7f3ec;
  overflow: hidden;
  padding: 2rem 1.5rem 1.5rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(184, 155, 106, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse at 70% 80%, rgba(140, 115, 85, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 1.25rem;
  font-weight: 500;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 7vw, 3.8rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  color: #faf7f2;
}

.hero-divider {
  margin: 0 auto 1.5rem;
  width: 120px;
  color: var(--color-gold);
  opacity: 0.85;
}

.floral-line {
  width: 100%;
  height: auto;
}

.hero-date {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  margin-bottom: 0.6rem;
  color: #e8e0d4;
}

.hero-place {
  font-size: 1.05rem;
  color: #c9bfb0;
  line-height: 1.5;
  font-weight: 400;
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
  padding: 4.5rem 1.5rem;
}

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

.section-header {
  text-align: center;
  margin-bottom: 2.75rem;
}

.section-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.15rem);
  font-weight: 400;
  color: var(--color-primary);
  letter-spacing: -0.01em;
  margin-bottom: 0.85rem;
}

.section-divider {
  width: 80px;
  margin: 0 auto;
  color: var(--color-accent);
  opacity: 0.7;
}

.section-divider svg {
  width: 100%;
  height: auto;
}

/* ============================================================
   INVITATION + VENUE IMAGE
   ============================================================ */
.invitation {
  padding-top: 3.5rem;
  padding-bottom: 3rem;
}

.venue-card {
  background: var(--color-card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 2.5rem;
  border: 1px solid var(--color-border);
}

.venue-image {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  object-position: center 40%;
}

.venue-caption {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  text-align: center;
  padding: 0.9rem 1rem;
  color: var(--color-muted);
  background: var(--color-bg-alt);
  letter-spacing: 0.03em;
  border-top: 1px solid var(--color-border);
}

.invite-text {
  text-align: center;
  max-width: 540px;
  margin: 0 auto;
}

.invite-text .lead {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  color: var(--color-primary);
  margin-bottom: 1.1rem;
  line-height: 1.4;
}

.invite-text p {
  color: var(--color-muted);
  font-size: 1.05rem;
}

/* ============================================================
   PRACTICAL INFO
   ============================================================ */
.practical {
  background: var(--color-bg-alt);
  position: relative;
}

.practical::before,
.practical::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-border), transparent);
}

.practical::before { top: 0; }
.practical::after { bottom: 0; }

.info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.info-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  background: var(--color-card);
  padding: 1.35rem 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(217, 208, 195, 0.6);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.info-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(145deg, #e8efe9, #d8e4dc);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}

.info-icon svg {
  width: 22px;
  height: 22px;
}

.info-content h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--color-primary);
  margin-bottom: 0.25rem;
  letter-spacing: 0.01em;
}

.info-content p {
  color: var(--color-muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.map-link {
  display: inline-block;
  margin-top: 0.4rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--color-primary-light);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.map-link:hover {
  border-bottom-color: var(--color-accent);
  color: var(--color-accent);
}

/* ============================================================
   TRAVELERS
   ============================================================ */
.travelers {
  padding-bottom: 4rem;
}

.travel-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 560px) {
  .travel-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.travel-card {
  background: var(--color-card);
  border-radius: var(--radius);
  padding: 1.75rem 1.6rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--color-border);
  text-align: center;
}

.travel-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1.1rem;
  border-radius: 50%;
  background: linear-gradient(145deg, #f0ebe3, #e4dbd0);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
}

.travel-icon svg {
  width: 24px;
  height: 24px;
}

.travel-card h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.travel-list {
  list-style: none;
  text-align: left;
}

.travel-list li {
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text);
  font-size: 0.98rem;
}

.travel-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.travel-list strong {
  font-weight: 600;
  color: var(--color-primary);
}

.muted {
  color: var(--color-muted);
  font-size: 0.9rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: linear-gradient(180deg, #1e3a32 0%, #172e28 100%);
  color: #e8e0d4;
  text-align: center;
  padding: 3.5rem 1.5rem 3rem;
}

.footer-floral {
  width: 180px;
  margin: 0 auto 1.75rem;
  color: var(--color-gold);
  opacity: 0.75;
}

.footer-line {
  width: 100%;
  height: auto;
}

.footer-message {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  line-height: 1.45;
  margin-bottom: 0.75rem;
  color: #f5f0e6;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.footer-sign {
  font-size: 1rem;
  color: var(--color-gold);
  letter-spacing: 0.06em;
  font-weight: 500;
}

/* ============================================================
   RESPONSIVE TWEAKS
   ============================================================ */
@media (max-width: 480px) {
  html {
    font-size: 16px;
  }

  .hero {
    min-height: 48vh;
    padding: 3.5rem 1.25rem 3rem;
  }

  .section {
    padding: 3.5rem 1.25rem;
  }

  .info-item {
    padding: 1.2rem 1.2rem;
    gap: 1rem;
  }

  .info-icon {
    width: 38px;
    height: 38px;
  }

  .info-icon svg {
    width: 20px;
    height: 20px;
  }

  .invite-text .lead {
    font-size: 1.3rem;
  }
}

/* Print friendly */
@media print {
  .bg-pattern {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 2rem;
  }

  .info-item:hover,
  .travel-card {
    box-shadow: none;
  }
}
