/* ===== VARIABLES CSS - FACILES À MODIFIER ===== */
:root {
    --primary-color: #ff6b35;
    --secondary-color: #000;
    --background-color: #fff;
    --text-color: #333;
    --light-bg: #f5f5f5;
    --shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
    --transition: all 0.2s ease;
}

::selection {
    background-color: #000;
    color: white;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--background-color);
    overflow-x: hidden;
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: #fff;
    padding: 1rem 0;
    z-index: 1000;
    transition: var(--transition);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid #e0e0e0;
}

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

.logo {
    height: 50px;
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.05);
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    font-size: 1.1rem;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a:focus::after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a:focus {
    color: var(--primary-color);
    outline: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    background: none;
    border: none;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    margin: 3px 0;
    transition: var(--transition);
}

/* ===== HERO SECTION ===== */
.hero {
    height: 80vh;
    background: linear-gradient(to right, var(--primary-color) 0%, #e55a2e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero-content {
    max-width: 800px;
    z-index: 2;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: white;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
    font-size: 1.1rem;
    border: 2px solid white;
}

.btn:hover,
.btn:focus {
    background: transparent;
    color: white;
    border-color: white;
    outline: none;
}

.btn2 {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: white;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
    font-size: 1.1rem;
    border: 2px solid white;
}

.btn2:hover,
.btn2:focus {
    background: transparent;
    color: white;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    outline: none;
}

.standard-link {
    color: black;
}

.standard-link:hover {
    color: darkorange;
}

/* ===== SECTIONS GÉNÉRALES ===== */
.section {
    padding: 5rem 0;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

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

.section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-color);
}

/* ===== SECTION ACTIVITÉS ===== */

.activites-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.activites-text {
    font-size: 1.2rem;
    color: #555;
    line-height: 1.8;
}

.activites-text p {
    margin-bottom: 1.5rem;
}

.activites-image {
    width: 100%;
    height: 350px;
    background: linear-gradient(to right, var(--primary-color), #e55a2e);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    background-image:url("/images/handibasket-hrs.png");
}

/* ===== SECTION À PROPOS ===== */
.about {
    background: var(--light-bg);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    font-size: 1.2rem;
    color: #555;
    line-height: 1.8;
}

.about-text p {
    margin-bottom: 1.5rem;
}

.about-image {
    width: 100%;
    height: 350px;
    background: linear-gradient(to right, var(--primary-color), #e55a2e);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    background-image:url("/images/banner.png");
}

/* IMAGES DE LA PAGE ACTIVITÉS */

.handibasket-image {
    background-image:url("/images/handibasket-rougieres.png") !important;
}

.estivales-image {
    background-image:url("/images/estivales-paddle.png") !important;
}

.hivernales-image {
    background-image:url("/images/hivernales-kartski.png") !important;
}

.handibike-image {
    background-image:url("/images/handibike.png") !important;
}

.ftt-image {
    background-image:url("/images/ftt.png") !important;
}

.securite-routiere-image {
    background-image:url("/images/securite-routiere.png") !important;
}

/* ===== SECTION CONTACT ===== */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.contact-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateY(-2px);
}

.contact-item .icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-item h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
}

.contact-item p {
    color: #666;
    font-size: 1.1rem;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--secondary-color);
    color: white;
    text-align: center;
    padding: 3rem 0;
}

.footer p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    transition: var(--transition);
    padding: 0.5rem;
    border-radius: 50%;
    text-decoration: none;
}

.social-links a:hover,
.social-links a:focus {
    color: var(--primary-color);
    transform: scale(1.1);
    outline: 1px solid var(--primary-color);
}

/* ===== ANIMATIONS ===== */
.scroll-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: var(--shadow);
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .section {
        padding: 3rem 1rem;
    }

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

/* ===== ACCESSIBILITÉ ===== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus visible pour l'accessibilité */
*:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Réduire les animations pour les utilisateurs qui préfèrent */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}


.bold {
    font-weight: bold;
}

.underlined {
    text-decoration: underline;
}

.justify {
    text-align: justify;
}