/* Annuaire des Députés Section - New Design */

.annuaire-section {
    padding: 80px 0;
    background: #FFFFFF;
    position: relative;
}

/* Title with Flag Underline */
.annuaire-title-wrapper {
    text-align: center;
    margin-bottom: 60px;
}

/* Cards Container */
.annuaire-cards-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* PDF Card */
.annuaire-card {
    position: relative;
    width: 450px;
    height: 260px;
    border-radius: 20px;
    overflow: visible;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Card Inner Container with overflow hidden for image */
.annuaire-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
}

/* Card Background Image */
.annuaire-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.annuaire-card-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.55) 100%);
    z-index: 2;
}

/* Card Content */
.annuaire-card-content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 30px;
    text-align: center;
    color: #FFFFFF;
}

/* PDF Icon */
.annuaire-pdf-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 12px;
}

.annuaire-pdf-icon img {
    width: 100%;
    height: 100%;
}

/* Card Title */
.annuaire-card-title {
    font-family: 'Lato', 'Roboto', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0 0 18px 0;
}

/* Download Button */
.annuaire-download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 35px;
    background: #FFFFFF;
    color: #333333;
    border-radius: 25px;
    font-family: 'Lato', 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.annuaire-download-btn:hover {
    background: #F0F0F0;
    transform: scale(1.03);
}

/* Decorative Flag PNG - Left (Green/White) - positioned at bottom-left */
.annuaire-decor-left {
    position: absolute;
    left: -20px;
    bottom: -25px;
    width: 120px;
    height: auto;
    z-index: 10;
    pointer-events: none;
}

/* Decorative Flag PNG - Right (Red/White) - positioned at top-right */
.annuaire-decor-right {
    position: absolute;
    right: -20px;
    top: -20px;
    width: 120px;
    height: auto;
    z-index: 10;
    pointer-events: none;
}

/* Responsive */
@media (max-width: 1024px) {
    .annuaire-cards-container {
        flex-direction: column;
        align-items: center;
        gap: 60px;
    }
    
    .annuaire-card {
        width: 100%;
        max-width: 450px;
    }
}

@media (max-width: 768px) {
    .annuaire-section {
        padding: 60px 0;
    }
    
    .annuaire-title-wrapper {
        margin-bottom: 40px;
    }
    
    .annuaire-card {
        height: 240px;
    }
    
    .annuaire-card-title {
        font-size: 20px;
    }
    
    .annuaire-decor-left {
        width: 100px;
        left: -15px;
        bottom: -20px;
    }
    
    .annuaire-decor-right {
        width: 100px;
        right: -15px;
        top: -15px;
    }
}

@media (max-width: 480px) {
    .annuaire-card {
        height: 220px;
    }
    
    .annuaire-pdf-icon {
        width: 45px;
        height: 45px;
    }
    
    .annuaire-card-title {
        font-size: 18px;
    }
    
    .annuaire-download-btn {
        padding: 10px 28px;
        font-size: 13px;
    }
    
    .annuaire-decor-left,
    .annuaire-decor-right {
        width: 80px;
    }
    
    .annuaire-decor-left {
        left: -10px;
        bottom: -15px;
    }
    
    .annuaire-decor-right {
        right: -10px;
        top: -10px;
    }
}
