/* ============================================
   SAINTE BARBE 2026 - Event Style
   Modern Event Landing Page
   ============================================ */

:root {
    /* Primary Colors */
    --primary: #e63946;
    --primary-dark: #c1121f;
    --primary-light: #ff6b6b;

    /* Accent */
    --accent: #f4a261;
    --accent-light: #f8c77e;

    /* Neutral */
    --dark: #1a1a2e;
    --dark-light: #16213e;
    --gray-900: #212529;
    --gray-800: #343a40;
    --gray-600: #6c757d;
    --gray-400: #ced4da;
    --gray-200: #e9ecef;
    --gray-100: #f8f9fa;
    --white: #ffffff;

    /* Gradient */
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    --gradient-dark: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);

    /* Typography */
    --font-primary: 'Poppins', -apple-system, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;

    /* Spacing */
    --section-padding: 100px;
    --section-padding-mobile: 60px;

    /* Effects */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 50px;

    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-800);
    background: var(--white);
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

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

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition);
}

.btn svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 8px 25px rgba(230, 57, 70, 0.35);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(230, 57, 70, 0.45);
}

.btn-primary:hover svg {
    transform: translateX(4px);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.3);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(20px);
    padding: 12px 0;
    box-shadow: var(--shadow-lg);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--white);
    font-weight: 700;
    font-size: 1.1rem;
}

.nav-logo img {
    height: 45px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav-link {
    padding: 10px 20px;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: var(--radius-full);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
    background: rgba(255,255,255,0.1);
}

.nav-cta {
    display: inline-flex;
    padding: 12px 28px;
    background: var(--gradient-primary);
    color: var(--white);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: var(--transition);
}

.nav-cta:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(230, 57, 70, 0.4);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

@media (max-width: 900px) {
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(26, 26, 46, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 20px;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 998;
    }

    .nav-menu.active {
        opacity: 1;
        visibility: visible;
    }

    .nav-menu .nav-link {
        font-size: 1.3rem;
        padding: 16px 32px;
    }

    .nav-cta {
        display: none;
    }

    .nav-menu.active + .nav-cta-mobile {
        display: block;
    }

    .nav-toggle {
        display: flex;
        z-index: 999;
    }

    .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);
    }
}

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

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../img/header_background.jpg') center/cover no-repeat;
    opacity: 0.4;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.9) 0%, rgba(22, 33, 62, 0.85) 100%);
}

.hero-shapes .shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    z-index: 1;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: var(--primary);
    top: -200px;
    right: -200px;
    animation: float 20s ease-in-out infinite;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: var(--accent);
    bottom: -100px;
    left: -100px;
    animation: float 15s ease-in-out infinite reverse;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: var(--primary-light);
    top: 50%;
    left: 30%;
    animation: float 18s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 30px) scale(0.95); }
}

.hero-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 24px 80px;
}

@media (max-width: 900px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 120px 20px 60px;
        gap: 40px;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        font-size: 1.05rem;
        padding: 0 10px;
    }

    .hero-scroll {
        display: none;
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-full);
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.badge-icon {
    font-size: 1.1rem;
}

.hero-title {
    font-family: var(--font-primary);
    font-size: clamp(3rem, 7vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 20px;
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-year {
    display: block;
    font-size: 0.5em;
    font-weight: 300;
    letter-spacing: 0.3em;
    opacity: 0.7;
    margin-top: 8px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 32px;
}

.hero-info {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 40px;
}

@media (max-width: 900px) {
    .hero-info {
        justify-content: center;
    }
}

@media (max-width: 500px) {
    .hero-info {
        flex-direction: column;
        gap: 16px;
        align-items: center;
    }

    .info-item {
        font-size: 0.9rem;
    }
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.9);
    font-size: 0.95rem;
}

.info-item svg {
    width: 20px;
    height: 20px;
    color: var(--accent);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

@media (max-width: 900px) {
    .hero-actions {
        justify-content: center;
    }
}

@media (max-width: 500px) {
    .hero-actions {
        flex-direction: column;
        width: 100%;
        padding: 0 10px;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Hero Visual */
.hero-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.ecusson-card {
    position: relative;
    width: 280px;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-glow {
    position: absolute;
    inset: -30px;
    background: radial-gradient(circle, rgba(244, 162, 97, 0.5) 0%, rgba(230, 57, 70, 0.3) 50%, transparent 70%);
    border-radius: 50%;
    animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.15); opacity: 0.8; }
}

.ecusson-img {
    position: relative;
    width: 200px;
    height: auto;
    filter: drop-shadow(0 20px 50px rgba(0,0,0,0.5));
    animation: float-ecusson 6s ease-in-out infinite;
}

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

@media (max-width: 900px) {
    .ecusson-card {
        width: 220px;
        height: 220px;
    }

    .ecusson-img {
        width: 160px;
    }
}

/* Countdown */
.countdown {
    display: flex;
    gap: 16px;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 24px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-md);
    backdrop-filter: blur(10px);
    min-width: 80px;
}

.countdown-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}

.countdown-label {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 8px;
}

@media (max-width: 500px) {
    .countdown {
        gap: 8px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .countdown-item {
        padding: 14px 16px;
        min-width: 70px;
    }

    .countdown-value {
        font-size: 1.5rem;
    }

    .countdown-label {
        font-size: 0.65rem;
    }
}

/* Hero Scroll */
.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: rgba(255,255,255,0.5);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(180deg, var(--accent), transparent);
    animation: scroll-anim 2s ease-in-out infinite;
}

@keyframes scroll-anim {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    50.1% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-header.light {
    color: var(--white);
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(230, 57, 70, 0.1);
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
}

.section-header.light .section-tag {
    background: rgba(255,255,255,0.1);
    color: var(--accent);
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 16px;
}

.section-header.light .section-title {
    color: var(--white);
}

.section-desc {
    font-size: 1.1rem;
    color: var(--gray-600);
}

.section-header.light .section-desc {
    color: rgba(255,255,255,0.7);
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    padding: var(--section-padding) 0;
    background: var(--gray-100);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 800px) {
    .about-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .about {
        padding: var(--section-padding-mobile) 0;
    }

    .section-header {
        margin-bottom: 40px;
    }
}

@media (max-width: 600px) {
    .schedule {
        padding: var(--section-padding-mobile) 0;
    }

    .preview {
        padding: var(--section-padding-mobile) 0;
    }

    .rsvp {
        padding: var(--section-padding-mobile) 0;
    }
}

.about-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    text-align: center;
}

.about-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.about-card.featured {
    background: var(--gradient-primary);
    color: var(--white);
}

.about-card.featured .card-icon {
    background: rgba(255,255,255,0.2);
    color: var(--white);
}

.about-card.featured h3 {
    color: var(--white);
}

.about-card.featured p {
    color: rgba(255,255,255,0.9);
}

.about-card.featured .text-muted {
    color: rgba(255,255,255,0.7) !important;
}

.card-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 24px;
    background: rgba(230, 57, 70, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.card-icon svg {
    width: 32px;
    height: 32px;
}

.about-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 16px;
}

.about-card p {
    color: var(--gray-600);
    margin-bottom: 8px;
    line-height: 1.7;
}

.about-card p:last-child {
    margin-bottom: 0;
}

.about-card strong {
    color: var(--dark);
}

.text-muted {
    color: var(--gray-600) !important;
    font-size: 0.9rem;
}

/* ============================================
   PREVIEW SECTION
   ============================================ */
.preview {
    padding: var(--section-padding) 0;
    background: var(--white);
    overflow: hidden;
}

.preview-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

@media (max-width: 900px) {
    .preview-wrapper {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

.preview-content .section-tag {
    margin-bottom: 16px;
}

.preview-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

.preview-text {
    font-size: 1.05rem;
    color: var(--gray-600);
    line-height: 1.9;
    margin-bottom: 32px;
}

.preview-stats {
    display: flex;
    gap: 40px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin-top: 4px;
}

.preview-image {
    position: relative;
}

@media (max-width: 900px) {
    .preview-image {
        order: -1;
    }

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

    .preview-stats {
        justify-content: center;
    }
}

@media (max-width: 500px) {
    .preview-stats {
        flex-direction: column;
        gap: 24px;
        align-items: center;
    }

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

.image-frame {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.image-frame::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    pointer-events: none;
    z-index: 1;
}

.image-frame img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
}

.image-frame:hover img {
    transform: scale(1.05);
}

.image-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 16px 20px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: 0 10px 30px rgba(230, 57, 70, 0.4);
    z-index: 2;
}

.image-badge span {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.image-badge small {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 4px;
    opacity: 0.9;
}

/* ============================================
   SCHEDULE SECTION
   ============================================ */
.schedule {
    padding: var(--section-padding) 0;
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
}

.schedule::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(230, 57, 70, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.schedule-timeline {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}

.timeline-track {
    position: absolute;
    left: 120px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--primary), var(--accent));
    border-radius: 3px;
}

@media (max-width: 600px) {
    .timeline-track {
        left: 20px;
    }
}

.schedule-item {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 40px;
    position: relative;
}

@media (max-width: 600px) {
    .schedule-item {
        gap: 30px;
    }
}

.schedule-item:last-child {
    margin-bottom: 0;
}

.item-time {
    flex-shrink: 0;
    width: 100px;
    text-align: right;
}

@media (max-width: 600px) {
    .item-time {
        display: none;
    }

    .item-card::before {
        content: attr(data-time);
        display: inline-block;
        padding: 4px 10px;
        background: var(--accent);
        color: var(--dark);
        font-size: 0.8rem;
        font-weight: 700;
        border-radius: var(--radius-full);
        margin-bottom: 12px;
    }
}

.item-time .time {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
}

.item-dot {
    position: absolute;
    left: 112px;
    top: 8px;
    width: 18px;
    height: 18px;
    background: var(--dark);
    border: 4px solid var(--accent);
    border-radius: 50%;
    z-index: 1;
    transition: var(--transition);
}

@media (max-width: 600px) {
    .item-dot {
        left: 12px;
    }
}

.schedule-item:hover .item-dot {
    background: var(--accent);
    transform: scale(1.3);
}

.item-content {
    flex: 1;
    padding-left: 20px;
}

@media (max-width: 600px) {
    .item-content {
        padding-left: 40px;
    }

    .schedule-timeline {
        padding-left: 10px;
    }

    .item-card {
        padding: 20px;
    }

    .item-card h3 {
        font-size: 1.1rem;
    }
}

.item-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: var(--transition);
}

.item-card:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(244, 162, 97, 0.3);
    transform: translateX(8px);
}

.item-card.highlight {
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.15) 0%, rgba(244, 162, 97, 0.15) 100%);
    border-color: rgba(244, 162, 97, 0.3);
}

.item-tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--gradient-primary);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: var(--radius-full);
    margin-bottom: 12px;
}

.item-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.item-card p {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
}

/* Animator Box */
.animator-box {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.animator-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent);
}

.animator-details {
    display: flex;
    flex-direction: column;
}

.animator-label {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.animator-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent);
}

@media (max-width: 500px) {
    .animator-box {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .animator-details {
        align-items: center;
    }
}

/* ============================================
   RSVP SECTION
   ============================================ */
.rsvp {
    padding: var(--section-padding) 0;
    background: var(--white);
}

.rsvp-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

@media (max-width: 900px) {
    .rsvp-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .rsvp-features {
        align-items: center;
    }

    .contact-method {
        justify-content: center;
    }
}

.rsvp-info .section-tag {
    margin-bottom: 16px;
}

.rsvp-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 16px;
}

.rsvp-desc {
    color: var(--gray-600);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 32px;
}

.rsvp-desc strong {
    color: var(--primary);
}

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

.contact-method {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--gray-100);
    border-radius: var(--radius-md);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.contact-icon svg {
    width: 24px;
    height: 24px;
}

.contact-details {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-size: 0.8rem;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
    text-decoration: none;
    transition: var(--transition);
}

.contact-value:hover {
    color: var(--primary);
}

.rsvp-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--gray-800);
}

.feature svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
    flex-shrink: 0;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 24px;
    padding: 14px 24px;
    background: var(--gray-100);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-full);
    color: var(--dark);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.btn-download svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
}

.btn-download:hover {
    background: var(--white);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

@media (max-width: 900px) {
    .btn-download {
        width: 100%;
    }
}

/* RSVP Form */
.rsvp-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-200);
}

@media (max-width: 500px) {
    .rsvp-form-wrapper {
        padding: 24px;
    }
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

@media (max-width: 500px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
}

.required {
    color: var(--primary);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    font-family: var(--font-primary);
    font-size: 1rem;
    color: var(--dark);
    background: var(--gray-100);
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.form-group input::placeholder {
    color: var(--gray-600);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    background: var(--white);
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(230, 57, 70, 0.1);
}

.form-group select {
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%236c757d' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 18px;
}

/* Presence Options */
.presence-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

@media (max-width: 500px) {
    .presence-options {
        grid-template-columns: 1fr;
    }
}

.presence-card {
    cursor: pointer;
}

.presence-card input {
    display: none;
}

.presence-content {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--gray-100);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.presence-card:hover .presence-content {
    border-color: var(--primary);
    background: var(--white);
}

.presence-card input:checked ~ .presence-content {
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.08) 0%, rgba(244, 162, 97, 0.08) 100%);
    border-color: var(--primary);
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.15);
}

.presence-check {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background: var(--white);
    border: 2px solid var(--gray-300);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.presence-check svg {
    width: 18px;
    height: 18px;
    color: var(--white);
    opacity: 0;
    transform: scale(0);
    transition: all 0.2s ease;
}

.presence-card input:checked ~ .presence-content .presence-check {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(230, 57, 70, 0.4);
}

.presence-card input:checked ~ .presence-content .presence-check svg {
    opacity: 1;
    transform: scale(1);
}

.presence-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.presence-time {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.presence-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark);
}

.presence-desc {
    font-size: 0.8rem;
    color: var(--gray-600);
}

.btn-submit {
    width: 100%;
    padding: 18px 32px;
    font-size: 1rem;
    margin-top: 8px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--dark);
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 30px;
}

@media (max-width: 600px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

@media (max-width: 600px) {
    .footer-brand {
        flex-direction: column;
    }
}

.footer-logo {
    height: 60px;
    width: auto;
    opacity: 0.8;
}

.footer-brand p {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
}

.footer-info {
    text-align: right;
}

@media (max-width: 600px) {
    .footer-info {
        text-align: center;
    }
}

.footer-event {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-style: italic;
    color: var(--accent);
    margin-bottom: 4px;
}

.footer-date {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

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

.footer-bottom p {
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
}

/* ============================================
   MODAL
   ============================================ */
.modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 26, 46, 0.9);
    backdrop-filter: blur(10px);
}

.modal-container {
    position: relative;
    width: 100%;
    max-width: 420px;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 50px 40px;
    text-align: center;
    transform: translateY(20px) scale(0.95);
    transition: transform 0.4s ease;
}

.modal.active .modal-container {
    transform: translateY(0) scale(1);
}

@media (max-width: 500px) {
    .modal-container {
        padding: 40px 24px;
    }

    .modal-title {
        font-size: 1.5rem;
    }
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    background: var(--gray-100);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.modal-close svg {
    width: 20px;
    height: 20px;
    color: var(--gray-600);
}

.modal-close:hover {
    background: var(--gray-200);
}

.modal-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-icon.success {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    box-shadow: 0 10px 30px rgba(34, 197, 94, 0.3);
}

.modal-icon svg {
    width: 40px;
    height: 40px;
    color: var(--white);
}

.modal-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.modal-text {
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 28px;
}

.modal-btn {
    min-width: 160px;
}

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

.animate-in {
    animation: fadeInUp 0.6s ease forwards;
}

/* ============================================
   UTILITIES
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--gray-200);
}

::-webkit-scrollbar-thumb {
    background: var(--gray-400);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}
