/* css/style.css - Styles communs à toutes les pages */
:root {
    --primary-color: #1e3a8a;
    --secondary-color: #f59e0b;
    --accent-color: #dc2626;
    --dark-color: #1a1a1a;
    --light-color: #f8f9fa;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Navigation */
.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
}

.bg-primary-custom {
    background-color: var(--primary-color) !important;
}

/* Hero Sections */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
                url('https://images.unsplash.com/photo-1575361204480-aadea25e6e68?ixlib=rb-4.0.3');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 120px 0;
    text-align: center;
}

.hero-equipe {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
                     url('https://images.unsplash.com/photo-1574629810360-7efbbe195018?ixlib=rb-4.0.3');
}

.hero-calendrier {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
                     url('https://images.unsplash.com/photo-1592928304400-4d0b5f6c6bd4?ixlib=rb-4.0.3');
}

.hero-actualites {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
                     url('https://images.unsplash.com/photo-1552667466-07770ae110d0?ixlib=rb-4.0.3');
}

.hero-contact {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
                     url('https://images.unsplash.com/photo-1562077772-3bd90403f7f1?ixlib=rb-4.0.3');
}

/* Typographie */
.section-title {
    position: relative;
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    text-align: center;
}

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

/* Cartes */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    height: 100%;
    margin-bottom: 1.5rem;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary-custom {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.btn-primary-custom:hover {
    background-color: #152a6b;
    border-color: #152a6b;
    color: white;
}

/* Équipe */
.team-member {
    text-align: center;
    padding: 1rem;
}

.team-member img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--secondary-color);
    margin-bottom: 1rem;
}

.player-card {
    border-left: 4px solid var(--primary-color);
}

.staff-card {
    border-left: 4px solid var(--secondary-color);
}

/* Calendrier */
.match-card {
    border-left: 4px solid var(--accent-color);
}

.match-result-victory {
    border-left-color: #059669;
}

.match-result-defeat {
    border-left-color: #dc2626;
}

.match-result-draw {
    border-left-color: #d97706;
}

.badge-victory { background-color: #059669; }
.badge-defeat { background-color: #dc2626; }
.badge-draw { background-color: #d97706; }

/* Actualités */
.news-card img {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

.news-date {
    color: #6b7280;
    font-size: 0.9rem;
}

/* Contact */
.contact-info {
    text-align: center;
    padding: 2rem;
}

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

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Sponsors */
.sponsor-logo {
    height: 80px;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
    padding: 1rem;
}

.sponsor-logo:hover {
    filter: grayscale(0%);
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
}

.footer-links a:hover {
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        padding: 80px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}

/* 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;
}

/* Loading lazy */
.lazy-load {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lazy-load.loaded {
    opacity: 1;
}