@font-face {
  font-family: 'Gemola';
  src: url('fonts/GemolaSK.woff2') format('woff2'),
       url('fonts/GemolaSK.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

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

:root {
  --cream:      #f7f3ed;
  --cream-dark: #ede6db;
  --green-1:    #716F49;
  --green-2:    #9C987B;
  --rose-1:     #c9a99a;
  --rose-2:     #b8897a;
  --rose-3:     #9e6e62;
  --text:       #2e2e2e;
  --text-light: #9C987B;
  --border:     #d8cebc;
}

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--text);
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 14px;
  line-height: 1.7;
}

/* ── TYPOGRAPHY UTILITIES ─────────────────────────────── */
.section-label {
  font-family: 'Jost', sans-serif;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 10px;
}

.section-title {
  font-family: 'Gemola', serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 400;
  text-align: center;
  color: var(--green-1);
  margin-bottom: 25px;
  letter-spacing: 1px;
}

.ornament { color: var(--green-1); margin: 0 6px; }

/* ── SECTION DIVIDER ──────────────────────────────────── */
.section-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 400px;
  margin: 32px auto;
}
.section-divider span:first-child,
.section-divider span:last-child {
  flex: 1;
  height: 1px;
  background: var(--border);
}
.div-ornament {
  flex: none;
  font-size: 10px;
  color: var(--green-1);
}

/* ── HEADER ───────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(247, 243, 237, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 52px;
  width: auto;
  display: block;
  object-fit: contain;
}

.header-nav {
  display: flex;
  gap: 28px;
}

.header-nav a {
  font-family: 'Jost', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #716F49;
  text-decoration: none;
  transition: color 0.2s;
}

.header-nav a:hover { color: var(--green-1); }

/* ── HERO ─────────────────────────────────────────────── */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 85px 24px 0px;
}

/* ── HERO PHOTOS ──────────────────────────────────────── */
.hero-photos {
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: flex-start;
  margin: 36px 0 40px;
  width: 100%;
  max-width: 780px;
}

.hero-photo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  max-width: 220px;
}

.hero-photo-card {
  width: 100%;
  aspect-ratio: 2/3;
  overflow: hidden;
  background: var(--cream-dark);
  position: relative;
}


.hero-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-photo-card.hero-photo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-photo-card.hero-photo-placeholder::after {
  content: "📷";
  font-size: 28px;
  opacity: 0.3;
}

.hero-photo-card.hero-photo-placeholder img { display: none; }

.hero-photo-caption {
  margin-top: 12px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 15px;
  font-style: italic;
  color: var(--text-light);
  text-align: center;
  line-height: 1.5;
}

@media (max-width: 600px) {
  .hero-photos {
    gap: 4px;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
  }
  .hero-photo-item { flex: 1; min-width: 0; max-width: none; }
}

/* ─────────────────────────────────────────────────────── */
.save-the-date-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--text-light);
}

.std-save,
.std-date {
  font-family: 'Gemola', serif;
  font-size: 80px;
  font-weight: normal;
  letter-spacing: 2px;
  text-transform: none;
  color: var(--green-1);
}

.std-the {
  font-family: 'Allura', cursive;
  font-size: 45px;
  font-weight: normal;
  letter-spacing: 1px;
  line-height: 1;
  color: var(--green-1);
}

/* ── HERO INFO BLOCK (below photos) ──────────────────── */
.hero-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.hero-names {
  display: flex;
  align-items: center;
  gap: 60px;
}

.name-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  line-height: 1;
}

.name-first {
  font-family: 'Gemola', serif;
  font-size: clamp(28px, 4vw, 65px);
  font-weight: normal;
  color: #716F49;
  letter-spacing: 2px;
  line-height: 1;
}

.name-last {
  font-family: 'Gemola', serif;
  font-size: clamp(14px, 2vw, 22px);
  font-weight: normal;
  color: #716F49;
  letter-spacing: 2px;
  line-height: 1.2;
}

.amp {
  font-family: 'Gemola', serif;
  font-size: clamp(30px, 8vw, 70px);
  font-weight: normal;
  color: #716F49;
  align-self: flex-start;
  padding-top: 4px;
}

.hero-venue {
  font-family: 'Gemola', serif;
  font-size: clamp(28px, 4vw, 60px);
  color: #716F49;
  letter-spacing: 1px;
}

.hero-time {
  font-family: 'Gemola', serif;
  font-size: clamp(32px, 5vw, 60px);
  color: #716F49;
  letter-spacing: 4px;
}

.hero-city {
  font-family: 'Gemola', serif;
  font-size: clamp(25px, 2vw, 35px);
  color: #716F49;
  letter-spacing: 2px;
  margin-top: 4px;
}

/* ── COUNTDOWN ────────────────────────────────────────── */
.countdown {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: nowrap;
  margin-top: 28px;
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.countdown-block {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 110px;
  height: 110px;
  background: var(--green-2);
  border-radius: 12px;
}

.countdown-num {
  font-family: 'Gemola', serif;
  font-size: 60px;
  font-weight: normal;
  line-height: 1;
  color: #fff;
  letter-spacing: -1px;
}

.countdown-label {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green-1);
}

.countdown-sep {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  font-weight: 300;
  color: var(--green-1);
  line-height: 1;
}

/* ── HERO DIVIDER ─────────────────────────────────────── */
.hero-divider {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 600px;
  margin: 20px auto 20px;
  gap: 16px;
}

.hero-divider-line {
  flex: 1;
  height: 1px;
  background: var(--border);
}

.hero-divider-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
}

/* ── DETAILY SVADBY ───────────────────────────────────── */
.details-section .section-title {
  font-family: 'Gemola', serif;
  font-weight: normal;
}


.details-intro {
  font-family: 'Jost', sans-serif;
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.8;
  margin: 25px 0 28px;
}

.details-outro {
  font-family: 'Jost', sans-serif;
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.8;
  margin: 0px 0 8px;
}

.details-btn {
  display: inline-block;
  font-family: 'Jost', sans-serif;
  font-size: 15px;
  letter-spacing: 1.5px;
  text-decoration: none;
  color: #fff;
  background: var(--green-2);
  padding: 12px 16px;
  border-radius: 12px;
  transition: background 0.2s;
}

.details-btn:hover {
  background: var(--green-2);
}

.details-section {
  padding: 0px 24px;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.details-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  row-gap: 20px;
  column-gap: 32px;
  margin-top: 8px;
  text-align: left;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.detail-time {
  font-family: 'Jost', sans-serif;
  font-size: 18px;
  color: var(--text-light);
  letter-spacing: 1px;
  white-space: nowrap;
  padding-top: 1px;
}

.detail-text {
  font-family: 'Jost', sans-serif;
  font-size: 18px;
  font-weight: 300;
  color: var(--text-light);
  line-height: 1.5;
}

/* ── SECTION LINE ─────────────────────────────────────── */
.section-line {
  width: 100%;
  max-width: 600px;
  height: 1px;
  background: var(--border);
  margin: 0 auto;
}

/* ── DRESS CODE ───────────────────────────────────────── */
.dress-code-title {
  font-family: 'Gemola', serif;
  font-weight: normal;
}

.dress-code-section {
  padding: 0 24px;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.dress-code-text {
  font-family: 'Jost', sans-serif;
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.9;
  margin-top: 12px;
  margin-bottom: 0;
}

.swatches {
  display: grid;
  grid-template-columns: repeat(4, 56px);
  column-gap: 24px;
  row-gap: 20px;
  justify-content: center;
}

.swatch {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.swatch:hover { transform: scale(1.12); }

/* ── PHOTOS ───────────────────────────────────────────── */
.photos-section {
  padding: 0 24px;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.photos-text {
  font-family: 'Jost', sans-serif;
  font-size: 15px;
  font-weight: 300;
  color: var(--text-light);
  line-height: 1.9;
  margin: 16px 0 28px;
}

.photos-single {
  width: 100%;
}

.photos-single img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  display: block;
}

.photos-single.photo-placeholder {
  height: 300px;
  background: var(--cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  opacity: 0.3;
}

.photos-single.photo-placeholder img { display: none; }
.photos-single.photo-placeholder::after { content: "📷"; }

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 8px;
}

.photo-card {
  aspect-ratio: 2/3;
  overflow: hidden;
  background: var(--cream-dark);
  border: 1px solid var(--border);
}

.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.photo-card:hover img { transform: scale(1.04); }

.photo-card.photo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}

.photo-card.photo-placeholder::after {
  content: "📷";
  font-size: 32px;
  opacity: 0.3;
}

.photo-card.photo-placeholder img { display: none; }

/* ── LOCATION ─────────────────────────────────────────── */
.location-section {
  padding: 0 24px;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.location-text {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.9;
  margin-bottom: 32px;
}

.map-wrapper {
  width: 100%;
  height: 420px;
  border: 1px solid var(--border);
  margin-bottom: 8px;
  -webkit-overflow-scrolling: touch;
  position: relative;
}

#map {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.location-address {
  font-family: 'Jost', sans-serif;
  font-size: 15px;
  font-style: normal;
  color: var(--text-light);
  line-height: 1.7;
}

/* ── ACCOMMODATION ────────────────────────────────────── */
.accommodation-section {
  padding: 0 24px;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.accommodation-text {
  font-family: 'Jost', sans-serif;
  font-style: normal;
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.9;
  margin-bottom: 16px;
}

/* ── CLOSING PHOTO ────────────────────────────────────── */
.closing-photo-section {
  display: flex;
  justify-content: center;
  padding: 0px 24px 80px;
}

.closing-photo-section img {
  max-width: 480px;
  width: 100%;
  height: auto;
}

/* ── SONGS ────────────────────────────────────────────── */
.songs-section {
  padding: 0px 24px 0px;
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.songs-text {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.9;
  margin-bottom: 32px;
}

.song-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}

.form-row {
  display: flex;
  gap: 12px;
  width: 100%;
}

.form-row input {
  flex: 1;
  padding: 12px 16px;
  background: var(--cream-dark);
  border: 1px solid var(--border);
  outline: none;
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  font-weight: 300;
  color: var(--text);
  transition: border-color 0.2s;
}

.form-row input::placeholder { color: #a89e92; }
.form-row input:focus { border-color: var(--green-1); }

.btn-submit {
  padding: 12px 40px;
  background: var(--green-1);
  color: var(--cream);
  border: none;
  font-family: 'Jost', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-submit:hover { background: var(--green-1); }

.form-success {
  display: none;
  margin-top: 16px;
  font-size: 13px;
  color: var(--green-1);
  font-style: italic;
}

.form-success.visible { display: block; }

/* ── FOOTER ───────────────────────────────────────────── */
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  border-top: 1px solid var(--border);
  background: var(--cream);
}

.footer-logo {
  height: 36px;
  width: auto;
}

.footer-copy {
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  color: var(--text-light);
  letter-spacing: 0.5px;
}

/* ── RESPONSIVE ───────────────────────────────────────── */
@media (max-width: 640px) {
  .header-nav { gap: 14px; }
  .header-nav a { font-size: 9px; letter-spacing: 1.5px; }

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

  /* countdown — all 4 in a row */
  .countdown { gap: 22px; flex-wrap: nowrap; }
  .countdown-sep { font-size: 20px; padding-top: 4px; }
  .countdown-block { width: 80px; height: 80px; }
  .countdown-num { font-size: 45px; }
  .countdown-label { font-size: 8px; letter-spacing: 1px; }

  /* hero photos — all 3 in a row */
  .hero-photos { gap: 10px; flex-wrap: nowrap; }
  .hero-photo-item { flex: 1; min-width: 0; max-width: none; }

  /* swatches — smaller on mobile */
  .swatches { grid-template-columns: repeat(4, 40px); column-gap: 40px; row-gap: 14px; }
  .swatch { width: 60px; height: 60px; }
}

@media (max-width: 360px) {
  .header-nav { display: none; }
}
