﻿/* Hero Section */

/* Recreational Gym Hero Section */
#recreational-hero {
    height: 100vh; 
    background-size: cover;
    background-position: center;
    position: relative;
    color: white;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

    #recreational-hero::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.4);
        z-index: 1;
    }

/* Regional Gym Hero Section */
#regional-hero {
    height: 100vh;
    background-size: cover;
    background-position: center;
    position: relative;
    color: white;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

    #regional-hero::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.4);
        z-index: 1;
    }

/* Day Camp Hero Section */
#camp-de-jour-hero {
    height: 100vh;
    background-size: cover;
    background-position: center;
    position: relative;
    color: white;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

    #camp-de-jour-hero::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.4);
        z-index: 1;
    }

/* Fete Enfant Hero Section */
#fete-enfant-hero {
    height: 100vh;
    background-image: url('../images/fetes-gym-gadbois.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    color: white;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

    #fete-enfant-hero::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.4);
        z-index: 1;
    }

.hero-content {
    position: relative;
    z-index: 2;
}

    .hero-content h1 {
        font-size: 3rem;
        margin-bottom: 1rem;
        color: white;
    }

    .hero-content p {
        font-size: 1.25rem;
        margin-bottom: 2rem;
        color: white;
    }

.btn {
    background: #5AA9E6;
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background 0.3s;
}

    .btn:hover {
        background: #FFE45E;
    }


/* Program Section */
#programs {
    background-color: #f9f9f9;
    padding: 60px 20px;
}

/*Program Card*/
.program-card {
    margin-top: 30px;
    background: white;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

    .program-card h3 {
        margin-bottom: 10px;
        color: #333;
        font-size: 1.4rem;
        text-align: center;
    }

    .program-card p {
        color: #666;
        margin-bottom: 15px;
    }

    .program-card .btn {
        margin: 0 auto;
        background-color: #5AA9E6;
        color: white;
        padding: 10px 20px;
        border-radius: 5px;
        text-decoration: none;
        display: inline-block;
        transition: background 0.3s ease;
    }

        .program-card .btn:hover {
            background-color: #FFE45E;
        }

/*Fete Forfait Card*/
.fete-forfait-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 40px 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.fete-forfait-card {
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease;
}

    .fete-forfait-card:hover {
        transform: translateY(-5px);
    }

    .fete-forfait-card h4 {
        margin-bottom: 10px;
        color: #333;
        font-size: 1.2rem;
    }

    .fete-forfait-card p {
        color: #555;
        margin-bottom: 0;
    }


/* Call to Action */
.call-to-action {
    background-color: #FFE45E;
    color: black;
    padding: 60px 20px;
    text-align: center;
    margin-top: 40px;
}

    .call-to-action p {
        font-size: 1.1rem;
        margin-bottom: 20px;
    }

    .call-to-action .btn {
        background-color: #5AA9E6;
        color: white;
        font-weight: bold;
    }

        .call-to-action .btn:hover {
            background-color: #FF6392;
        }

.espace-parents-links a:link {
    text-decoration: none;
}

.espace-parents-links a:visited {
    color:#5AA9E6;
}

main {
    margin-top: 80px;
}

img {
    height: 120px;
    padding-bottom: 30px;
}

    img:hover {
        transform: scale(1.05);
    }


.team-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
}
.coach-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    width: 220px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.coach-card img {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: cover;
    border-radius: 8px;
}
.coach-card h3 {
    margin-top: 15px;
    font-size: 1.2rem;
}
.coach-card p {
    font-size: 0.95rem;
    color: #666;
}    
