/* Horaires section - Charte graphique moderne et chaleureuse - Accent caramel #a67c52 */
@font-face {
    font-family: 'ThirstyScriptExtraBoldDemo';
    src: url('/assets/fonts/ThirstyScriptExtraBoldDemo.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

.horaires-section {
    padding: 6rem 1rem;
    background-color: #fdf6f0;
    position: relative;
}

.horaires-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.horaires-title {
    font-family: 'ThirstyScriptExtraBoldDemo', 'Playfair Display', serif;
    font-size: 3.2rem;
    margin-bottom: 2rem;
    color: #1e1e1e;
    position: relative;
    display: inline-block;
    text-shadow: 1px 1px 1px rgba(166, 124, 82, 0.1);
    animation: fadeIn 1s ease-out;
}

.horaires-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #a67c52, transparent);
    border-radius: 2px;
}

.horaires-description {
    font-family: 'Rubik', 'Inter', sans-serif;
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 3rem;
    color: #1e1e1e;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeIn 1.2s ease-out;
}

.horaires-table-container {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(166, 124, 82, 0.12);
    animation: fadeInUp 1.3s ease-out;
    border: 1px solid rgba(166, 124, 82, 0.05);
    overflow: hidden;
    position: relative;
}

.horaires-table-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #a67c52, #e8d8c3);
}

.horaires-table {
    width: 100%;
    border-collapse: collapse;
}

.horaires-table th {
    font-family: 'Rubik', 'Inter', sans-serif;
    font-weight: 600;
    padding: 1rem;
    border-bottom: 2px solid #e8d8c3;
    color: #a67c52;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.horaires-table td {
    padding: 1rem;
    border-bottom: 1px solid #e8d8c3;
    font-family: 'Rubik', 'Inter', sans-serif;
    font-size: 1rem;
    color: #1e1e1e;
    transition: all 0.3s ease;
}

.horaires-table tr:hover td {
    background-color: rgba(166, 124, 82, 0.05);
}

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

.horaires-table .jour {
    font-weight: 600;
    text-align: left;
    color: #1e1e1e;
}

.horaires-table .horaire {
    text-align: left;
    font-weight: 500;
}

.horaires-table .horaires-combined {
    font-family: 'Rubik', Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.4;
}

.horaires-table .horaires-combined span {
    display: inline-block;
    margin-right: 0.5rem;
}

.horaires-table .statut-ouvert {
    color: #388e3c;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.horaires-table .statut-ferme {
    color: #a67c52;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.horaires-table .jour-actuel {
    position: relative;
}

.horaires-table .jour-actuel td {
    background-color: rgba(166, 124, 82, 0.1);
    font-weight: 600;
}

.horaires-table .jour-actuel td.jour {
    position: relative;
}

.horaires-table .jour-actuel td.jour::before {
    content: '→';
    position: absolute;
    left: -5px;
    color: #a67c52;
    font-weight: bold;
    opacity: 0;
    animation: fadeInLeft 1s ease forwards 1s;
}

.horaires-note {
    margin-top: 2rem;
    font-family: 'Rubik', 'Inter', sans-serif;
    font-size: 0.9rem;
    font-style: italic;
    color: #a67c52;
    animation: fadeIn 1.5s ease-out;
}

.horaires-cta {
    margin-top: 3rem;
}

.horaires-button {
    display: inline-block;
    padding: 0.9rem 2rem;
    background-color: #a67c52;
    color: #ffffff;
    text-decoration: none;
    font-family: 'Rubik', 'Inter', sans-serif;
    font-weight: 500;
    font-size: 1.1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 10px rgba(166, 124, 82, 0.2);
    position: relative;
    overflow: hidden;
}

.horaires-button:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: all 0.6s ease;
}

.horaires-button:hover {
    background-color: #8f6441;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(166, 124, 82, 0.25);
}

.horaires-button:hover:before {
    left: 100%;
}

.horaires-button:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(166, 124, 82, 0.2);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Media Queries */
@media (max-width: 992px) {
    .horaires-title {
        font-size: 2.8rem;
    }
    
    .horaires-description {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
}

@media (max-width: 768px) {
    .horaires-section {
        padding: 4rem 1rem;
    }
    
    .horaires-title {
        font-size: 2.4rem;
    }
    
    .horaires-table-container {
        padding: 1.5rem;
    }
    
    .horaires-table th, .horaires-table td {
        padding: 0.8rem;
    }
}

@media (max-width: 576px) {
    .horaires-title {
        font-size: 2.2rem;
    }
    
    .horaires-description {
        font-size: 1rem;
    }
    
    .horaires-table-container {
        padding: 1rem;
    }
    
    .horaires-table {
        font-size: 0.9rem;
    }
    
    .horaires-table th, .horaires-table td {
        padding: 0.6rem;
    }
}
