/* Style personnalisé pour Comité Des Fêtes Oizé */
:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --accent-color: #ffc107;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.navbar-brand img {
    height: 80px;
    width: auto;
    object-fit: contain;
}

.hero-section {
    background: #294041;
    background-size: cover;
    background-position: center;
    color: white;
    padding: 15px 0;
    margin-bottom: 40px;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.hero-logo {
    height: 75px;
    width: auto;
    flex-shrink: 0;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.6)) drop-shadow(0 0 20px rgba(255,200,100,0.4));
}

.hero-title {
    font-size: clamp(1.1rem, 4vw, 2.2rem);
    font-weight: 800;
    text-align: center;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.7);
    margin: 0;
    white-space: nowrap;
    letter-spacing: 1px;
}

/* Mobile : logos plus petits */
@media (max-width: 576px) {
    .hero-logo {
        height: 45px;
    }
    .hero-container {
        gap: 10px;
    }
}

.hero-section h1 {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 1.1rem;
    font-style: italic;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.6);
    margin: 0;
    opacity: 0.9;
}

.event-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s;
    margin-bottom: 30px;
}

.event-card:hover {
    transform: translateY(-10px);
}

.event-card img {
    height: 200px;
    object-fit: cover;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 10px 30px;
    border-radius: 50px;
    font-weight: bold;
}

.btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0b5ed7;
}

footer {
    background-color: #f8f9fa;
    padding: 40px 0;
    margin-top: 60px;
}

footer h5 {
    color: var(--primary-color);
}

.social-icons a {
    font-size: 1.5rem;
    margin-right: 15px;
    color: var(--secondary-color);
}

.social-icons a:hover {
    color: var(--primary-color);
}

.contact-form {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
}

.contact-form .form-control {
    border-radius: 10px;
    padding: 12px;
}

.contact-form textarea.form-control {
    min-height: 150px;
}

/* Affiche événement - responsive */
.affiche-evenement {
    max-width: 600px;
    width: 100%;
    height: auto;
    margin: 0 auto;
}

/* Ajustements mobile */
@media (max-width: 768px) {
    .affiche-evenement {
        max-width: 95%;
        padding: 0 10px;
    }
}
/* Fix: compenser la navbar fixed-top + centrer verticalement le texte dans .page-header */
.page-header {
    margin-top: 106px;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 200px;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
.page-header > .container {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
.page-header h1 { margin-bottom: 8px; }
.page-header .lead { margin-bottom: 0; }
