/* style-accueil.css - Design Moderne & Héro pour l'accueil uniquement */

:root {
    --primary-color: #2c3e50;
    --accent-color: #e67e22;
    --bg-color: #f8f9fa;
    --text-color: #333;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0,0,0,0.1);
    --radius: 8px;
}

body {
    font-family: 'Open Sans', sans-serif;
    background: var(--bg-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    color: var(--primary-color);
    margin-top: 0;
}

/* Hero Header (Spécifique à l'accueil) */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #34495e 100%);
    color: var(--white);
    padding: 80px 20px;
    text-align: center;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}

.hero h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 30px;
    font-style: italic;
}

.btn-hero {
    background: var(--accent-color);
    color: var(--white);
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    text-transform: uppercase;
    transition: transform 0.2s, background 0.2s;
    display: inline-block;
}

.btn-hero:hover {
    background: #d35400;
    transform: translateY(-2px);
    text-decoration: none;
}

/* Navigation Spécifique Accueil */
.main-nav {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 15px 20px;
    flex-wrap: wrap;
}

.nav-container a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    transition: color 0.2s;
    font-size: 1rem;
}

.nav-container a:hover, .nav-container a.active {
    color: var(--accent-color);
}

/* Layout Global */
.container {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
}

.main-content {
    margin-top: 20px;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
    text-align: center;
}

.stat-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border-bottom: 4px solid var(--accent-color);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: 'Montserrat', sans-serif;
}

.stat-label {
    color: #7f8c8d;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
}

/* Cards Grid (Activités) */
.cards-grid {
    margin-top: 60px;
}

.cards-grid h2, .recent-members h2, .location-section h2 {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.cards-grid h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    margin: 10px auto 0;
    border-radius: 2px;
}

.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s;
    text-align: center;
}

.card:hover {
    transform: translateY(-5px);
    text-decoration: none;
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.card h3 {
    margin-bottom: 15px;
}

/* Membres Récents */
.recent-members {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-top: 60px;
}

.member-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.member-item {
    background: #f1f2f6;
    padding: 15px;
    border-radius: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.member-name {
    font-weight: 600;
    color: var(--primary-color);
}

.member-elo {
    background: var(--primary-color);
    color: var(--white);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
}

.small-text {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
}

.small-text a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: bold;
}

/* Localisation */
.location-section {
    margin-top: 60px;
    margin-bottom: 60px;
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.map-box {
    background: #ecf0f1;
    height: 100%;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    color: #7f8c8d;
    text-align: center;
    font-weight: bold;
}

/* Footer */
footer {
    background: var(--primary-color);
    color: #bdc3c7;
    text-align: center;
    padding: 40px 0;
    margin-top: 60px;
}

.footer-tech {
    font-size: 0.8rem;
    opacity: 0.7;
    margin-top: 10px;
}

/* Responsive Mobile */
@media (max-width: 768px) {
    .hero h1 { font-size: 2rem; }
    .nav-container { flex-wrap: wrap; justify-content: center; }
    .location-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr; }
}