/**
 * Home Section: Ordre du Jour (Agenda)
 * ==================================
 * Design based on Figma specifications
 * - Background: Blurred image with dark overlay (#00000080, blur 25px)
 * - Flag decoration on the left side
 * - White card with agenda items
 */

/* Section Container */
.ordre-du-jour-section {
    position: relative;
    min-height: 700px;
    padding: 80px 0;
    overflow: hidden;
}

/* Background Image with Blur */
.ordre-du-jour-section__background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    filter: blur(10px);
    transform: scale(1.1);
    /* Prevent blur edges from showing */
    z-index: 0;
}

/* Dark Overlay */
.ordre-du-jour-section__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

/* Flag Decoration (Left Side) */
.ordre-du-jour-section__flag {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 250px;
    width: auto;
    z-index: 2;
}

/* Container */
.ordre-du-jour-section__container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    z-index: 3;
}

/* Header */
.ordre-du-jour-section__header {
    text-align: center;
    margin-bottom: 40px;
}

.ordre-du-jour-section__title {
    font-family: 'Lato', 'Roboto', sans-serif;
    font-size: 42px;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0 0 10px 0;
    position: relative;
    display: inline-block;
}

.ordre-du-jour-section__title::after {
    content: '';
    display: block;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, #FFFFFF 33.33%, #ED2024 33.33%, #ED2024 66.66%, #0E8040 66.66%);
    margin-top: 8px;
    border-radius: 2px;
}

.ordre-du-jour-section__description {
    font-family: 'Lato', 'Roboto', sans-serif;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* White Content Card */
.ordre-du-jour-section__card {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 30px;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

/* Date Header Row */
.ordre-du-jour-section__date-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #E0E0E0;
}

.ordre-du-jour-section__date-group {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 20px;
    border: 2px solid #E0E0E0;
    border-radius: 12px;
}

.ordre-du-jour-section__date-info {
    display: flex;
    flex-direction: column;
}

.ordre-du-jour-section__date-label {
    font-size: 12px;
    color: #666666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ordre-du-jour-section__date-value {
    font-family: 'Lato', 'Roboto', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #333333;
}

.ordre-du-jour-section__calendar-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F5F5F5;
    border-radius: 8px;
    color: #0E8040;
    font-size: 20px;
}

.ordre-du-jour-section__next-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #333333;
    color: #FFFFFF;
    border-radius: 8px;
    font-family: 'Lato', 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.3s ease;
}

.ordre-du-jour-section__next-btn:hover {
    background: #444444;
    color: #FFFFFF;
    text-decoration: none;
}

.ordre-du-jour-section__next-btn i {
    font-size: 12px;
}

/* Agenda Items List */
.ordre-du-jour-section__agenda-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Agenda Item */
.ordre-du-jour-section__agenda-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: #F9F9F9;
    border-radius: 12px;
    border-left: 4px solid #0E8040;
}

.ordre-du-jour-section__agenda-time {
    flex-shrink: 0;
    width: 60px;
    text-align: center;
}

.ordre-du-jour-section__time-value {
    font-family: 'Lato', 'Roboto', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #0E8040;
}

.ordre-du-jour-section__agenda-content {
    flex: 1;
}

.ordre-du-jour-section__agenda-title {
    font-family: 'Lato', 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #333333;
    margin: 0 0 8px 0;
    text-transform: uppercase;
}

.ordre-du-jour-section__agenda-description {
    font-size: 14px;
    color: #666666;
    margin: 0;
    line-height: 1.5;
}

.ordre-du-jour-section__agenda-description ul {
    margin: 8px 0 0 0;
    padding-left: 20px;
}

.ordre-du-jour-section__agenda-description li {
    margin-bottom: 4px;
}

/* Action Buttons */
.ordre-du-jour-section__actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid #E0E0E0;
}

.ordre-du-jour-section__action-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 8px;
    font-family: 'Lato', 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.ordre-du-jour-section__action-btn--primary {
    background: #ED2024;
    color: #FFFFFF;
    border: none;
}

.ordre-du-jour-section__action-btn--primary:hover {
    background: #c91a1e;
    color: #FFFFFF;
    text-decoration: none;
}

.ordre-du-jour-section__action-btn--secondary {
    background: transparent;
    color: #0E8040;
    border: 2px solid #0E8040;
}

.ordre-du-jour-section__action-btn--secondary:hover {
    background: #0E8040;
    color: #FFFFFF;
    text-decoration: none;
}

/* Empty State */
.ordre-du-jour-section__empty {
    text-align: center;
    padding: 40px 20px;
    color: #666666;
}

.ordre-du-jour-section__empty i {
    font-size: 48px;
    color: #E0E0E0;
    margin-bottom: 15px;
}

.ordre-du-jour-section__empty p {
    font-size: 16px;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 992px) {
    .ordre-du-jour-section {
        min-height: auto;
        padding: 60px 0;
    }

    .ordre-du-jour-section__title {
        font-size: 32px;
    }

    .ordre-du-jour-section__date-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .ordre-du-jour-section__next-btn {
        align-self: flex-end;
    }

    .ordre-du-jour-section__flag {
        height: 180px;
    }
}

@media (max-width: 768px) {
    .ordre-du-jour-section {
        padding: 40px 0;
    }

    .ordre-du-jour-section__title {
        font-size: 28px;
    }

    .ordre-du-jour-section__card {
        padding: 20px;
        border-radius: 15px;
    }

    .ordre-du-jour-section__agenda-item {
        flex-direction: column;
        gap: 10px;
    }

    .ordre-du-jour-section__agenda-time {
        width: auto;
        text-align: left;
    }

    .ordre-du-jour-section__actions {
        flex-direction: column;
        gap: 10px;
    }

    .ordre-du-jour-section__action-btn {
        justify-content: center;
        width: 100%;
    }

    .ordre-du-jour-section__flag {
        height: 120px;
        opacity: 0.5;
    }
}

@media (max-width: 576px) {
    .ordre-du-jour-section__title {
        font-size: 24px;
    }

    .ordre-du-jour-section__description {
        font-size: 14px;
    }

    .ordre-du-jour-section__date-group {
        width: 100%;
        justify-content: space-between;
    }

    .ordre-du-jour-section__next-btn {
        width: 100%;
        justify-content: center;
    }
}