/* Reset & Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1e3a5f;
    --secondary-color: #d4a574;
    --accent-color: #e63946;
    --light-blue: #4a90a4;
    --sand: #f4e8d8;
    --white: #ffffff;
    --dark: #0f1e2e;
    --wave-color: rgba(74, 144, 164, 0.3);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--primary-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

.nav-menu a:hover {
    color: var(--secondary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--white);
    transition: all 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--light-blue) 100%);
    overflow: hidden;
    margin-top: 60px;
}

.wave-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120'%3E%3Cpath d='M0,50 Q300,10 600,50 T1200,50 L1200,120 L0,120 Z' fill='%23f4e8d8'/%3E%3C/svg%3E") repeat-x;
    background-size: 1200px 120px;
    animation: wave 15s linear infinite;
}

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

.hero-content {
    text-align: center;
    color: var(--white);
    z-index: 2;
    padding: 2rem;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    line-height: 1.2;
}

.hero-dates {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid rgba(255,255,255,0.2);
    display: inline-block;
}

.date-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

.hero-dates p {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    margin: 0.5rem 0;
}

.location {
    font-weight: bold;
    color: var(--secondary-color);
    font-size: clamp(1.3rem, 3vw, 1.8rem) !important;
}

.anchor-animation {
    font-size: 4rem;
    margin-top: 2rem;
    animation: float 3s ease-in-out infinite;
}

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

/* Section Title */
.section-title {
    text-align: center;
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--primary-color);
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '⚓';
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
}

/* Programme Section */
.programme-section {
    background: var(--sand);
    padding: 5rem 0;
}

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

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: var(--light-blue);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    display: flex;
    justify-content: flex-end;
    width: 50%;
}

.timeline-item:nth-child(even) {
    align-self: flex-end;
    margin-left: auto;
    justify-content: flex-start;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: var(--accent-color);
    border: 4px solid var(--white);
    border-radius: 50%;
    z-index: 2;
}

.timeline-content {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    width: 90%;
    position: relative;
    margin-right: 2rem;
}

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

.timeline-date {
    color: var(--accent-color);
    font-weight: bold;
    font-size: 0.9rem;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.timeline-content p {
    color: var(--dark);
    margin-bottom: 1rem;
}

.timeline-icon {
    font-size: 2rem;
    position: absolute;
    right: -50px;
    top: 50%;
    transform: translateY(-50%);
}

.timeline-item:nth-child(even) .timeline-icon {
    right: auto;
    left: -50px;
}

/* Animations Section */
.animations-section {
    padding: 5rem 0;
    background: var(--white);
}

.animations-intro {
    text-align: center;
    font-size: 1.2rem;
    color: var(--dark);
    margin-bottom: 3rem;
    font-style: italic;
}

.animations-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.animation-card {
    display:flex;
    align-items: center;
    text-align:left;
    gap: 2rem;
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--primary-color) 100%);
    padding-left: 1rem;
    padding-right: 1rem;
    padding-bottom: 1rem;
    border-radius: 15px;
    color: var(--white);
    transition: transform 0.3s, box-shadow 0.3s;
    overflow: hidden;
}

.animation-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.card-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.animation-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.animation-card p {
    font-size: 1rem;
    line-height: 1.6;
}

.dj-card {
    grid-column: span 1;
}

.dj-image {
    margin-top: 1.5rem;
    border-radius: 10px;
    overflow: hidden;
    border: 3px solid var(--white);
}

.dj-image img {
    width: 100%;
    height: auto;
    display: block;
}

.bar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    margin-top: 1.5rem;
    border-radius: 10px;
    overflow: hidden;
    border: 3px solid var(--white);
}

/* Lieux Section */
.lieux-section {
    padding: 5rem 0;
    background: var(--sand);
}

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

.lieu-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.lieu-card:hover {
    transform: scale(1.05);
}

.lieu-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.lieu-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.lieu-card:hover .lieu-image img {
    transform: scale(1.1);
}

.lieu-info {
    padding: 1.5rem;
}

.lieu-info h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.lieu-info p {
    color: var(--dark);
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 2rem 0;
}

.footer p {
    margin: 0.5rem 0;
}

.footer-tagline {
    font-style: italic;
    color: var(--secondary-color);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 60px;
        flex-direction: column;
        background: var(--primary-color);
        width: 100%;
        text-align: center;
        transition: left 0.3s;
        gap: 0;
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        padding: 1rem 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item,
    .timeline-item:nth-child(even) {
        width: 100%;
        justify-content: flex-start;
        margin-left: 0;
    }

    .timeline-dot {
        left: 20px;
        transform: translateX(-50%);
    }

    .timeline-content {
        margin-left: 50px !important;
        margin-right: 0 !important;
        width: calc(100% - 70px);
    }

    .timeline-icon,
    .timeline-item:nth-child(even) .timeline-icon {
        display: none;
    }

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

    .dj-card {
        grid-column: span 1;
    }

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

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .hero-dates {
        padding: 1.5rem;
    }

    .section-title {
        font-size: 2rem;
    }
}
