/* ===== Złoto-zielona paleta ===== */
:root {
  --green-deep: #2d4a3e;
  --green-mid: #3f6353;
  --green-soft: #eef3ef;
  --gold: #b8942f;
  --gold-light: #d9c07a;
  --cream: #faf7f0;
  --ink: #26332d;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: "Jost", system-ui, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
}

/* ===== Hero ===== */
.hero {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.5rem 3rem;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(184, 148, 47, 0.10), transparent 60%),
    linear-gradient(180deg, var(--green-soft), var(--cream));
}

.hero-date {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.hero-names {
  font-family: "Great Vibes", cursive;
  font-weight: 400;
  font-size: clamp(3rem, 9vw, 5.5rem);
  color: var(--green-deep);
  display: flex;
  align-items: center;
  gap: 0.4em;
  flex-wrap: wrap;
  justify-content: center;
}

.heart {
  width: 0.55em;
  height: auto;
  fill: var(--gold);
  animation: beat 1.6s ease-in-out infinite;
}

@keyframes beat {
  0%, 100% { transform: scale(1); }
  12% { transform: scale(1.12); }
  24% { transform: scale(1); }
}

.hero-sub {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-style: italic;
  color: var(--green-mid);
  margin-top: 0.8rem;
}

.countdown {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
}

.countdown div { text-align: center; }

.countdown b {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 2.2rem;
  color: var(--green-deep);
  font-variant-numeric: tabular-nums;
  min-width: 2.2ch;
}

.countdown small {
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-size: 0.7rem;
  color: var(--gold);
}

.leaf-ornament {
  width: 140px;
  margin-top: 2.5rem;
  color: var(--green-mid);
}

/* ===== Faliste przejścia między sekcjami ===== */
.divider {
  line-height: 0;
}

.divider svg {
  display: block;
  width: 100%;
  height: 64px;
}

.div-cream-to-soft { background: var(--cream); }
.div-cream-to-soft path { fill: var(--green-soft); }

.div-soft-to-deep { background: var(--green-soft); }
.div-soft-to-deep path { fill: var(--green-deep); }

.div-deep-to-cream { background: var(--green-deep); }
.div-deep-to-cream path { fill: var(--cream); }

/* ===== Sekcje ===== */
.section-title {
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  text-align: center;
  color: var(--green-deep);
  margin-bottom: 2.5rem;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 70px;
  height: 2px;
  background: var(--gold);
  margin: 0.7rem auto 0;
}

/* ===== Miejsca ===== */
.venues {
  background: var(--green-soft);
  padding: 3rem 1.5rem 4.5rem;
}

.venue-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.venue-card {
  background: #fff;
  border: 1px solid var(--gold-light);
  border-top: 4px solid var(--green-mid);
  border-radius: 10px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 6px 24px rgba(45, 74, 62, 0.08);
}

.venue-icon { font-size: 2rem; margin-bottom: 0.5rem; }

.venue-card h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.6rem;
  color: var(--gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.venue-name { font-weight: 500; font-size: 1.15rem; color: var(--green-deep); }
.venue-addr { color: var(--green-mid); }
.venue-time { margin-top: 0.3rem; font-style: italic; color: var(--gold); }

.map-embed {
  margin-top: 1.2rem;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--green-soft);
}

.map-embed iframe {
  width: 100%;
  height: 240px;
  border: 0;
  display: block;
}

/* ===== Timeline ===== */
.timeline-section {
  background: var(--green-deep);
  padding: 4rem 1.5rem;
}

.timeline-section .section-title { color: var(--cream); }

.timeline {
  list-style: none;
  max-width: 560px;
  margin: 0 auto;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  transform: translateX(-50%);
  background: var(--gold);
  opacity: 0.5;
}

.timeline li {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.2rem;
  padding: 0.9rem 0;
}

.tl-time {
  text-align: right;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.3rem;
  color: var(--gold-light);
}

.tl-dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid var(--cream);
  z-index: 1;
}

.tl-label { color: var(--cream); font-weight: 300; letter-spacing: 0.03em; }

/* ===== Stopka ===== */
.footer {
  text-align: center;
  padding: 2.5rem 1rem;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.2rem;
  color: var(--green-mid);
}

@media (max-width: 560px) {
  .timeline::before { left: 5.2rem; }
  .timeline li { grid-template-columns: 4rem auto 1fr; gap: 0.9rem; }
  .tl-time { font-size: 1.1rem; }
  .countdown { gap: 1.2rem; }
}
