:root {
    --green-900: #203a31;
    --green-700: #3e5f53;
    --green-500: #6e8b7b;
    --champagne-50: #fbf7ef;
    --champagne-100: #f2e8d8;
    --champagne-200: #e6d5b8;
    --gold-soft: #b99b66;
    --text-main: #26332d;
    --text-muted: #617067;
    --white: #ffffff;
    --shadow-soft: 0 20px 45px rgba(32, 58, 49, 0.12);
    --radius-xl: 28px;
    --radius-lg: 20px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background:
        radial-gradient(circle at top, rgba(255,255,255,0.72), rgba(255,255,255,0.92)),
        linear-gradient(180deg, #f8f3e8 0%, #f6f8f1 100%);
}

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

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

.page-shell {
    min-height: 100vh;
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background-image: var(--hero-image);
    background-size: cover;
    background-position: center;
    padding: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(20, 38, 31, 0.42) 0%, rgba(20, 38, 31, 0.68) 55%, rgba(20, 38, 31, 0.82) 100%);
}

.topbar,
.hero-content {
    position: relative;
    z-index: 1;
}

.topbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
    color: var(--white);
    padding: 1.5rem clamp(1.2rem, 2vw, 2.4rem);
    z-index: 100;
    background: linear-gradient(180deg, rgba(20, 38, 31, 0.5) 0%, transparent 100%);
}

.brand {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    letter-spacing: 0.03em;
}

.topbar-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.95rem;
}

.topbar-links a {
    opacity: 0.95;
    padding: 4px 8px;
    border-radius: 6px;
    transition: background 0.2s, opacity 0.2s;
}

.topbar-links a:hover {
    background: rgba(255,255,255,0.15);
    opacity: 1;
}

.topbar-links .attendance-link {
    background: rgba(185,155,102,0.25);
    color: #fff;
    font-weight: 500;
}

.topbar-links .attendance-link:hover {
    background: rgba(185,155,102,0.45);
}

.hero-content {
    width: 100%;
    padding: 0 clamp(1.2rem, 2vw, 2.4rem) clamp(7rem, 14vh, 9rem);
    color: var(--white);
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.78rem;
    margin-bottom: 0.7rem;
    opacity: 0.95;
}

.hero h1,
.section-heading h2,
.intro-grid h3,
.timeline-item h3,
.location-copy h3 {
    font-family: 'Cormorant Garamond', serif;
}

.hero h1 {
    font-size: clamp(3.2rem, 8vw, 6rem);
    line-height: 0.95;
    margin: 0 0 1rem;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.2vw, 1.25rem);
    line-height: 1.7;
    max-width: 600px;
    color: rgba(255,255,255,0.92);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.95rem 1.5rem;
    border-radius: 999px;
    font-weight: 600;
    transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--champagne-100);
    color: var(--green-900);
}

.btn-secondary {
    border: 1px solid rgba(255,255,255,0.6);
    color: var(--white);
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(8px);
}

.btn-ghost {
    border: 2px solid rgba(255,255,255,0.8);
    color: var(--white);
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(8px);
}

.btn-ghost:hover {
    background: rgba(255,255,255,0.25);
    border-color: var(--white);
}

main {
    width: min(1180px, calc(100% - 2rem));
    margin: -4rem auto 0;
    position: relative;
    z-index: 2;
    display: grid;
    gap: 1.75rem;
    padding-bottom: 3rem;
}

.section-card {
    background: rgba(255,255,255,0.78);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,0.75);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-soft);
    padding: clamp(1.5rem, 3vw, 3rem);
}

.section-heading {
    margin-bottom: 1.75rem;
}

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

.section-heading h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1;
    color: var(--green-900);
}

.intro-grid,
.timeline-grid,
.location-grid {
    display: grid;
    gap: 1.25rem;
}

.intro-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.intro-grid article,
.timeline-item,
.location-card,
.gift-box {
    background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(244,238,226,0.95));
    border: 1px solid rgba(185,155,102,0.15);
    border-radius: var(--radius-lg);
    padding: 1.4rem;
}

.detail-label,
.timeline-time,
.iban-box span {
    display: inline-block;
    color: var(--gold-soft);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.75rem;
    margin-bottom: 0.6rem;
}

.intro-grid h3,
.timeline-item h3,
.location-copy h3 {
    margin: 0 0 0.65rem;
    font-size: 1.9rem;
    color: var(--green-900);
}

.intro-grid p,
.timeline-item p,
.location-copy p,
.gift-box p,
.footer {
    color: var(--text-muted);
    line-height: 1.75;
}

.timeline-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.location-card {
    display: grid;
    grid-template-columns: minmax(260px, 0.9fr) minmax(320px, 1.1fr);
    align-items: stretch;
    gap: 1rem;
}

.text-link {
    color: var(--green-700);
    font-weight: 600;
}

.map {
    min-height: 320px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(62,95,83,0.15);
}

.timeline-location {
    margin-top: 1.2rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(185,155,102,0.2);
    text-align: center;
}

.timeline-place {
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--green-900);
    margin: 0 0 0.3rem;
}

.timeline-address {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0 0 0.5rem;
}

.timeline-maps-link {
    display: inline-block;
    color: var(--green-700);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.timeline-maps-link:hover {
    color: var(--green-900);
}

.timeline-map {
    height: 220px;
    width: 100%;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(62,95,83,0.15);
    margin-top: 0.5rem;
}

@media (max-width: 720px) {
    .timeline-map {
        height: 200px;
    }
}


.iban-box {
    margin: 1.5rem 0;
    padding: 1.2rem;
    border-radius: 18px;
    background: var(--green-900);
    color: var(--white);
}

.iban-box strong {
    display: block;
    font-size: clamp(1.05rem, 3vw, 1.4rem);
    letter-spacing: 0.06em;
    word-break: break-word;
}

.footer {
    text-align: center;
    padding: 1rem 1rem 2.5rem;
}

.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal::first-letter {
    text-transform: capitalize;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 980px) {
    .intro-grid,
    .timeline-grid,
    .location-card {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 720px) {
    .hero {
        min-height: 100vh;
    }

    .hero-content {
        padding: 0 clamp(1.2rem, 2vw, 2.4rem) clamp(6rem, 12vh, 8rem);
    }

    .topbar {
        justify-content: flex-end;
    }

    .topbar-links {
        gap: 0.8rem;
    }

    main {
        width: min(100% - 1rem, 1180px);
        margin-top: -2.5rem;
    }

    .hero h1 {
        font-size: 3.2rem;
    }
}