/* Variables CSS */
:root {
    --primary: #8cd7ff;
    --secondary: #e6f3ff;
    --light-text: #fff;
    --dark-text: #2c3e50;
    --gradient-bg: linear-gradient(135deg, #8cd7ff 0%, #e6f3ff 100%);
    --shadow: 0 10px 30px rgba(140, 215, 255, 0.3);
    --hover-shadow: 0 15px 40px rgba(140, 215, 255, 0.4);
}

/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
    background: var(--gradient-bg);
    min-height: 100vh;
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(140, 215, 255, 0.2);
    transition: transform 0.3s ease, background 0.3s ease, backdrop-filter 0.3s ease;
}

header.hidden {
    transform: translateY(-120%);
}

nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
}

nav a {
    text-decoration: none;
    color: var(--dark-text);
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    position: relative;
    overflow: hidden;
    transition: color 0.3s, transform 0.3s;
    z-index: 1;
    white-space: nowrap;
}

nav a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary);
    z-index: -1;
    transition: left 0.3s;
}

nav a:hover {
    color: var(--light-text);
    transform: translateY(-2px);
}

nav a:hover::before {
    left: 0;
}

/* Section Passion */
#passion {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 2rem auto;
    margin-top: 7%;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    box-shadow: var(--shadow);
}

#passion h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--dark-text);
    position: relative;
}

.bowling,
.musique,
.jeux_video {
    background: var(--light-text);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bowling:hover,
.musique:hover,
.jeux_video:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
}

.bowling h3,
.musique h3,
.jeux_video h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark-text);
}

.bowling p,
.musique p,
.jeux_video p {
    margin-bottom: 1.5rem;
    opacity: 0.8;
    line-height: 1.8;
}

.jeux-liste {
    margin-left: 5%;
    opacity: 0.8;
}

/* Footer */
footer {
    background: var(--dark-text);
    color: var(--light-text);
    text-align: center;
    padding: 2rem;
    margin-top: 2rem;
}

.lang-btn {
    position: absolute;
    right: 2rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    #passion {
        margin: 1rem;
        padding: 4rem 1.5rem;
    }
}

@media (max-width: 768px) {
    header {
        padding: 0.5rem 0;
    }

    nav {
        gap: 0.8rem;
        padding: 0 1rem;
        overflow-x: auto;
        overflow-y: hidden;
        flex-wrap: nowrap;
        scrollbar-width: none;
        -ms-overflow-style: none;
        justify-content: flex-start;
    }

    nav::-webkit-scrollbar {
        display: none;
    }

    nav a {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }

    .lang-btn {
        position: static;
        margin-left: auto;
    }

    #passion {
        margin: 5rem 0.5rem 0 0.5rem;
        padding: 3rem 1.5rem;
        border-radius: 15px;
    }

    #passion h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .bowling,
    .musique,
    .jeux_video {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .bowling h3,
    .musique h3,
    .jeux_video h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    nav {
        gap: 0.5rem;
        justify-content: space-between;
    }

    nav a {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
        border-radius: 20px;
    }

    .lang-btn {
        position: static;
    }

    #passion {
        margin: 4.5rem 0.5rem 0 0.5rem;
        padding: 2rem 1rem;
        border-radius: 10px;
    }

    #passion h2 {
        font-size: 1.6rem;
        margin-bottom: 1.5rem;
    }

    .bowling,
    .musique,
    .jeux_video {
        padding: 1rem;
        margin-bottom: 1rem;
        border-radius: 10px;
    }

    .bowling h3,
    .musique h3,
    .jeux_video h3 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }

    .bowling p,
    .musique p,
    .jeux_video p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    footer {
        padding: 1.5rem 1rem;
        margin-top: 1rem;
    }

    footer p {
        font-size: 0.9rem;
    }
}

@media (max-width: 320px) {
    nav a {
        padding: 0.4rem 0.6rem;
        font-size: 0.75rem;
    }

    .lang-btn {
         position: static;
     }

    #passion {
        margin: 4rem 0.5rem 0 0.5rem;
        padding: 1.5rem 0.8rem;
    }

    #passion h2 {
        font-size: 1.4rem;
    }

    .bowling,
    .musique,
    .jeux_video {
        padding: 0.8rem;
    }

    .bowling h3,
    .musique h3,
    .jeux_video h3 {
        font-size: 1.1rem;
    }
}