/* ============================================================
   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: 1;
  transform: none;
  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: 1320px;
  margin: 0 auto;
  padding: 0 20px;
  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: 3px;
}

.nav__links a {
  font-family: var(--font-headline);
  font-size: 0.62rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--cream);
  padding: 8px 8px;
  white-space: nowrap;
  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;
  }
}

/* ============================================================
   REAL-PHOTO REDESIGN OVERRIDES — 2026-05-20
   Uses private real photos instead of previous full-bleed scene visuals.
   ============================================================ */
.hero--real {
  min-height: auto;
  padding: clamp(112px, 11vw, 150px) 24px clamp(70px, 8vw, 110px);
  background:
    radial-gradient(circle at 14% 18%, rgba(198, 167, 94, 0.18), transparent 28%),
    linear-gradient(90deg, #0f2a1d 0%, #10251c 48%, #f7f3eb 48%, #f7f3eb 100%);
  color: var(--cream);
}

.hero--real::before {
  content: '';
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(198, 167, 94, 0.42);
  pointer-events: none;
  z-index: 1;
}

.hero__frame {
  position: absolute;
  inset: 38px;
  border: 1px solid rgba(247, 243, 235, 0.12);
  pointer-events: none;
  z-index: 1;
}

.hero__layout {
  position: relative;
  z-index: 3;
  width: min(1120px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: clamp(34px, 5vw, 70px);
  align-items: center;
}

.hero--real .hero__content {
  padding: 0;
  max-width: 520px;
  text-align: left;
}

.hero--real .hero__monogram {
  width: 108px;
  margin: 0 0 28px;
  filter: drop-shadow(0 14px 24px rgba(0,0,0,.18));
}

.hero--real .hero__tagline {
  color: var(--gold);
  margin-bottom: 12px;
  letter-spacing: 0.08em;
}

.hero--real .hero__names {
  font-size: clamp(2.15rem, 5.2vw, 4.55rem);
  letter-spacing: clamp(.11em, 1.4vw, .22em);
  line-height: 1.06;
  color: var(--cream);
  margin-bottom: 20px;
}

.hero--real .hero__date {
  display: inline-block;
  padding: 10px 14px;
  border-top: 1px solid rgba(198,167,94,.55);
  border-bottom: 1px solid rgba(198,167,94,.55);
  color: var(--gold);
  margin-bottom: 28px;
  font-size: .92rem;
}

.hero--real .hero__quote {
  margin: 0;
  color: rgba(247, 243, 235, 0.9);
  max-width: 450px;
  font-size: 1.12rem;
}

.hero__photo {
  position: relative;
  margin: 0;
  padding: clamp(12px, 1.8vw, 18px);
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(198,167,94,.55);
  box-shadow: 0 24px 70px rgba(21, 24, 20, 0.26);
}

.hero__photo::before {
  content: '';
  position: absolute;
  inset: -13px;
  border: 1px solid rgba(107,15,26,.32);
  z-index: -1;
}

.hero__photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center center;
}

.hero__photo figcaption {
  font-family: var(--font-headline);
  color: var(--bordeaux);
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: .72rem;
  text-align: center;
  padding-top: 13px;
}


.hero__details {
  display: grid;
  gap: 8px;
  margin: 26px 0 24px;
  max-width: 460px;
}

.hero__details span {
  display: block;
  width: fit-content;
  padding: 7px 13px;
  border: 1px solid rgba(198, 167, 94, 0.38);
  color: rgba(247, 243, 235, 0.9);
  background: rgba(247, 243, 235, 0.045);
  font-family: var(--font-headline);
  font-size: .63rem;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.hero__miniatures {
  display: grid;
  grid-template-columns: repeat(3, 76px);
  gap: 10px;
  margin-top: 4px;
}

.hero__miniatures img {
  width: 76px;
  height: 92px;
  object-fit: cover;
  border: 1px solid rgba(198, 167, 94, 0.48);
  padding: 3px;
  background: rgba(247, 243, 235, 0.16);
  box-shadow: 0 12px 26px rgba(0,0,0,.18);
}

.hero__miniatures img:nth-child(1) { transform: rotate(-2deg); object-position: center 40%; }
.hero__miniatures img:nth-child(2) { transform: translateY(8px); object-position: center 35%; }
.hero__miniatures img:nth-child(3) { transform: rotate(2deg); object-position: center 32%; }

.intro-band {
  position: relative;
  z-index: 4;
  margin-top: 34px;
  padding: 0 24px;
}

.intro-band__inner {
  width: min(1060px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr .44fr 1fr 1fr;
  gap: 0;
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(198, 167, 94, 0.46);
  box-shadow: 0 18px 48px rgba(15,42,29,.11);
}

.intro-band__item {
  padding: 26px 24px 22px;
  min-height: 142px;
  border-right: 1px solid rgba(198, 167, 94, 0.28);
}

.intro-band__item:last-child { border-right: 0; }

.intro-band__item span {
  display: block;
  font-family: var(--font-headline);
  color: var(--gold);
  font-size: .68rem;
  letter-spacing: .18em;
  margin-bottom: 10px;
}

.intro-band__item strong {
  display: block;
  font-family: var(--font-headline);
  color: var(--bordeaux);
  font-size: .84rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.intro-band__item p {
  margin: 0;
  color: var(--text-light);
  font-size: .98rem;
  line-height: 1.55;
}

.intro-band__item--ornament {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle, rgba(198, 167, 94, 0.13), transparent 62%),
    rgba(247, 243, 235, 0.62);
}

.intro-band__item--ornament img {
  width: min(128px, 72%);
  opacity: .74;
  filter: sepia(.25) saturate(.9) contrast(.95);
}

.story__images--real {
  grid-template-columns: 1fr 1fr 1fr;
  max-width: 980px;
  align-items: stretch;
}

.story__images--real figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 3px;
  border: 1px solid rgba(198, 167, 94, 0.38);
  background: #fff;
  box-shadow: 0 14px 34px rgba(15,42,29,.09);
}

.story__images--real img {
  aspect-ratio: 4 / 5;
  border-radius: 0;
  object-fit: cover;
}

.story__images--real figcaption,
.real-gallery__item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 14px 12px;
  color: var(--cream);
  font-family: var(--font-headline);
  font-size: .65rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  text-align: center;
  background: linear-gradient(to top, rgba(15,42,29,.78), transparent);
}

.schedule__with-photo {
  display: grid;
  grid-template-columns: minmax(160px, 230px) minmax(0, 1fr);
  align-items: center;
  gap: 28px;
  max-width: 760px;
  text-align: left;
  background: rgba(255,255,255,.35);
}

.schedule__with-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 28%;
  border: 1px solid rgba(198,167,94,.34);
}

.schedule__with-photo p { margin: 0; }

.location__details--with-photo {
  display: grid;
  grid-template-columns: minmax(340px, 1.05fr) minmax(280px, .95fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
  max-width: 980px;
  text-align: left;
}

.location__photo {
  margin: 0;
  border: 1px solid rgba(198,167,94,.42);
  padding: 10px;
  background: rgba(255,255,255,.45);
}

.location__photo img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.location__details--with-photo .location__venues {
  flex-direction: column;
  gap: 28px;
  align-items: stretch;
}

.location__details--with-photo .location__venue {
  text-align: left;
  padding: 24px 24px 22px;
  border-left: 2px solid var(--gold);
  background: rgba(255,255,255,.28);
}

.real-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 190px;
  gap: 14px;
  max-width: 1040px;
  margin: 0 auto 28px;
}

.real-gallery__item {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(198,167,94,.38);
  background: rgba(255,255,255,.08);
}

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

.real-gallery__item:hover img { transform: scale(1.035); }
.real-gallery__item--wide { grid-column: span 2; }
.real-gallery__item--tall { grid-row: span 2; }
.real-gallery__note {
  color: rgba(247,243,235,.82);
  font-style: italic;
  padding: 24px;
}


/* Real-photo redesign: keep fixed navigation readable over split hero */
.nav {
  background-color: rgba(247, 243, 235, 0.94);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.055);
  backdrop-filter: blur(10px);
}

.nav__brand-text,
.nav__links a {
  color: var(--bordeaux);
}

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


.nav__links {
  gap: 2px;
}

.nav__links a {
  font-size: 0.64rem;
  padding: 8px 7px;
}

@media (max-width: 1180px) and (min-width: 901px) {
  .nav__brand-text { display: none; }
  .nav__brand { margin-right: 8px; }
  .nav__links a { font-size: 0.62rem; padding-inline: 6px; }
}

@media (max-width: 900px) {
  .hero--real {
    padding: 96px 18px 72px;
    background: linear-gradient(180deg, #0f2a1d 0%, #0f2a1d 54%, #f7f3eb 54%, #f7f3eb 100%);
  }
  .hero__layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .hero--real .hero__content {
    max-width: 680px;
    text-align: center;
    margin: 0 auto;
  }
  .hero--real .hero__monogram,
  .hero--real .hero__quote {
    margin-left: auto;
    margin-right: auto;
  }
  .hero__details { margin-left: auto; margin-right: auto; align-items: center; }
  .hero__details span { width: auto; text-align: center; }
  .hero__miniatures { justify-content: center; margin-left: auto; margin-right: auto; }
  .intro-band { margin-top: 0; padding: 0; }
  .intro-band__inner { grid-template-columns: 1fr 1fr; }
  .intro-band__item--ornament { display: none; }
  .intro-band__item { min-height: auto; border-bottom: 1px solid rgba(198, 167, 94, 0.28); }
  .hero__photo img { aspect-ratio: 4 / 3; }
  .story__images--real { grid-template-columns: 1fr; max-width: 520px; }
  .story__images--real img { aspect-ratio: 4 / 4.6; }
  .schedule__with-photo { grid-template-columns: 1fr; text-align: center; }
  .schedule__with-photo img { max-width: 260px; margin: 0 auto; }
  .location__details--with-photo { grid-template-columns: 1fr; }
  .location__details--with-photo .location__venue { text-align: center; border-left: 0; border-top: 2px solid var(--gold); }
  .real-gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .real-gallery__item--wide { grid-column: span 2; }
}

@media (max-width: 480px) {
  .hero--real { padding: 86px 14px 60px; }
  .hero--real::before { inset: 12px; }
  .hero__frame { display: none; }
  .hero--real .hero__names { font-size: clamp(1.75rem, 11vw, 2.35rem); letter-spacing: .11em; }
  .hero--real .hero__date { font-size: .76rem; line-height: 1.5; }
  .hero__photo { padding: 9px; }
  .hero__photo::before { inset: -7px; }
  .hero__photo figcaption { font-size: .58rem; }
  .hero__details { gap: 7px; margin-top: 22px; }
  .hero__details span { font-size: .56rem; line-height: 1.45; }
  .hero__miniatures { grid-template-columns: repeat(3, 64px); gap: 8px; }
  .hero__miniatures img { width: 64px; height: 78px; }
  .intro-band__inner { grid-template-columns: 1fr; }
  .intro-band__item { padding: 22px 22px 18px; border-right: 0; }
  .real-gallery { grid-template-columns: 1fr; grid-auto-rows: 260px; }
  .real-gallery__item--wide,
  .real-gallery__item--tall { grid-column: auto; grid-row: auto; }
}
