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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

/* Règle générale pour tous les h3 */
h3 {
    color: #dc3545;
}

/* HOME PAGE SOCIAL LINKS STYLES */
.home-social-links {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
}
.home-social-links a {
    color: #333;
    font-size: 2.5rem;
    transition: color 0.3s;
}
.home-social-links a:hover {
    color: #dc3545;
}

/* ASSOCIATION PAGE STYLES */
.content-section {
    padding: 40px 0;
}
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.info-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    text-align: center;
}
.info-card h3 {
    color: #dc3545;
    margin-bottom: 15px;
    font-size: 1.5em;
}
.info-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 15px;
}
.info-card li {
    margin-bottom: 10px;
}
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}
.team-member {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
}
.bg-light {
    background-color: #f9f9f9;
}

/* ÉVÉNEMENTS PAGE STYLES */
.events-section {
    padding: 2rem 0;
}
.event-list {
    margin-top: 2rem;
}
.event-item {
    display: flex;
    align-items: center;
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.07);
    margin-bottom: 1.5rem;
}
.event-date {
    background: #dc3545;
    color: white;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    margin-right: 1.5rem;
    min-width: 120px;
    font-weight: bold;
}
.event-details h4 {
    color: #dc3545;
    margin-bottom: 0.5rem;
}
.no-events {
    text-align: center;
    padding: 2rem;
    color: #666;
}
.section-divider {
    margin: 3rem 0;
    border: 0;
    height: 1px;
    background: #ddd;
}

/* RESPONSIVE STYLES FOR EVENTS */
@media (max-width: 768px) {
    .event-item {
        flex-direction: column;
        text-align: center;
    }
    .event-date {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}

/* PHOTOS PAGE STYLES */
.no-photos-icon {
    font-size: 4rem;
    color: #ccc;
    margin-bottom: 2rem;
    display: block;
}

/* CONTACT PAGE - REFACTORISÉ RESPONSIVE */

/* Conteneur principal responsive */
#contact-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Formulaire responsive */
.contact-form {
    max-width: 700px !important;
    margin: 0 auto 3rem auto !important;
    width: 100%;
    padding: 1.5rem !important;
}

/* Sections de contact */
.contact-section {
    margin-bottom: 1rem;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 10px;
}

.contact-section h4 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.contact-section h4 i {
    color: #dc3545;
    margin-right: 0.5rem;
}

/* Grilles internes - toujours 1 colonne pour lisibilité */
.contact-section .contact-info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.contact-section .info-card {
    grid-column: auto;
    max-width: none;
}

/* Coordonnées centrees */
.contact-info {
    max-width: 900px !important;
    margin: 0 auto !important;
}

/* Section adresse commune - même style que les autres */
.address-section {
    text-align: center;
    margin-bottom: 2rem;
}

/* Réseaux sociaux */
.contact-social-links {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.contact-social-links a {
    color: #333;
    font-size: 1.8rem;
    transition: color 0.3s ease;
}

.contact-social-links a:hover {
    color: #dc3545;
}

/* RESPONSIVE BREAKPOINTS FOR CONTACT */

/* Tablettes (768px+) */
@media (min-width: 768px) {
    .contact-form {
        padding: 2rem !important;
    }

    .contact-section {
        padding: 2rem;
        margin-bottom: 2rem;
    }
}

/* Desktop (1024px+) */
@media (min-width: 1024px) {
    .contact-section h4 {
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
    }
}

/* Large screens (1200px+) */
@media (min-width: 1200px) {
    .contact-section {
        padding: 2.5rem;
    }
}

/* Mobile très petit (max 480px) */
@media (max-width: 480px) {
    #contact-content {
        padding: 0 10px;
    }

    .contact-form {
        padding: 1rem !important;
        margin-bottom: 2rem !important;
    }

    .contact-section {
        padding: 1rem;
        margin-bottom: 1rem;
    }

    .contact-section h4 {
        font-size: 1.1rem;
    }
}

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

/* Header */
header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 60px;
    max-width: 250px;
    object-fit: contain;
}

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

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center; /* Align items vertically */
    margin: 0;
    padding: 0;
}

nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: #dc3545;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 4rem 0;
    text-align: center;
    color: #333;
    overflow: hidden;
    background: linear-gradient(rgba(248, 249, 250, 0.8), rgba(233, 236, 239, 0.8));
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    z-index: -1;
}

/* Performance optimizations for mobile */
@media (max-width: 768px) {
    .hero-video {
        display: none; /* Désactiver la vidéo sur mobile pour de meilleures performances */
    }

    .hero {
        background: linear-gradient(rgba(248, 249, 250, 0.9), rgba(233, 236, 239, 0.9)), url('../images/hero-background.jpg') no-repeat center center;
        background-size: cover;
    }
}

.hero h1, .hero h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #333;
}

.hero p {
    font-size: 1.5rem;
    color: #666;
    margin-bottom: 2rem;
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-top: 1rem;
    opacity: 0.8;
    font-weight: 300;
    color: #555;
}

.musical-notes {
    display: flex;
    justify-content: center;
    gap: 2rem;
    animation: float 3s ease-in-out infinite;
}

.musical-notes i {
    font-size: 2rem;
    color: #dc3545;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Section Zone Géographique */
.hero-secondary {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/Salle_des_Garennes.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    text-align: center;
    padding: 4rem 0;
    position: relative;
    margin: 2rem 0;
}

.hero-secondary h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: white;
}

.geo-content {
    max-width: 800px;
    margin: 0 auto;
}

.geo-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: white;
}

.geo-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.geo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 8px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.geo-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.geo-item i {
    font-size: 1.5rem;
    color: #fff;
}

.geo-item span {
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
}

/* Sections */
section {
    padding: 4rem 0;
}

section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
    position: relative;
}

section h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: #dc3545;
    margin: 1rem auto;
}


/* News */
.news {
    background: #f8f9fa;
}

.news-item {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.news-content {
    text-align: center;
}

/* Images dans les actualités et contenus riches */
.news-content img,
.ql-editor-output img,
.content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1rem 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Tables responsive dans les actualités */
.news-content table,
.ql-editor-output table {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    display: block;
    white-space: nowrap;
}

/* Vidéos responsive */
.news-content iframe,
.ql-editor-output iframe {
    max-width: 100%;
    height: auto;
}

.news-item h3 {
    color: #dc3545;
    margin-bottom: 1rem;
}

.news-item small {
    color: #666;
    font-style: italic;
}

/* Contact */
.contact {
    text-align: center;
}

#contact-content p {
    font-size: 1.2rem;
    margin: 1rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

#contact-content i {
    color: #dc3545;
    font-size: 1.5rem;
}

/* Contact Page Specific Styles */
.contact-form {
    max-width: 600px;
    margin: 0 auto 3rem auto;
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

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

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
}

.contact-form textarea {
    resize: vertical;
}

.contact-info {
    max-width: 800px;
    margin: 0 auto;
}

.contact-info h3 {
    margin-bottom: 2rem;
    text-align: center;
    color: #dc3545;
    font-size: 2rem;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 2rem;
    margin-bottom: 2rem;
}

.contact-info-grid .info-card:nth-child(3) {
    grid-column: 1 / -1; /* Email card spans both columns */
}

/* Card grid layout for multiple cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.info-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-3px);
}

.info-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.info-card .icon {
    color: #dc3545;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.info-card strong {
    color: #333;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    display: block;
}

.info-card p {
    margin: 0;
    line-height: 1.5;
    color: #666;
}

.social-info {
    text-align: center;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
    margin-top: 1rem;
}

.social-info p {
    margin: 0;
    color: #666;
    font-style: italic;
}

.message-banner {
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 5px;
    color: #fff;
    text-align: center;
}

.message-banner.success {
    background-color: #2ecc71;
}

.message-banner.error {
    background-color: #e74c3c;
}

/* Footer */
footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 2rem 0;
}

.footer-link {
    color: #ccc;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #dc3545;
    text-decoration: underline;
}

/* Contact Section */
.contact {
    background: #f8f9fa;
    padding: 4rem 0;
}

.contact-info {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-info h3 {
    color: #dc3545;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.contact-info p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.contact-info i {
    color: #dc3545;
    margin-right: 0.5rem;
}

/* Forms */
.form-container {
    max-width: 400px;
    margin: 2rem auto;
    padding: 2rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: #dc3545;
    color: #fff;
    text-decoration: none;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s;
}

.btn:hover {
    background: #c82333;
}

.btn-secondary {
    background: #6c757d;
}

.btn-secondary:hover {
    background: #5a6268;
}

/* Admin Interface */
.admin-nav {
    background: #f8f9fa;
    padding: 1rem 0;
    margin-bottom: 2rem;
}

.admin-nav ul {
    display: flex;
    gap: 2rem;
}

.admin-nav a {
    text-decoration: none;
    color: #495057;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: background 0.3s;
}

.admin-nav a:hover,
.admin-nav a.active {
    background: #dc3545;
    color: #fff;
}

.content-editor {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.content-editor h3 {
    margin-bottom: 1rem;
    color: #dc3545;
}

.content-editor textarea {
    min-height: 200px;
    resize: vertical;
}

/* Member Area */
.document-list {
    display: grid;
    gap: 1rem;
}

.document-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 5px;
    border: 1px solid #dee2e6;
}

.document-item i {
    color: #dc3545;
    margin-right: 0.5rem;
}

.document-meta {
    font-size: 0.9rem;
    color: #666;
}

/* Responsive */
@media (max-width: 768px) {
    header .container {
        flex-direction: row;
        justify-content: space-between;
        padding: 0.8rem 15px;
    }
    
    nav ul {
        /* This will be for the desktop nav, hidden on mobile */
    }
    
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 3rem 0;
    }
    
    .hero h2 {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }
    
    .hero p {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }
    
    .musical-notes {
        gap: 1rem;
    }
    
    .musical-notes i {
        font-size: 1.5rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    section h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    
    .news-item {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .form-container {
        margin: 1rem auto;
        padding: 1.5rem;
    }
    
    .admin-nav ul {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .admin-nav a {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .content-editor {
        padding: 1.5rem;
    }
    
    .logo-img {
        height: 45px;
        max-width: 180px;
    }
}

@media (max-width: 992px) {
    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-form {
        margin-bottom: 2rem;
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .hero h2 {
        font-size: 1.6rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    section h2 {
        font-size: 1.6rem;
    }
    
    
    .news-item {
        padding: 1rem;
    }
    
    .form-container {
        padding: 1rem;
        margin: 0.5rem auto;
    }
    
    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    #contact-content p {
        font-size: 1rem;
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .admin-nav {
        padding: 0.5rem 0;
    }
    
    .admin-nav ul {
        gap: 0.5rem;
    }
    
    .admin-nav a {
        padding: 0.3rem 0.6rem;
        font-size: 0.8rem;
    }

    /* Contact page responsive */
    .contact-form {
        margin-bottom: 1.5rem;
        padding: 1rem;
    }
    
    .contact-form .form-group {
        margin-bottom: 1rem;
    }
    
    .contact-form input[type="text"],
    .contact-form input[type="email"],
    .contact-form textarea {
        padding: 0.6rem;
        font-size: 16px;
    }
    
    .contact-form textarea {
        min-height: 120px;
    }
    
    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .info-card {
        padding: 1rem;
    }
    
    .info-card .icon {
        font-size: 1.5rem;
        margin-bottom: 0.8rem;
    }
    
    .message-banner {
        padding: 0.8rem;
        margin-bottom: 1rem;
        font-size: 0.9rem;
    }
    
    .contact h2 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    .contact-form h3 {
        font-size: 1.3rem;
    }
    
    .contact-info h3 {
        font-size: 1.6rem;
    }
    
    .contact-form .btn {
        width: 100%;
        padding: 1rem;
        font-size: 1.1rem;
    }
    
    .social-info {
        padding: 1rem;
        margin-top: 1rem;
    }
}

/* Alert Messages */
.alert {
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1rem;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-danger {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* Mobile Navigation */
.hamburger-btn {
    display: none; /* Hidden by default */
    background: none;
    border: none;
    font-size: 2rem;
    color: #333;
    cursor: pointer;
    z-index: 1010;
}

#mobile-nav {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100%;
    background: #fff;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out, visibility 0.3s;
    z-index: 1005;
    padding-top: 60px;
    visibility: hidden;
    opacity: 0;
}

#mobile-nav.is-open {
    transform: translateX(0);
    visibility: visible;
    opacity: 1;
}

#mobile-nav ul {
    flex-direction: column;
    gap: 0;
    align-items: flex-start;
}

#mobile-nav li {
    width: 100%;
}

#mobile-nav a {
    display: block;
    padding: 1rem 2rem;
    border-bottom: 1px solid #f0f0f0;
    font-size: 1.1rem;
}

#mobile-nav .close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    background: none;
    border: none;
    color: #333;
    cursor: pointer;
}

/* Final Mobile Adjustments */
@media (max-width: 768px) {
    header .container nav {
        display: none; /* Hide original nav container on mobile */
    }
    .hamburger-btn {
        display: block; /* Show hamburger on mobile */
    }
}

/* Login button and menu separation */
nav ul li a.btn {
    padding: 0.5rem 1rem;
    line-height: 1.5; /* Better vertical alignment */
}

.nav-separator {
    width: 1px;
    background-color: #e0e0e0;
    margin: 0 1rem;
    height: 24px;
    align-self: center;
}


@media (max-width: 768px) {
    
    #mobile-nav ul li a.btn {
        text-align: center;
        margin: 0.5rem 2rem;
        width: calc(100% - 4rem);
    }
}


/* Photo Gallery Styles */
.photos-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    padding: 4rem 0;
}

.photos-hero h1 {
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.photos-gallery {
    padding: 4rem 0;
}

.photos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.photo-item {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.photo-item:hover {
    transform: scale(1.05);
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.photo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.photo-item:hover .photo-overlay {
    opacity: 1;
}

.photo-overlay i {
    color: white;
    font-size: 2rem;
}

.lightbox {
    display: none;
    position: fixed;
    z-index: 1020;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80%;
    animation: zoom 0.3s;
}

@keyframes zoom {
    from {transform: scale(0)}
    to {transform: scale(1)}
}

.lightbox-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: #bbb;
    text-decoration: none;
}

.lightbox-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
}

.no-photos {
    text-align: center;
    padding: 4rem 0;
    color: #666;
}

/* ORGANISATION PAGE - FORCE INLINE LAYOUT */
.info-card ul li {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.info-card ul li strong {
    display: inline !important;
    margin-bottom: 0 !important;
}

/* PHOTO GALLERY STYLES */
.featured-photos-carousel {
    padding: 3rem 0;
    background: #f8f9fa;
}

.carousel-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    height: 400px;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.7);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    z-index: 2;
}

.carousel-btn:hover {
    background: rgba(0,0,0,0.9);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn-prev {
    left: 20px;
}

.carousel-btn-next {
    right: 20px;
}

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 2;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: white;
    transform: scale(1.2);
}

/* Photo Gallery Grid */
.photo-gallery {
    padding: 4rem 0;
}

.pagination-info {
    text-align: center;
    margin-bottom: 2rem;
    color: #666;
    font-style: italic;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 2rem;
}

.gallery-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: white;
    font-size: 2rem;
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10001;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.7);
    color: white;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.lightbox-nav:hover {
    background: rgba(0,0,0,0.9);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: -80px;
}

.lightbox-next {
    right: -80px;
}

.lightbox-counter {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1.1rem;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.pagination-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 10px 15px;
    background: white;
    color: #dc3545;
    text-decoration: none;
    border: 2px solid #dc3545;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
    min-width: 44px;
    justify-content: center;
}

.pagination-btn:hover {
    background: #dc3545;
    color: white;
    transform: translateY(-2px);
}

.pagination-btn.active {
    background: #dc3545;
    color: white;
    cursor: default;
}

.pagination-btn.active:hover {
    transform: none;
}

/* Schedule Section */
.schedule-section {
    background: #f8f9fa;
    padding: 4rem 0;
}

.schedule-section .section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 3rem;
    font-style: italic;
}

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.day-schedule {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.day-schedule:hover {
    transform: translateY(-5px);
}

.day-header {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
    padding: 1rem;
    text-align: center;
}

.day-header h3 {
    margin: 0;
    font-size: 1.1rem;
    color: white;
}

.day-header .fas.fa-circle {
    font-size: 0.8rem;
    margin-right: 0.5rem;
}

.day-header .monday { color: white; }
.day-header .tuesday { color: white; }
.day-header .wednesday { color: white; }
.day-header .thursday { color: white; }
.day-header .friday { color: white; }
.day-header .saturday { color: white; }

.schedule-content {
    padding: 1.5rem;
}

.teacher-slot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    background: #f8f9fa;
    border-radius: 5px;
    border-left: 4px solid #dc3545;
}

.teacher-slot.catch-up {
    border-left-color: #ffc107;
    background: #fff8e1;
}

.teacher-slot.tentative {
    border-left-color: #17a2b8;
    background: #e1f5fe;
}

.teacher-slot .teacher {
    font-weight: 600;
    color: #333;
}

.teacher-slot .time {
    color: #666;
    font-size: 0.9rem;
}

.note-slot {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 1rem;
    margin-top: 1rem;
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 5px;
    font-size: 0.85rem;
    color: #856404;
}

.note-slot .fas {
    color: #f39c12;
    margin-top: 0.2rem;
}

.schedule-note {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-align: center;
}

.schedule-note .fas {
    color: #17a2b8;
    margin-right: 0.5rem;
}

/* Responsive adjustments for schedule */
@media (max-width: 768px) {
    .schedule-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .teacher-slot {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }

    .note-slot {
        flex-direction: column;
        gap: 0.75rem;
    }
}

/* Year Navigation */
.year-navigation {
    background: #f8f9fa;
    padding: 2rem 0;
    border-bottom: 1px solid #e9ecef;
}

.year-filters {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 0;
}

.year-btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background: white;
    color: #dc3545;
    text-decoration: none;
    border: 2px solid #dc3545;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.year-btn:hover {
    background: #dc3545;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(220, 53, 69, 0.3);
}

.year-btn.active {
    background: #dc3545;
    color: white;
    cursor: default;
}

.year-btn.active:hover {
    transform: none;
}

/* No photos section */
.no-photos {
    padding: 6rem 0;
    text-align: center;
    background: #f8f9fa;
}

.no-photos-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 400px;
    margin: 0 auto;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    /* Pagination mobile */
    .pagination {
        gap: 5px;
        padding: 0 10px;
    }
    
    .pagination-btn {
        padding: 8px 10px;
        font-size: 0.85rem;
        min-width: 40px;
    }
    
    /* Carrousel mobile */
    .carousel-slide {
        height: 200px;
    }
    
    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .carousel-btn-prev {
        left: 5px;
    }
    
    .carousel-btn-next {
        right: 5px;
    }
    
    .carousel-indicators {
        bottom: 10px;
    }
    
    .indicator {
        width: 8px;
        height: 8px;
    }
    
    /* Galerie mobile */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        margin-top: 1.5rem;
    }
    
    .gallery-item {
        aspect-ratio: 1;
    }
    
    /* Lightbox mobile */
    .lightbox-content {
        max-width: 95%;
        max-height: 85%;
        margin: 0 auto;
    }
    
    .lightbox-content img {
        max-height: 70vh;
        width: auto;
        max-width: 100%;
    }
    
    .lightbox-nav {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .lightbox-prev {
        left: 10px;
    }
    
    .lightbox-next {
        right: 10px;
    }
    
    .lightbox-close {
        top: 10px;
        right: 10px;
        font-size: 1.8rem;
    }
    
    .lightbox-counter {
        bottom: 10px;
        font-size: 1rem;
    }
    
    /* Sections mobile */
    .featured-photos-carousel {
        padding: 2rem 0;
    }
    
    .photo-gallery {
        padding: 2rem 0;
    }
    
    .pagination-info {
        margin-bottom: 1.5rem;
        font-size: 0.9rem;
    }
    
    /* Actualités mobile */
    .news-item {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .news-item h3 {
        font-size: 1.3rem;
        line-height: 1.3;
    }
    
    .news-content {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    /* Images dans actualités mobile */
    .news-content img,
    .ql-editor-output img {
        margin: 0.8rem 0;
        border-radius: 6px;
    }
    
    /* Tables dans actualités responsive */
    .news-content table,
    .ql-editor-output table {
        font-size: 0.85rem;
        overflow-x: auto;
        display: block;
        white-space: nowrap;
    }
}

@media (max-width: 480px) {
    /* Très petits écrans */
    .pagination-btn {
        padding: 6px 8px;
        font-size: 0.8rem;
        min-width: 35px;
    }
    
    .carousel-container {
        margin: 0 10px;
    }
    
    .carousel-slide {
        height: 180px;
    }
    
    .carousel-btn {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
    
    .gallery-grid {
        gap: 8px;
    }
    
    /* Touch targets plus grands sur mobile */
    .gallery-item {
        min-height: 120px;
    }
    
    /* Lightbox très mobile */
    .lightbox-content {
        max-width: 100%;
        max-height: 90%;
        padding: 0 5px;
    }
    
    .lightbox-content img {
        max-height: 60vh;
    }
    
    .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .lightbox-close {
        font-size: 1.5rem;
        padding: 5px;
        background: rgba(0,0,0,0.8);
        border-radius: 50%;
        width: 35px;
        height: 35px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Hero mobile */
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    /* Actualités très petits écrans */
    .news-item {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .news-item h3 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }
    
    .news-content {
        font-size: 0.9rem;
    }
    
    /* Images encore plus petites sur très petits écrans */
    .news-content img,
    .ql-editor-output img {
        margin: 0.5rem 0;
        border-radius: 4px;
    }
    
    /* Tables très mobile */
    .news-content table,
    .ql-editor-output table {
        font-size: 0.8rem;
    }
}

/* UTILITY CLASSES FOR INLINE STYLES CLEANUP */
.text-center-empty {
    text-align: center;
}

.centered-text-block {
    max-width: 800px;
    margin: 0 auto 40px auto;
    text-align: center;
}

.btn-center-container {
    text-align: center;
    margin-top: 2rem;
}

.list-unstyled-custom {
    list-style: none;
    padding: 0;
}

.ca-grid-full-width {
    grid-template-columns: 1fr;
    margin-top: 30px;
}

.ca-description {
    margin-bottom: 20px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.team-member {
    background: #f9f9f9;
    padding: 12px 15px;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    border: 1px solid #e9ecef;
    transition: background-color 0.2s ease;
}

.team-member:hover {
    background: #e9ecef;
}

.documents-grid {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    justify-content: center;
}

.center-btn-container {
    text-align: center;
    margin-top: 20px;
}

.response-time-note {
    margin-top: 1rem;
    color: #666;
    font-size: 0.9rem;
}

.section-padding {
    padding: 3rem 0;
}

.content-editor-spacing {
    margin-top: 2rem;
}

.admin-small-text {
    display: block;
    margin-top: 0.5rem;
    color: #666;
}

.admin-section-title {
    margin-top: 2rem;
}

.user-edit-flex {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.email-edit-hidden {
    display: none;
    margin-bottom: 0.5rem;
}

.email-edit-form {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.email-input-flex {
    flex: 1;
    padding: 0.3rem;
    border: 1px solid #ddd;
    border-radius: 3px;
}

.role-form-inline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.filemanager-info {
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.filemanager-container {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    min-height: 600px;
}

.filemanager-iframe {
    border: none;
}

/* MISSING CRITICAL CSS CLASSES */

/* Utility Classes */
.hidden {
    display: none !important;
}

.gray {
    color: #666;
}

.break-word {
    word-break: break-word;
}

.text-muted {
    color: #6c757d;
}

/* Alert Variants */
.alert-error {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
    padding: 0.75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 0.25rem;
}

/* Form Controls */
.form-control {
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
    color: #212529;
    background-color: #fff;
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.form-select {
    display: block;
    width: 100%;
    padding: 0.375rem 2.25rem 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

/* Navigation Classes */
.nav-separator {
    display: inline-block;
    width: 1px;
    height: 20px;
    background-color: #dee2e6;
    margin: 0 1rem;
    vertical-align: middle;
}

/* Table Classes */
.compact-table {
    font-size: 0.875rem;
}

.compact-table th,
.compact-table td {
    padding: 0.5rem;
}

.thead-white th {
    background-color: #fff;
    border-color: #dee2e6;
}

/* Admin Classes */
.current-user-role {
    font-weight: 600;
    color: #0d6efd;
}

.user-role-controls {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

/* Message Classes */
.message {
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 0.25rem;
}

.message.success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.message.error {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

/* Custom Checkboxes */
.custom-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
}

.custom-checkbox label {
    position: relative;
    cursor: pointer;
    padding-left: 1.5rem;
}

.custom-checkbox label:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.125rem;
    width: 1rem;
    height: 1rem;
    border: 1px solid #adb5bd;
    border-radius: 0.25rem;
    background-color: #fff;
}

.custom-checkbox input[type="checkbox"]:checked + label:before {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.custom-checkbox input[type="checkbox"]:checked + label:after {
    content: "";
    position: absolute;
    left: 0.25rem;
    top: 0.375rem;
    width: 0.25rem;
    height: 0.5rem;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* PRICING TABLE STYLES */
.pricing-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.pricing-notice {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.2);
}

.pricing-notice strong {
    font-size: 1.1rem;
}

.pricing-table {
    width: 100%;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.pricing-table th {
    background: linear-gradient(135deg, #333, #555);
    color: white;
    padding: 1.2rem;
    text-align: center;
    font-weight: 600;
    font-size: 0.95rem;
}

.pricing-table td {
    padding: 1rem;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
}

.pricing-table tr:last-child td {
    border-bottom: none;
}

.pricing-table .category-header td {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
    font-weight: 700;
    text-align: center;
    padding: 1rem;
    font-size: 1rem;
    letter-spacing: 1px;
}

.pricing-table .price {
    text-align: center;
    font-weight: 600;
    font-size: 1.1rem;
    color: #333;
    background: #f8f9fa;
}

.pricing-table tbody tr:hover {
    background: #f0f8ff;
    transform: scale(1.01);
    transition: all 0.2s ease;
}

.pricing-table .category-header:hover {
    background: linear-gradient(135deg, #c82333, #a71e2a) !important;
    transform: none;
}

.course-description {
    color: #666;
    font-size: 0.9rem;
    display: block;
    margin-top: 0.3rem;
}

.price-breakdown {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.additional-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .pricing-table {
        font-size: 0.9rem;
    }
    
    .pricing-table th,
    .pricing-table td {
        padding: 0.8rem 0.5rem;
    }
    
    .pricing-table th {
        font-size: 0.8rem;
    }
    
    .additional-info {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .photos-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1rem;
    }
    
    .photos-hero h1 {
        font-size: 2rem;
    }
    
    .lightbox-close {
        top: 10px;
        right: 20px;
        font-size: 30px;
    }
    
    /* Allow wrapping on mobile for organisation */
    .info-card ul li {
        white-space: normal;
    }
}

/* Teachers Section - École page */
.teachers-section {
    padding: 40px 0;
    background-color: #fff;
}

.teachers-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.teacher-profile {
    background: #fff;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0f0f0;
}

.teacher-profile:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.teacher-profile img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.5rem;
    border: 4px solid #f8f9fa;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.teacher-profile h3 {
    color: #dc3545;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.teacher-profile .instrument {
    color: #dc3545;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.teacher-profile .description {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
    text-align: justify;
}

.direction-profile {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 2px solid #dc3545;
    position: relative;
}

.direction-profile::before {
    content: "👑";
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
}

@media (max-width: 1024px) {
    .teachers-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .teacher-profile {
        padding: 1.5rem;
    }

    .teacher-profile img {
        width: 100px;
        height: 100px;
    }
}

/* Styles pour l'interface de sécurité admin */
.admin-security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.security-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border: 1px solid #e9ecef;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.security-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.security-card-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 20px;
}

.security-card-header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: white !important;
}

.security-card-header i {
    margin-right: 8px;
}

.security-card-body {
    padding: 20px;
}

.security-actions {
    margin-top: 15px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.system-status-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
}

.status-indicator {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

.status-success {
    background-color: #28a745;
}

.status-warning {
    background-color: #ffc107;
}

.status-danger {
    background-color: #dc3545;
}

.status-item small {
    margin-left: auto;
    color: #6c757d;
    font-size: 0.85rem;
}

.quick-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.quick-actions .btn {
    font-size: 0.9rem;
    padding: 8px 12px;
}

.doc-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 15px;
}

.doc-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #007bff;
    text-decoration: none;
    padding: 8px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.doc-link:hover {
    background-color: #f8f9fa;
    color: #0056b3;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.stat-item {
    text-align: center;
    padding: 15px 10px;
    background: #f8f9fa;
    border-radius: 6px;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: bold;
    color: #007bff;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.85rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-outline {
    background: transparent;
    border: 1px solid #007bff;
    color: #007bff;
}

.btn-outline:hover {
    background: #007bff;
    color: white;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 0.875rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .admin-security-grid {
        grid-template-columns: 1fr;
    }

    .quick-actions {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .security-actions {
        flex-direction: column;
    }
}

/* ORCHESTRA PAGE STYLES - LAYOUT VERTICAL */
.section-title {
    text-align: center;
    margin-bottom: 40px;
    color: #333;
    font-size: 2.2em;
}

.orchestra-section {
    padding: 40px 0;
}

.orchestra-section:nth-child(odd) {
    background-color: #f9f9f9;
}

.orchestra-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.orchestra-text {
    margin-bottom: 30px;
}

.orchestra-details ul {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.orchestra-details li {
    background: #fff;
    margin-bottom: 10px;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left;
}

.orchestra-details i {
    font-size: 1.5em;
    color: #0056b3;
    width: 30px;
    text-align: center;
    flex-shrink: 0;
}

/* DIRECTOR BIOGRAPHY SECTION */
.director-biography {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 50px 0;
    margin: 40px 0;
    border-top: 3px solid #dc3545;
    border-bottom: 3px solid #dc3545;
}

.biography-content {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 40px;
    align-items: start;
}

.biography-photo {
    position: relative;
}

.biography-photo img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}

.biography-photo img:hover {
    transform: scale(1.05);
}

.biography-info {
    text-align: left;
}

.biography-info h3 {
    color: #dc3545;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.biography-info .role {
    color: #0056b3;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.biography-text {
    color: #555;
    line-height: 1.8;
    font-size: 1rem;
}

.biography-text p {
    margin-bottom: 1.2rem;
    text-align: justify;
}

.biography-text p:last-child {
    margin-bottom: 0;
}

/* Mobile responsive for biography */
@media (max-width: 768px) {
    .biography-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .biography-photo img {
        width: 200px;
        height: 250px;
        margin: 0 auto;
    }

    .biography-info {
        text-align: center;
    }

    .biography-text {
        text-align: left;
    }

    .biography-info h3 {
        font-size: 1.5rem;
    }

    .biography-info .role {
        font-size: 1rem;
    }
}


