/* ============================================================
   Helene & Philipp — Wedding Website Stylesheet
   ============================================================ */

/* --- Locally Hosted Fonts (self-hosted for privacy) --- */

/* Cinzel – variable (400–700) */
@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/cinzel-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/cinzel-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Playfair Display – normal (400–500) */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('fonts/playfairdisplay-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('fonts/playfairdisplay-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Playfair Display – italic (400–500) */
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400 500;
  font-display: swap;
  src: url('fonts/playfairdisplay-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400 500;
  font-display: swap;
  src: url('fonts/playfairdisplay-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Cormorant Garamond – normal (300–500) */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url('fonts/cormorantgaramond-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url('fonts/cormorantgaramond-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Cormorant Garamond – italic (300–400) */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300 400;
  font-display: swap;
  src: url('fonts/cormorantgaramond-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300 400;
  font-display: swap;
  src: url('fonts/cormorantgaramond-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --- CSS Custom Properties --- */
:root {
  --bordeaux: #6B0F1A;
  --gold: #C6A75E;
  --cream: #F7F3EB;
  --dark-green: #0F2A1D;
  --text: #2C2C2C;
  --text-light: #5A5A5A;
  --white: #FFFFFF;

  --font-headline: 'Cinzel', serif;
  --font-sub: 'Playfair Display', serif;
  --font-body: 'Cormorant Garamond', serif;

  --section-padding: 100px 0;
  --container-width: 960px;
  --container-wide: 1100px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.8;
  color: var(--text);
  background-color: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

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

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-headline);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--bordeaux);
}

h2 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  text-align: center;
}

h3 {
  font-size: 1.1rem;
  letter-spacing: 0.12em;
}

.subheading {
  font-family: var(--font-sub);
  font-style: italic;
  font-weight: 400;
  font-size: 1.25rem;
  color: var(--gold);
  text-align: center;
  margin-bottom: 2rem;
}

p {
  margin-bottom: 1rem;
}

.text-center {
  text-align: center;
}

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

.container--wide {
  max-width: var(--container-wide);
}

/* --- Section --- */
.section {
  padding: var(--section-padding);
  position: relative;
}

.section--dark {
  background-color: var(--dark-green);
  color: var(--cream);
}

.section--dark h2 {
  color: var(--gold);
  font-size: 1.8rem;
}

.section--dark .subheading {
  color: var(--cream);
  opacity: 0.9;
}

.section--dark h3 {
  color: var(--gold);
}

.section--dark p,
.section--dark li {
  color: rgba(247, 243, 235, 0.95);
  font-size: 1.1rem;
}

.section--dark a {
  color: var(--gold);
}

.section--dark a:hover {
  color: var(--cream);
}

.section--dark h2 {
  color: var(--gold);
  font-size: 1.8rem;
}

.section--dark .subheading {
  color: var(--cream);
  opacity: 0.95;
  font-size: 1.3rem;
}

.section--dark h3 {
  color: var(--gold);
  font-size: 1rem;
}

/* --- Ornamental Divider --- */
.divider {
  text-align: center;
  margin: 0 auto 60px;
  max-width: 280px;
}

.divider img {
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
  opacity: 0.85;
}

.section--dark .divider img {
  filter: brightness(1.2);
}

/* --- Fade-in Animation --- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  transition: background-color 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
}

.nav--scrolled {
  background-color: var(--cream);
  padding: 10px 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.nav__inner {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
  margin-right: 16px;
}

.nav__brand img {
  height: 40px;
  width: auto;
  transition: filter 0.3s ease;
}

.nav__brand-text {
  font-family: var(--font-headline);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream);
  transition: color 0.4s ease;
}

.nav--scrolled .nav__brand-text {
  color: var(--bordeaux);
}

.nav__links {
  display: flex;
  list-style: none;
  gap: 8px;
}

.nav__links a {
  font-family: var(--font-headline);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cream);
  padding: 8px 12px;
  transition: color 0.3s ease, background-color 0.3s ease;
  border-radius: 2px;
}

.nav--scrolled .nav__links a {
  color: var(--text);
}

.nav__links a:hover {
  color: var(--gold);
}

/* Hamburger */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--cream);
  transition: background-color 0.4s ease, transform 0.3s ease;
}

.nav--scrolled .nav__toggle span {
  background-color: var(--bordeaux);
}

.nav__toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav__toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav__toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 900px) {
  .nav__toggle {
    display: flex;
  }

  .nav__links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: var(--cream);
    flex-direction: column;
    padding: 80px 32px 32px;
    gap: 4px;
    transition: right 0.4s ease;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
  }

  .nav__links.open {
    right: 0;
  }

  .nav__links a {
    color: var(--text);
    font-size: 0.75rem;
    padding: 12px 0;
    border-bottom: 1px solid rgba(198, 167, 94, 0.2);
  }

  .nav__links a:hover {
    color: var(--bordeaux);
  }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--dark-green);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 70%;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(15, 42, 29, 0.35) 0%,
    rgba(15, 42, 29, 0.55) 50%,
    rgba(15, 42, 29, 0.7) 100%
  );
  z-index: 2;
}

.hero__content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 120px 24px 80px;
  max-width: 700px;
}

.hero__monogram {
  width: 120px;
  margin: 0 auto 32px;
  opacity: 0.9;
}

.hero__names {
  font-family: var(--font-headline);
  font-size: 2.8rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 12px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero__tagline {
  font-family: var(--font-sub);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--gold);
  margin-bottom: 16px;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
}

.hero__date {
  font-family: var(--font-headline);
  font-size: 1.1rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 32px;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
}

.hero__quote {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(247, 243, 235, 0.85);
  max-width: 520px;
  margin: 0 auto;
}

.hero__scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  animation: float 2.5s ease-in-out infinite;
}

.hero__scroll-hint svg {
  width: 28px;
  height: 28px;
  stroke: var(--gold);
  opacity: 0.7;
}

@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ============================================================
   STORY / TIMELINE
   ============================================================ */
.story__text {
  max-width: 720px;
  margin: 0 auto 60px;
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--text-light);
}

.story__images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 0 auto 60px;
  max-width: 800px;
}

.story__images img {
  border-radius: 4px;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

/* Timeline */
.timeline {
  max-width: 640px;
  margin: 0 auto;
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 0;
  bottom: 0;
  width: 1px;
  background-color: var(--gold);
  opacity: 0.5;
}

.timeline__item {
  position: relative;
  margin-bottom: 40px;
}

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

.timeline__dot {
  position: absolute;
  left: -33px;
  top: 6px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background-color: var(--bordeaux);
  border: 2px solid var(--gold);
}

.timeline__date {
  font-family: var(--font-headline);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}

.timeline__label {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--text);
}

/* ============================================================
   HOCHZEIT (Placeholder)
   ============================================================ */
.schedule__placeholder {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  padding: 40px 24px;
  border: 1px solid rgba(198, 167, 94, 0.3);
  border-radius: 4px;
}

.schedule__placeholder p {
  font-style: italic;
  color: var(--text-light);
}

/* ============================================================
   LOCATION
   ============================================================ */
.location__details {
  max-width: 640px;
  margin: 0 auto 40px;
  text-align: center;
}

.location__venues {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.location__venue {
  text-align: center;
}

.location__venue h3 {
  margin-bottom: 8px;
}

.location__venue p {
  color: var(--text-light);
  margin-bottom: 0;
}

.location__note {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  color: var(--text-light);
  font-size: 0.95rem;
}

/* ============================================================
   DRESSCODE
   ============================================================ */
.dresscode__content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.dresscode__formal {
  font-family: var(--font-headline);
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 32px;
}

.dresscode__row {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-bottom: 24px;
}

.dresscode__item {
  text-align: center;
}

.dresscode__item h3 {
  margin-bottom: 4px;
  font-size: 1rem;
  color: var(--gold);
}

.dresscode__item p {
  color: rgba(247, 243, 235, 0.95);
  font-size: 1.05rem;
}

.dresscode__couleur {
  margin-top: 16px;
  color: rgba(247, 243, 235, 0.9);
  font-style: italic;
  font-size: 1rem;
}

/* ============================================================
   GÄSTEINFORMATIONEN
   ============================================================ */
.guest-info__content {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.guest-info__content p {
  color: var(--text-light);
}

.guest-info__deadline {
  font-family: var(--font-headline);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  color: var(--bordeaux);
  margin-top: 24px;
}

/* ============================================================
   RSVP
   ============================================================ */
.rsvp {
  text-align: center;
}

.rsvp__seal {
  width: 100px;
  margin: 0 auto 32px;
  opacity: 0.85;
}

.rsvp__content {
  max-width: 560px;
  margin: 0 auto;
}

.rsvp__content p {
  color: var(--text-light);
}

.rsvp__deadline {
  font-family: var(--font-headline);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  color: var(--bordeaux);
  margin: 20px 0 28px;
}

.rsvp__contacts {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.rsvp__contact-item {
  text-align: center;
}

.rsvp__contact-item h3 {
  font-size: 0.75rem;
  margin-bottom: 4px;
}

.rsvp__contact-item a {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-light);
}

.rsvp__contact-item a:hover {
  color: var(--bordeaux);
}

.rsvp__note {
  margin-top: 20px;
  font-style: italic;
  color: var(--text-light);
  font-size: 0.9rem;
}

/* ============================================================
   UNTERKUNFT
   ============================================================ */
.accommodation__content {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.accommodation__intro {
  color: rgba(247, 243, 235, 0.85);
  margin-bottom: 32px;
}

.accommodation__list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 32px;
  max-width: 480px;
  margin: 0 auto 32px;
  text-align: left;
}

.accommodation__list li {
  font-family: var(--font-body);
  font-size: 1rem;
  color: rgba(247, 243, 235, 0.9);
  padding-left: 20px;
  position: relative;
}

.accommodation__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--gold);
  opacity: 0.7;
}

.accommodation__note {
  color: rgba(247, 243, 235, 0.7);
  font-size: 0.9rem;
}

/* ============================================================
   GESCHENKE
   ============================================================ */
.gifts__content {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.gifts__content p {
  color: var(--text-light);
  font-size: 1.05rem;
  line-height: 1.9;
}

/* ============================================================
   GALERIE (Placeholder)
   ============================================================ */
.gallery__placeholder {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  padding: 40px 24px;
  border: 1px solid rgba(198, 167, 94, 0.3);
  border-radius: 4px;
}

.gallery__placeholder p {
  font-style: italic;
  color: rgba(247, 243, 235, 0.8);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background-color: var(--dark-green);
  color: rgba(247, 243, 235, 0.6);
  text-align: center;
  padding: 40px 24px;
  font-size: 0.85rem;
  line-height: 1.6;
}

.footer__floral {
  max-width: 200px;
  margin: 0 auto 32px;
  opacity: 0.5;
}

.footer__links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 16px;
}

.footer__links a {
  color: var(--gold);
  font-family: var(--font-headline);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.footer__links a:hover {
  color: var(--cream);
}

.footer__copy {
  font-family: var(--font-body);
  font-size: 0.8rem;
}

/* ============================================================
   IMPRESSUM / DATENSCHUTZ MODALS
   ============================================================ */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-overlay.active {
  display: flex;
}

.modal {
  background-color: var(--cream);
  max-width: 640px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  padding: 48px 40px;
  border-radius: 4px;
  position: relative;
}

.modal h2 {
  text-align: left;
  margin-bottom: 24px;
  font-size: 1.3rem;
}

.modal p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 12px;
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text);
  cursor: pointer;
  padding: 4px 12px;
  font-family: var(--font-body);
  transition: color 0.3s ease;
}

.modal__close:hover {
  color: var(--bordeaux);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  :root {
    --section-padding: 70px 0;
  }

  h2 {
    font-size: 1.3rem;
  }

  .subheading {
    font-size: 1.1rem;
  }

  .hero__names {
    font-size: 1.8rem;
    letter-spacing: 0.2em;
  }

  .hero__tagline {
    font-size: 1.15rem;
  }

  .hero__date {
    font-size: 0.95rem;
  }

  .hero__monogram {
    width: 90px;
  }

  .hero__content {
    padding: 100px 20px 70px;
  }

  .hero__quote {
    font-size: 0.95rem;
  }

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

  .location__venues {
    flex-direction: column;
    gap: 24px;
  }

  .dresscode__row {
    flex-direction: column;
    gap: 20px;
  }

  .rsvp__contacts {
    flex-direction: column;
    gap: 20px;
  }

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

  .timeline {
    padding-left: 32px;
  }

  .divider {
    margin-bottom: 40px;
  }

  .modal {
    padding: 36px 24px;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 16px;
  }

  .hero__names {
    font-size: 1.4rem;
    letter-spacing: 0.15em;
  }

  .hero__tagline {
    font-size: 1rem;
  }

  .container {
    padding: 0 16px;
  }

  .section {
    padding: 50px 0;
  }

  .nav__links {
    width: 100%;
    max-width: 300px;
  }

  .hero__bg img {
    object-position: center center;
  }
}
