﻿/* Reset et variables */
:root {
    --primary-green: #245C36;
    --gold: #FFD700;
    --dark-green: #006400;
    --light-gray: #f5f5f5;
    --white: #ffffff;
    --black: #333333;
    --shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Tajawal', sans-serif;
    background: var(--light-gray);
    padding-top: 50px;
    line-height: 1.6;
}

/* Bannière */
.construction-banner {
    background: var(--gold);
    color: var(--dark-green);
    text-align: center;
    padding: 12px;
    font-weight: bold;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

/* Header */
header {
    background: rgba(255, 255, 255, 0.95);
    padding: 15px 0;
    position: sticky;
    top: 50px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(5px);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    height: 60px;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.drapeau {
    height: 40px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: var(--shadow);
}

/* Navigation */
nav {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

nav a {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: bold;
    padding: 8px 12px;
    transition: var(--transition);
}

nav a:hover {
    color: var(--gold);
}

.cta {
    background: var(--primary-green);
    color: var(--white) !important;
    padding: 8px 20px !important;
    border-radius: 20px;
}

/* Hero Section */
.hero {
    position: relative;
    height: 80vh;
    min-height: 500px;
    overflow: hidden;
}

.slideshow {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease;
}

.slide.active {
    opacity: 1;
}

/* Styles spécifiques pour les slides */
.person-centered {
    background-position: center 35%;
}

.group-centered {
    background-position: center 45%;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
    text-align: center;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
    }
    
    nav {
        justify-content: center;
    }
    
    .hero {
        height: 70vh;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 60vh;
    }
    
    .hero-content {
        padding: 20px;
    }
}