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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #2c2c2c;
    line-height: 1.6;
    background: #faf9f7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(160deg, #1a1a2e 0%, #16213e 40%, #0f3460 100%);
    overflow: hidden;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 600px 600px at 20% 30%, rgba(212, 175, 55, 0.08) 0%, transparent 70%),
        radial-gradient(ellipse 500px 500px at 80% 70%, rgba(212, 175, 55, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    animation: fadeInUp 1.2s ease-out;
}

.hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: clamp(0.85rem, 3vw, 1.15rem);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 24px;
}

.hero-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2.8rem, 10vw, 7rem);
    font-weight: 700;
    color: #f5f0e8;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 48px;
}

.hero-names {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.name-card {
    text-align: center;
    animation: fadeInUp 1.2s ease-out 0.3s both;
}

.name {
    display: block;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2rem, 7vw, 3.5rem);
    font-weight: 700;
    color: #d4af37;
    line-height: 1.2;
}

.age {
    display: block;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(212, 175, 55, 0.6);
    margin-top: 4px;
}

.ampersand {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    font-style: italic;
    color: rgba(212, 175, 55, 0.4);
}

.hero-line {
    width: 60px;
    height: 1px;
    background: rgba(212, 175, 55, 0.4);
    margin: 0 auto 24px;
}

.hero-date {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: clamp(0.85rem, 3vw, 1.1rem);
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
}

/* ===== INFOS ===== */
.infos {
    padding: 100px 0 80px;
    background: #faf9f7;
}

.section-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    text-align: center;
    color: #d4af37;
    margin-bottom: 48px;
    animation: fadeInUp 1s ease-out;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.info-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 48px 40px;
    text-align: center;
    box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.04),
        0 8px 40px rgba(0, 0, 0, 0.04);
    animation: fadeInUp 1s ease-out both;
}

.info-card:nth-child(1) { animation-delay: 0.1s; }
.info-card:nth-child(2) { animation-delay: 0.25s; }

.info-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 24px;
    color: #d4af37;
    animation: fadeInUp 1s ease-out both;
}

.info-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 12px;
}

.info-detail {
    font-size: 1.1rem;
    font-weight: 500;
    color: #2c2c2c;
    margin-bottom: 4px;
}

.info-date-highlight {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #d4af37;
    margin-bottom: 8px;
}

.info-venue {
    font-size: 1.05rem;
    font-weight: 500;
    color: #2c2c2c;
    margin-bottom: 4px;
}

.info-location {
    font-size: 0.95rem;
    color: #888;
    margin-bottom: 4px;
}

.info-time {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #d4af37;
}

/* ===== INVITATION ===== */
.invitation {
    padding: 80px 0 100px;
    background: #1a1a2e;
    text-align: center;
    position: relative;
}

.invitation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, rgba(212, 175, 55, 0.3));
}

.invitation-text {
    max-width: 580px;
    margin: 0 auto;
}

.invitation-text p {
    font-size: clamp(1rem, 2.5vw, 1.15rem);
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 300;
}

.invitation-text p + p {
    margin-top: 20px;
}

.invitation-signature {
    margin-top: 48px;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.invitation-signature span {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.4rem;
    font-style: italic;
    color: #d4af37;
}

/* ===== MENU & BOISSONS ===== */
.menu {
    padding: 100px 0;
    background: #faf9f7;
    text-align: center;
}

.menu-content {
    max-width: 580px;
    margin: 0 auto;
}

.menu-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 32px;
    color: #d4af37;
    animation: fadeInUp 1s ease-out both;
}

.menu-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.8rem, 5vw, 2.4rem);
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 24px;
}

.menu-text {
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    line-height: 1.8;
    color: #555;
}

.menu-text .highlight {
    font-weight: 600;
    color: #1a1a2e;
}

/* ===== RSVP ===== */
.rsvp {
    padding: 100px 0;
    background: #faf9f7;
    text-align: center;
}

.rsvp-content {
    max-width: 580px;
    margin: 0 auto;
}

.rsvp-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 32px;
    color: #d4af37;
    animation: fadeInUp 1s ease-out both;
}

.rsvp-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.8rem, 5vw, 2.4rem);
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 24px;
}

.rsvp-text {
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    line-height: 1.8;
    color: #555;
    margin-bottom: 40px;
}

.rsvp-text .highlight {
    font-weight: 600;
    color: #1a1a2e;
}

.rsvp-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    background: #1a1a2e;
    color: #d4af37;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 20px rgba(26, 26, 46, 0.25);
}

.rsvp-link:hover {
    background: #0f3460;
    transform: translateY(-2px);
}

.rsvp-link:active {
    transform: translateY(0);
}

.rsvp-email {
    margin-top: 32px;
    font-size: 0.9rem;
    color: #888;
    line-height: 1.6;
}

.rsvp-email a {
    color: #d4af37;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px dotted rgba(212, 175, 55, 0.4);
    transition: border-color 0.3s ease;
}

.rsvp-email a:hover {
    border-color: #d4af37;
}

/* ===== FOOTER ===== */
.footer {
    padding: 60px 0 48px;
    background: #1a1a2e;
    text-align: center;
}

.footer-line {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.1rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.35);
    margin-bottom: 12px;
}

.footer-names {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 8px;
}

.footer-names .footer-amp {
    font-style: italic;
    font-weight: 400;
    color: rgba(212, 175, 55, 0.5);
    margin: 0 8px;
}

.footer-date {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    color: rgba(255, 255, 255, 0.2);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== RESPONSIVE ===== */

/* ---------- Tablet ---------- */
@media (max-width: 768px) {
    .hero-names {
        gap: 16px;
    }

    .infos {
        padding: 80px 0 60px;
    }

    .info-card {
        padding: 36px 28px;
    }

    .invitation {
        padding: 60px 0 80px;
    }

    .rsvp {
        padding: 80px 0;
    }

    .menu {
        padding: 80px 0;
    }
}

/* ---------- Mobile ---------- */
@media (max-width: 480px) {
    /* Hero */
    .hero {
        min-height: 100svh;
    }

    .hero-names {
        gap: 12px;
        margin-bottom: 24px;
    }

    .name-card {
        padding: 0 4px;
    }

    .hero-line {
        width: 40px;
        margin-bottom: 16px;
    }

    /* Info section */
    .info-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .info-card {
        padding: 32px 24px;
    }

    /* Invitation */
    .invitation {
        padding: 48px 0 60px;
    }

    .invitation-signature {
        margin-top: 36px;
    }

    /* Menu */
    .menu {
        padding: 80px 0;
    }

    /* RSVP */
    .rsvp {
        padding: 60px 0;
    }

    .rsvp-text {
        margin-bottom: 32px;
    }

    .rsvp-link {
        display: block;
        text-align: center;
        width: 100%;
        padding: 16px 24px;
        font-size: 0.95rem;
    }

    .rsvp-email {
        font-size: 0.85rem;
        margin-top: 24px;
    }

    /* Footer */
    .footer {
        padding: 48px 0 36px;
    }
}

/* ---------- Very small screens (320px and below) ---------- */
@media (max-width: 360px) {
    .container {
        padding: 0 16px;
    }
}
