/* ===== VARIABLES CSS - MARITIME ELEGANCE ===== */
:root {
    --primary-color: #1e3a5f;
    --secondary-color: #2980b9;
    --accent-color: #3498db;
    --gold-accent: #d4af37;
    --text-dark: #1a252f;
    --text-light: #5d6d7e;
    --text-muted: #85929e;
    --background-light: #f8fbff;
    --background-card: #ffffff;
    --white: #ffffff;
    --navy-deep: #0f1419;
    --ocean-blue: #1e3a5f;
    --sea-foam: #a8dadc;
    --wave-blue: #457b9d;
    --maritime-gold: #d4af37;
    --shadow-light: 0 2px 15px rgba(30, 58, 95, 0.08);
    --shadow-medium: 0 8px 25px rgba(30, 58, 95, 0.12);
    --shadow-heavy: 0 15px 35px rgba(30, 58, 95, 0.18);
    --shadow-elegant: 0 4px 20px rgba(30, 58, 95, 0.1);
    --gradient-primary: linear-gradient(135deg, #1e3a5f 0%, #2980b9 100%);
    --gradient-secondary: linear-gradient(135deg, #3498db 0%, #5dade2 100%);
    --gradient-accent: linear-gradient(135deg, #2980b9 0%, #3498db 100%);
    --gradient-ocean: linear-gradient(135deg, #0f4c75 0%, #3282b8 50%, #bbe1fa 100%);
    --gradient-wave: linear-gradient(90deg, transparent 0%, rgba(168, 218, 220, 0.3) 50%, transparent 100%);
}

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--background-light);
    overflow-x: hidden;
    font-weight: 400;
    letter-spacing: 0.3px;
}

/* ===== MARITIME BACKGROUND ===== */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    background: var(--gradient-ocean);
}

#particles-js::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(168, 218, 220, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(52, 152, 219, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(212, 175, 55, 0.05) 0%, transparent 50%);
    animation: oceanWaves 20s ease-in-out infinite;
}

@keyframes oceanWaves {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-10px) rotate(1deg); }
    66% { transform: translateY(5px) rotate(-1deg); }
}

/* ===== MARITIME/* ===== LECTEUR AUDIO DE FOND ===== */
.background-music-player {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.music-control {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 12px 18px;
    color: var(--white);
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.music-control:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--maritime-gold);
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
}

.music-control.playing {
    background: rgba(212, 175, 55, 0.2);
    border-color: var(--maritime-gold);
    color: var(--maritime-gold);
}

.music-control.playing:hover {
    background: rgba(212, 175, 55, 0.3);
}

.music-control i {
    font-size: 1.1rem;
}

.music-status {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Animation pour l'icône de musique */
.music-control.playing i {
    animation: musicPulse 2s ease-in-out infinite;
}

@keyframes musicPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Responsive pour mobile */
@media (max-width: 768px) {
    .background-music-player {
        top: 15px;
        right: 15px;
    }
    
    .music-control {
        padding: 10px 14px;
        font-size: 0.8rem;
    }
    
    .music-control i {
        font-size: 1rem;
    }
}

/* ===== MARITIME NAVIGATION ===== */
.floating-nav {
    position: fixed;
    top: 50%;
    right: 25px;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    padding: 15px 8px;
    border-radius: 25px;
    border: 1px solid rgba(30, 58, 95, 0.1);
    box-shadow: var(--shadow-elegant);
}

.nav-item {
    background: transparent;
    color: var(--ocean-blue);
    padding: 12px 18px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 500;
    font-size: 13px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.nav-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-accent);
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.nav-item:hover::before {
    left: 0;
}

.nav-item:hover {
    transform: translateX(-8px) scale(1.05);
    color: var(--white);
    box-shadow: var(--shadow-medium);
}

.nav-item i {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.nav-item:hover i {
    transform: scale(1.1);
}

/* ===== MARITIME HERO HEADER ===== */
.hero-header {
    min-height: 100vh;
    background: var(--gradient-ocean);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    color: var(--white);
    text-align: center;
    padding: 2rem 1rem;
}

.hero-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" opacity=".25" fill="%23ffffff"></path><path d="M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z" opacity=".5" fill="%23ffffff"></path><path d="M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z" fill="%23ffffff"></path></svg>');
    background-size: 1200px 120px;
    background-repeat: repeat-x;
    background-position: bottom;
    opacity: 0.1;
    animation: waveMotion 15s linear infinite;
}

@keyframes waveMotion {
    0% { background-position-x: 0; }
    100% { background-position-x: 1200px; }
}

.hero-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 3rem 2rem;
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-animation {
    animation: fadeInUp 1.2s ease-out;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 400;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.emoji-bounce {
    display: inline-block;
    animation: gentleBob 3s ease-in-out infinite;
    font-size: 0.8em;
}

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

.date-badge {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(20px);
    padding: 18px 35px;
    border-radius: 60px;
    font-size: 1.1rem;
    font-weight: 500;
    margin: 2rem auto;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    letter-spacing: 0.5px;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin: 3rem 0;
    opacity: 0.95;
    line-height: 1.7;
    font-weight: 300;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.highlight {
    color: var(--maritime-gold);
    font-weight: 500;
    text-shadow: 0 1px 3px rgba(212, 175, 55, 0.4);
    border-bottom: 2px solid rgba(212, 175, 55, 0.6);
    padding-bottom: 1px;
    transition: all 0.3s ease;
}

.highlight:hover {
    color: #fff;
    text-shadow: 0 2px 8px rgba(212, 175, 55, 0.8);
    border-bottom-color: var(--maritime-gold);
}

/* ===== HERO MEMORIES SECTION ===== */
.hero-memories {
    margin-top: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.memories-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--white);
    text-align: center;
    margin-bottom: 1.5rem;
    opacity: 0.95;
    letter-spacing: 0.5px;
}

.hero-slideshow-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.2);
    /* Protection contre la sélection */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    /* Protection contre le drag */
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
}

.hero-slideshow-image {
    width: 100%;
    height: auto;
    max-height: 400px;
    min-height: 280px;
    object-fit: contain;
    object-position: center;
    border-radius: 18px;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: block;
    background: rgba(255,255,255,0.05);
    /* Protections supplémentaires */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    /* Empêcher l'impression */
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
    /* Protection contre le copier-coller */
    pointer-events: none;
}

/* Réactiver les événements pour le conteneur parent */
.hero-slideshow-container {
    pointer-events: auto;
}

/* Overlay de protection invisible */
.hero-slideshow-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
    background: transparent;
    pointer-events: auto;
}

.hero-slideshow-image.fade-in {
    opacity: 1;
}

.slideshow-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}

.slideshow-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slideshow-dot.active {
    background: var(--maritime-gold);
    transform: scale(1.2);
}

/* ===== DISCRETE COUNTDOWN ===== */
.countdown-container-discrete {
    margin-top: 2rem;
    text-align: center;
}

.countdown-discrete {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 300;
    color: rgba(255,255,255,0.8);
    background: rgba(255,255,255,0.08);
    padding: 12px 20px;
    border-radius: 25px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.1);
    display: inline-block;
    letter-spacing: 0.5px;
}

.countdown-discrete .countdown-item {
    display: inline-block;
    margin: 0 8px;
}

.countdown-discrete .countdown-number {
    font-size: 1.1rem;
    color: var(--maritime-gold);
    font-weight: 400;
    margin-right: 2px;
}

.countdown-discrete .countdown-label {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* ===== OLD SLIDESHOW STYLES (kept for compatibility) ===== */
.countdown-container {
    margin-top: 3rem;
    background: rgba(255,255,255,0.12);
    padding: 30px 25px;
    border-radius: 25px;
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255,255,255,0.15);
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.countdown-title {
    font-size: 1.2rem;
    margin-bottom: 20px;
    opacity: 0.95;
    font-weight: 300;
    letter-spacing: 1px;
}

.countdown {
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    font-weight: 300;
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.countdown-item {
    text-align: center;
    min-width: 70px;
    background: rgba(255,255,255,0.1);
    padding: 15px 10px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.countdown-number {
    display: block;
    font-size: 2.2rem;
    color: var(--maritime-gold);
    font-weight: 400;
    text-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
}

.countdown-label {
    font-size: 0.85rem;
    opacity: 0.9;
    font-weight: 300;
    letter-spacing: 0.5px;
    margin-top: 5px;
}

/* ===== HERO DECORATIONS ===== */
.hero-decoration {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.floating-emoji {
    position: absolute;
    font-size: 2rem;
    animation: float 6s ease-in-out infinite;
}

.floating-emoji:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-emoji:nth-child(2) {
    top: 60%;
    right: 15%;
    animation-delay: 1s;
}

.floating-emoji:nth-child(3) {
    bottom: 30%;
    left: 20%;
    animation-delay: 2s;
}

.floating-emoji:nth-child(4) {
    top: 40%;
    right: 30%;
    animation-delay: 3s;
}

/* ===== MARITIME MAIN CONTENT ===== */
main.hero-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 3rem 2rem;
    position: relative;
    z-index: 2;
    width: 100%;
}

section {
    background: var(--background-card);
    margin-bottom: 4rem;
    padding: 3.5rem;
    border-radius: 25px;
    box-shadow: var(--shadow-elegant);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(30, 58, 95, 0.08);
}

section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-accent);
}

section::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(52, 152, 219, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

section:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
    border-color: rgba(30, 58, 95, 0.12);
}

.section-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 1;
}

.section-icon {
    font-size: 1.8rem;
    color: var(--white);
    background: var(--gradient-accent);
    padding: 18px;
    border-radius: 20px;
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
    transition: all 0.3s ease;
}

.section-header:hover .section-icon {
    transform: scale(1.1) rotate(5deg);
}

h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 400;
    color: var(--ocean-blue);
    margin: 0;
    letter-spacing: -0.01em;
}

h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    color: var(--ocean-blue);
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
}

/* ===== MARITIME INFO SECTION ===== */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    padding: 2.5rem;
    background: var(--background-light);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(30, 58, 95, 0.08);
    position: relative;
    overflow: hidden;
}

.info-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-accent);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.info-item:hover::before {
    opacity: 1;
}

.info-item:hover {
    color: var(--white);
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-heavy);
}

.info-item > * {
    position: relative;
    z-index: 1;
}

.info-icon {
    background: var(--gradient-secondary);
    color: var(--white);
    padding: 18px;
    border-radius: 18px;
    font-size: 1.6rem;
    min-width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(41, 128, 185, 0.3);
    transition: all 0.3s ease;
}

.info-item:hover .info-icon {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

.info-content h3 {
    margin-bottom: 0.8rem;
    font-size: 1.4rem;
    font-weight: 500;
}

.info-content p {
    line-height: 1.6;
    opacity: 0.9;
}

.map-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--wave-blue);
    text-decoration: none;
    font-weight: 500;
    margin-top: 1rem;
    padding: 8px 16px;
    border-radius: 25px;
    background: rgba(69, 123, 157, 0.1);
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.map-link:hover {
    background: rgba(69, 123, 157, 0.2);
    transform: translateX(5px);
}

.info-item:hover .map-link {
    color: var(--white);
    background: rgba(255, 255, 255, 0.2);
}

.info-item:hover .map-link:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* ===== TIMELINE SECTION ===== */
.timeline {
    position: relative;
    margin: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--gradient-accent);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-icon {
    background: var(--primary-color);
    color: var(--white);
    padding: 15px;
    border-radius: 50%;
    font-size: 1.5rem;
    z-index: 2;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: var(--shadow-medium);
}

.timeline-content {
    background: var(--background-light);
    padding: 1.5rem;
    border-radius: 15px;
    width: 45%;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: auto;
    margin-left: 0;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: auto;
    margin-right: 0;
}

.timeline-content:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-medium);
}

.menu-info {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
}

.menu-card {
    background: var(--gradient-secondary);
    color: var(--white);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-medium);
    max-width: 300px;
}

.menu-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* ===== ACTIVITIES SECTION ===== */
.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.activity-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.activity-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
    border-color: var(--primary-color);
}

.activity-icon {
    background: var(--gradient-accent);
    color: var(--white);
    padding: 20px;
    border-radius: 50%;
    font-size: 2rem;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.weather-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.weather-card, .plan-b-card {
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-medium);
}

.weather-card {
    background: var(--gradient-accent);
    color: var(--white);
}

.plan-b-card {
    background: var(--gradient-secondary);
    color: var(--white);
}

.weather-icon, .plan-b-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.weather-note, .plan-b-subtitle {
    font-size: 0.9rem;
    opacity: 0.9;
    font-style: italic;
}

.plan-b-text {
    font-size: 1.1rem;
    font-weight: 600;
}

/* ===== RSVP SECTION ===== */
.rsvp-intro {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
}

.modern-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-group input,
.form-group textarea {
    padding: 1rem;
    border: 2px solid #E0E0E0;
    border-radius: 10px;
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
    transform: translateY(-2px);
}

.submit-btn {
    background: var(--gradient-secondary);
    color: var(--white);
    padding: 1.2rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 1rem;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
}

.contact-info {
    text-align: center;
    margin-top: 2rem;
    padding: 1rem;
    background: var(--background-light);
    border-radius: 10px;
}

/* ===== MEMORIES SECTION ===== */
.memories-intro {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.media-container {
    max-width: 800px;
    margin: 0 auto;
}

.video-container {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-medium);
}

.video-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--text-dark);
}

.video-header i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

#souvenirs-video {
    width: 100%;
    max-width: 600px;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: contain;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    background: var(--navy-deep);
    margin: 0 auto;
    display: block;
    transition: transform 0.3s ease;
}

#souvenirs-video:hover {
    transform: scale(1.02);
}

/* ===== FOOTER ===== */
.modern-footer {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 3rem 2rem 2rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-reminder h3 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.reminder-items {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.reminder-item {
    background: rgba(255,255,255,0.2);
    padding: 1rem 1.5rem;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.footer-heart {
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.3);
    opacity: 0.8;
}

/* ===== SLIDESHOW STYLES ===== */
.slideshow-container {
    max-width: 700px;
    position: relative;
    margin: auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-heavy);
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--background-light);
}

#slideshow-image {
    max-width: 100%;
    max-height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    position: absolute;
    border-radius: 20px;
}

#slideshow-image.fade-in {
    opacity: 1;
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

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

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* ===== ANIMATION CLASSES ===== */
.fade-in-up {
    animation: fadeInUp 1s ease-out 0.5s both;
}

.slide-in-left {
    animation: slideInLeft 0.8s ease-out;
}

.slide-in-right {
    animation: slideInRight 0.8s ease-out;
}

.bounce-in {
    animation: bounceIn 0.8s ease-out;
}

.pulse-on-hover:hover {
    animation: pulse 0.6s ease-in-out;
}

/* ===== CAPTCHA STYLES ===== */
.captcha-group {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid #dee2e6;
    border-radius: 12px;
    padding: 15px;
    margin: 15px 0;
}

.captcha-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
}

.captcha-question {
    background: #fff;
    padding: 8px 12px;
    border-radius: 6px;
    font-weight: 600;
    color: #495057;
    border: 1px solid #ced4da;
    min-width: 80px;
    text-align: center;
}

.captcha-input {
    flex: 1;
    max-width: 100px;
    padding: 8px 12px;
    border: 2px solid #ced4da;
    border-radius: 6px;
    font-size: 16px;
    text-align: center;
    transition: border-color 0.3s ease;
}

.captcha-input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.captcha-refresh {
    background: #6c757d;
    color: white;
    border: none;
    padding: 8px 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.captcha-refresh:hover {
    background: #5a6268;
    transform: rotate(180deg);
}

.captcha-refresh:active {
    transform: scale(0.95) rotate(180deg);
}

/* ===== MARITIME RESPONSIVE DESIGN ===== */

/* Tablette Portrait */
@media (max-width: 1024px) {
    main {
        padding: 3rem 1.5rem;
    }
    
    .hero-content {
        padding: 2rem 1.5rem;
    }
    
    .info-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 2rem;
    }
    
    .activities-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
}

/* Tablette et Mobile Large */
@media (max-width: 768px) {
    /* Navigation Mobile */
    .floating-nav {
        position: fixed;
        bottom: 20px;
        left: 50%;
        right: auto;
        top: auto;
        transform: translateX(-50%);
        flex-direction: row;
        background: rgba(255,255,255,0.95);
        backdrop-filter: blur(20px);
        padding: 12px 20px;
        border-radius: 30px;
        box-shadow: var(--shadow-heavy);
        border: 1px solid rgba(30, 58, 95, 0.1);
        gap: 5px;
        max-width: 90vw;
        overflow-x: auto;
    }
    
    .nav-item {
        padding: 10px 12px;
        font-size: 11px;
        border-radius: 20px;
        min-width: 45px;
        height: 45px;
        justify-content: center;
        flex-shrink: 0;
    }
    
    .nav-item span {
        display: none;
    }
    
    .nav-item i {
        font-size: 14px;
    }
    
    /* Hero Section Mobile */
    .hero-header {
        min-height: 100vh;
        padding: 1rem;
    }
    
    .hero-content {
        padding: 2rem 1rem;
        max-width: 100%;
    }
    
    .hero-memories {
        max-width: 95vw;
        margin-top: 2rem;
    }
    
    .hero-slideshow-image {
        max-height: 300px;
        min-height: 200px;
    }
    
    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
        margin-bottom: 1rem;
        line-height: 1.2;
    }
    
    .date-badge {
        padding: 12px 25px;
        font-size: 1rem;
        margin: 1.5rem auto;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin: 2rem 0;
        line-height: 1.6;
    }
    
    .countdown-container {
        margin-top: 2rem;
        padding: 20px 15px;
    }
    
    .countdown {
        font-size: 1.2rem;
        gap: 15px;
    }
    
    .countdown-item {
        min-width: 60px;
        padding: 12px 8px;
    }
    
    .countdown-number {
        font-size: 1.8rem;
    }
    
    .countdown-label {
        font-size: 0.75rem;
    }
    
    /* Main Content Mobile */
    main {
        padding: 2rem 1rem;
    }
    
    section {
        padding: 2rem 1.5rem;
        margin-bottom: 2.5rem;
        border-radius: 20px;
    }
    
    .section-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        margin-bottom: 2rem;
    }
    
    .section-icon {
        width: 55px;
        height: 55px;
        font-size: 1.5rem;
    }
    
    h2 {
        font-size: 1.8rem;
        text-align: center;
    }
    
    h3 {
        font-size: 1.2rem;
    }
    
    /* Info Grid Mobile */
    .info-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .info-item {
        padding: 2rem 1.5rem;
        gap: 20px;
    }
    
    .info-icon {
        min-width: 50px;
        height: 50px;
        font-size: 1.4rem;
    }
    
    /* Timeline Mobile */
    .timeline::before {
        left: 25px;
        width: 3px;
    }
    
    .timeline-item {
        flex-direction: row !important;
        margin-bottom: 1.5rem;
    }
    
    .timeline-icon {
        left: 25px;
        transform: translateX(-50%);
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .timeline-content {
        width: calc(100% - 70px);
        margin-left: 70px !important;
        margin-right: 0 !important;
        padding: 1.2rem;
    }
    
    /* Activities Grid Mobile */
    .activities-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 1.2rem;
    }
    
    .activity-card {
        padding: 1.5rem 1rem;
    }
    
    .activity-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    /* Weather Section Mobile */
    .weather-section {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .weather-card, .plan-b-card {
        padding: 1.5rem;
    }
    
    /* Video responsive */
    #souvenirs-video {
        max-width: 90vw;
        height: auto;
        aspect-ratio: 16/9;
    }
    
    .video-container {
        padding: 1rem;
    }
    
    .modern-form {
        gap: 1.2rem;
    }
    
    .form-container {
        max-width: 100%;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 0.8rem;
        font-size: 16px; /* Évite le zoom sur iOS */
    }
    
    .submit-btn {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    /* Footer Mobile */
    .reminder-items {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .reminder-item {
        justify-content: center;
        width: 100%;
        max-width: 250px;
    }
}

/* Mobile Portrait */
@media (max-width: 480px) {
    .hero-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .date-badge {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    section {
        padding: 1.5rem 1rem;
        margin-bottom: 2rem;
    }
    
    .section-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .info-item {
        padding: 1.5rem 1rem;
        gap: 15px;
    }
    
    .info-icon {
        min-width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    
    .timeline-content {
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    .activities-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .activity-card {
        padding: 1.2rem;
    }
    
    .activity-icon {
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
    }
    
    .countdown {
        gap: 10px;
    }
    
    .countdown-item {
        min-width: 55px;
        padding: 10px 6px;
    }
    
    .countdown-number {
        font-size: 1.6rem;
    }
    
    .floating-nav {
        bottom: 15px;
        padding: 10px 15px;
        gap: 3px;
    }
    
    .nav-item {
        min-width: 40px;
        height: 40px;
        padding: 8px 10px;
    }
    
    .nav-item i {
        font-size: 12px;
    }
}

/* Mobile Landscape */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-header {
        min-height: 100vh;
    }
    
    .hero-content {
        padding: 1.5rem 1rem;
    }
    
    .countdown-container {
        margin-top: 1.5rem;
    }
    
    .floating-nav {
        right: 15px;
        bottom: 50%;
        left: auto;
        transform: translateY(50%);
        flex-direction: column;
        padding: 10px 8px;
    }
    
    .nav-item {
        width: 40px;
        height: 40px;
    }
}

/* Très petits écrans */
@media (max-width: 360px) {
    main {
        padding: 1.5rem 0.8rem;
    }
    
    section {
        padding: 1.2rem 0.8rem;
    }
    
    .hero-content {
        padding: 1.5rem 0.8rem;
    }
    
    .info-item {
        padding: 1.2rem 0.8rem;
    }
    
    .countdown {
        gap: 8px;
    }
    
    .countdown-item {
        min-width: 50px;
        padding: 8px 4px;
    }
    
    .floating-nav {
        padding: 8px 12px;
    }
}
