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

:root {
    --primary-color: #8B9DC3;
    --secondary-color: #C8D5E3;
    --accent-color: #A8BCD6;
    --text-color: #3D4E5C;
    --light-bg: #F5F7FA;
    --white: #FFFFFF;
    --shadow: rgba(139, 157, 195, 0.15);
}

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

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

/* Navbar */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 10px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 20px;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-color);
    letter-spacing: 2px;
}

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

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

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    padding: 5rem 0;
    text-align: center;
    margin-bottom: 3rem;
}

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

.hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.95;
    font-weight: 300;
}

/* Intro Section */
.intro {
    text-align: center;
    margin-bottom: 3rem;
}

.intro h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 400;
}

.intro p {
    font-size: 1.1rem;
    color: var(--text-color);
    opacity: 0.8;
}

/* Activities Section */
.activities {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.activity-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.activity-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(139, 157, 195, 0.25);
}

.activity-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.activity-icon svg {
    width: 40px;
    height: 40px;
    color: var(--primary-color);
}

.activity-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 500;
}

.activity-card p {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    opacity: 0.85;
}

.btn-discover {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    font-size: 1rem;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.btn-discover:hover {
    opacity: 0.9;
}

/* Activity Detail Pages */
.detail-hero {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    padding: 3rem 0;
    text-align: center;
    margin-bottom: 2rem;
}

.detail-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 400;
}

.content-section {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px var(--shadow);
    margin-bottom: 3rem;
    min-height: 400px;
}

.content-section h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.content-section p {
    line-height: 1.8;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.content-placeholder {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
    color: var(--text-color);
    opacity: 0.7;
    font-style: italic;
}

/* Contact Form */
.contact-form {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px var(--shadow);
    max-width: 700px;
    margin: 0 auto 3rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid var(--secondary-color);
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.btn-submit {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    border: none;
    padding: 1rem 3rem;
    border-radius: 25px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: opacity 0.3s ease;
    width: 100%;
}

.btn-submit:hover {
    opacity: 0.9;
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Captcha Styles */
.captcha-group {
    background: var(--light-bg);
    padding: 1.5rem;
    border-radius: 10px;
    border: 2px solid var(--secondary-color);
}

.captcha-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0.5rem;
}

.captcha-question {
    background: var(--white);
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    min-width: 120px;
    text-align: center;
    user-select: none;
}

.captcha-container input[type="text"] {
    flex: 1;
    max-width: 150px;
}

.btn-refresh {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 0.8rem 1rem;
    border-radius: 10px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-refresh:hover {
    opacity: 0.8;
    transform: rotate(180deg);
}

.captcha-hint {
    display: block;
    margin-top: 0.5rem;
    color: var(--text-color);
    opacity: 0.7;
    font-size: 0.85rem;
}

/* Info Page */
.info-section {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px var(--shadow);
    margin-bottom: 3rem;
}

.info-section h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

/* Images dans les pages d'activités */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.image-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 3px 15px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 25px rgba(139, 157, 195, 0.3);
}

.image-item img {
    width: 100%;
    height: 650px;
    object-fit: cover;
    display: block;
}

.image-caption {
    padding: 1rem;
    background: var(--white);
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-color);
}

.feature-image {
    width: 100%;
    max-width: 800px;
    margin: 2rem auto;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
    display: block;
}

.image-placeholder {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: 15px;
    padding: 3rem;
    text-align: center;
    color: var(--primary-color);
    border: 2px dashed var(--primary-color);
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin: 2rem 0;
}

.image-placeholder svg {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
    opacity: 0.7;
}

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

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        gap: 1rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .activities {
        grid-template-columns: 1fr;
    }
    
    .content-section,
    .contact-form,
    .info-section {
        padding: 2rem;
    }
    
    .captcha-container {
        flex-wrap: wrap;
    }
    
    .captcha-question {
        min-width: 100px;
        font-size: 1rem;
        padding: 0.6rem 1rem;
    }
    
    .captcha-container input[type="text"] {
        max-width: 100%;
        flex: 1;
        min-width: 100px;
    }
    
    .btn-refresh {
        padding: 0.6rem 0.8rem;
    }
}

