/* =========================================================
   Martyna & Dawid — Wesele 20.09.2026
   Styl: boho, minimalistyczny, subtelny
   Paleta: biel / szałwiowy / szczotkowane złoto-miedź
   ========================================================= */

:root {
  --white: #fdfbf6;
  --off-white: #f6f2ea;
  --sage: #94a982;
  --sage-light: #c6d2ba;
  --sage-dark-solid: #64744f;
  --gold: #c8a662;
  --gold-light: #e3cd9c;
  --copper: #b8754f;
  --ink: #3c3a34;
  --ink-soft: #726d61;
  --line: rgba(60, 58, 52, 0.14);

  --font-serif: 'Cormorant Garamond', 'Georgia', serif;
  --font-sans: 'Jost', 'Helvetica Neue', Arial, sans-serif;

  --container: 1100px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, .serif {
  font-family: var(--font-serif);
  font-weight: 500;
  color: var(--ink);
  margin: 0;
}

p { margin: 0 0 1em; }

a { color: inherit; text-decoration: none; }

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

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

.section {
  padding: 110px 0;
}

.section--tint {
  background: var(--off-white);
}

.eyebrow {
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--sage-dark-solid);
  display: block;
  margin-bottom: 18px;
}

.section-title {
  font-size: clamp(32px, 4vw, 46px);
  text-align: center;
  margin-bottom: 8px;
}

.section-sub {
  text-align: center;
  color: var(--ink-soft);
  max-width: 560px;
  margin: 0 auto 56px;
  font-size: 17px;
}

.divider {
  width: 72px;
  height: 2px;
  margin: 22px auto 0;
  background: var(--gold);
  border-radius: 2px;
}

.divider--center { margin: 22px auto 56px; }

/* ---------- HERO ---------- */

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

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(180deg, rgba(45, 50, 38, 0.38) 0%, rgba(45, 50, 38, 0.28) 45%, rgba(30, 33, 25, 0.62) 100%), url('../img/para-04.jpg');
  background-size: cover;
  background-position: center 25%;
  transform: scale(1.02);
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 0 20px;
}

.hero__eyebrow {
  font-size: 13px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  opacity: 0.92;
  margin-bottom: 26px;
}

.hero__names {
  font-family: var(--font-serif);
  font-size: clamp(52px, 10vw, 108px);
  line-height: 1;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--white);
}

.hero__amp {
  display: inline-block;
  font-style: italic;
  color: var(--gold-light);
  padding: 0 18px;
  font-size: 0.8em;
}

.hero__date {
  margin-top: 28px;
  font-size: 15px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
}

.hero__divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.55);
  margin: 30px auto;
}

.hero__scroll {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--white);
  opacity: 0.85;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.hero__scroll::after {
  content: '';
  width: 1px;
  height: 34px;
  background: rgba(255,255,255,0.7);
  animation: scrollLine 1.8s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; opacity: 0; }
  50% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* ---------- INTRO ---------- */

.intro {
  text-align: center;
  padding-top: 120px;
  padding-bottom: 80px;
}

.intro__text {
  max-width: 620px;
  margin: 0 auto;
  font-size: 19px;
  color: var(--ink-soft);
}

.intro__text strong {
  color: var(--ink);
  font-weight: 500;
}

/* ---------- COUNTDOWN ---------- */

.countdown-banner {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: 56px;
  padding: 80px 24px;
  background-image: linear-gradient(180deg, rgba(40, 44, 34, 0.5) 0%, rgba(35, 38, 29, 0.58) 100%), url('../img/para-07.jpg');
  background-size: cover;
  background-position: center 28%;
}

.countdown {
  display: flex;
  justify-content: center;
  gap: clamp(24px, 6vw, 64px);
  flex-wrap: wrap;
}

.countdown__item {
  text-align: center;
  min-width: 74px;
}

.countdown__num {
  font-family: var(--font-serif);
  font-size: clamp(46px, 8vw, 72px);
  color: var(--white);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.countdown__label {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 4px;
}

/* ---------- VENUES ---------- */

.venues {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

@media (max-width: 820px) {
  .venues { grid-template-columns: 1fr; gap: 56px; }
}

.venue-card__photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 4px;
}

.venue-card__body {
  padding: 28px 4px 0;
  text-align: center;
}

.venue-card__tag {
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 10px;
  display: block;
}

.venue-card__name {
  font-family: var(--font-serif);
  font-size: 28px;
  margin-bottom: 8px;
}

.venue-card__addr,
.venue-card__time {
  color: var(--ink-soft);
  font-size: 15px;
  margin-bottom: 4px;
}

.venue-card__map {
  width: 100%;
  height: 230px;
  border: 0;
  margin-top: 20px;
  border-radius: 4px;
  filter: grayscale(15%) contrast(1.02);
}

.btn-map {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 12px 26px;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--sage-dark-solid);
  border-radius: 30px;
  transition: opacity .25s ease, transform .25s ease;
}

.btn-map:hover { opacity: 0.88; transform: translateY(-1px); }

.btn-map svg { width: 15px; height: 15px; }

/* ---------- TIMELINE ---------- */

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

.timeline::before {
  content: '';
  position: absolute;
  left: 5px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--line);
}

.timeline__item {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 20px;
  padding-bottom: 42px;
  padding-left: 34px;
  position: relative;
}

.timeline__item:last-child { padding-bottom: 0; }

.timeline__dot {
  position: absolute;
  left: 0;
  top: 8px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--gold);
}

.timeline__text {
  flex: 1;
  min-width: 200px;
  padding-top: 1px;
}

.timeline__text strong {
  display: block;
  font-size: 17px;
  margin-bottom: 2px;
}

.timeline__text span {
  color: var(--ink-soft);
  font-size: 14.5px;
}

.timeline__time {
  flex-shrink: 0;
  margin-left: auto;
  text-align: right;
  font-family: var(--font-serif);
  font-size: clamp(30px, 6vw, 40px);
  color: var(--gold);
  font-weight: 500;
}

/* ---------- PLACEHOLDER NOTE ---------- */

.todo-note {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  font-style: italic;
  color: var(--copper);
  background: rgba(184, 117, 79, 0.08);
  border: 1px dashed rgba(184, 117, 79, 0.35);
  padding: 8px 14px;
  border-radius: 4px;
}

/* ---------- DRESS CODE ---------- */

.dresscode {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

.dresscode__palette {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin: 30px 0 10px;
}

.dresscode__swatch {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
}

/* ---------- GIFTS ---------- */

.gifts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px;
  text-align: center;
}

@media (max-width: 820px) {
  .gifts { grid-template-columns: 1fr; gap: 52px; }
}

.gift-col__icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 26px;
}

.icon-badge {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 1px solid var(--sage-light);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.icon-badge--lg {
  width: 96px;
  height: 96px;
}

.icon-badge img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.icon-badge svg {
  width: 30px;
  height: 30px;
  stroke: var(--sage-dark-solid);
  overflow: visible;
}

.icon-badge--crossed::after {
  content: '';
  position: absolute;
  width: 130%;
  height: 1.5px;
  background: var(--copper);
  transform: rotate(-45deg);
}

.arrow-ic {
  width: 24px;
  height: 24px;
  stroke: var(--gold);
  flex-shrink: 0;
}

.gift-col__title {
  font-family: var(--font-serif);
  font-size: 21px;
  margin-bottom: 8px;
}

.gift-col__text {
  color: var(--ink-soft);
  font-size: 14.5px;
  max-width: 260px;
  margin: 0 auto;
}

.gift-col__text .foundation {
  display: block;
  margin-top: 6px;
  color: var(--copper);
  font-style: italic;
}

/* ---------- GALLERY ---------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

@media (max-width: 900px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
}

.gallery__item {
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: 3px;
  cursor: pointer;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.gallery__item:hover img { transform: scale(1.06); }

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(30, 30, 26, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 30px;
}

.lightbox.is-open { display: flex; }

.lightbox img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 3px;
}

.lightbox__close {
  position: absolute;
  top: 26px;
  right: 32px;
  color: var(--white);
  font-size: 32px;
  font-weight: 300;
  cursor: pointer;
  line-height: 1;
}

/* ---------- FOOTER ---------- */

.footer {
  text-align: center;
  padding: 90px 0 50px;
  background: var(--off-white);
}

.footer__names {
  font-family: var(--font-serif);
  font-size: 32px;
  margin-bottom: 10px;
}

.footer__meta {
  color: var(--ink-soft);
  font-size: 14px;
  margin-bottom: 4px;
}

.footer__contact {
  margin-top: 34px;
  font-size: 14px;
  color: var(--ink-soft);
}

.footer__contact-list {
  margin-top: 14px;
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.footer__contact-item {
  font-size: 15px;
  color: var(--ink);
}

.footer__contact-item a {
  color: var(--sage-dark-solid);
  font-weight: 500;
}

/* ---------- SHARED ---------- */

@media (max-width: 640px) {
  .section { padding: 76px 0; }
  .intro { padding-top: 90px; padding-bottom: 60px; }
}
