:root {
  --bg: #f9f6f2;
  --text: #2e2e2e;
  --accent: #c7a56a;
  --muted: #6f6b64;

  --iban-bg: #efeae3;
  --iban-text: #2e2e2e;
}

body.dark {
  --bg: #181614;
  --text: #f1eee9;
  --accent: #d8b97a;
  --muted: #b8b2a9;

  --iban-bg: #262320;
  --iban-text: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, sans-serif;
  line-height: 1.8;
}

.top-controls {
  position: fixed;
  top: 20px;
  right: 20px;
  display: flex;
  gap: 10px;
}

.top-controls button {
  border: none;
  background: rgba(0,0,0,0.06);
  padding: 8px 14px;
  border-radius: 20px;
  cursor: pointer;
}

body.dark .top-controls button {
  background: rgba(255,255,255,0.12);
  color: #fff;
}

.hero {
  text-align: center;
  padding: 90px 20px 60px;
}

.hero h1 {
  font-family: "Playfair Display", serif;
  font-size: 3.1rem;
  margin-bottom: 10px;
}

.date {
  color: var(--accent);
}

.divider {
  width: 140px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--accent), transparent);
  margin: 22px auto;
}

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

.section + .section {
  margin-top: 32px;
}

/* Subtle divider between content sections */
.section + .section::before {
  content: "";
  display: block;
  width: 140px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--accent), transparent);
  margin: 12px auto;
  opacity: 0.85;
}

.invitation {
  margin-bottom: 18px;
  font-size: 1.05rem;
}

.invite-emph {
  color: var(--accent);
}

/* Make the first invitation paragraph tighter on top */
.hero + .section { margin-top: 20px; }
.section .invitation:first-child { margin-top: 0; }

/* Accent utility used inside translations, e.g., <span class='gold'> */
.gold {
  color: var(--accent);
}

.maps-grid {
  display: grid;
  gap: 24px;
}

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

.map-embed {
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.iban-box {
  margin-top: 20px;
  background: var(--iban-bg);
  color: var(--iban-text);
  padding: 18px;
  border-radius: 14px;
  cursor: pointer;
}

footer {
  text-align: center;
  padding: 60px 0;
  opacity: 0.85;
}

.toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: white;
  padding: 10px 18px;
  border-radius: 30px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.toast.show {
  opacity: 1;
}
