/* -------------------------- Base Styles -------------------------- */
.section-title {
    font-size: 2.5rem;
    text-align: center;
    font-weight: bold;
    color: #75c7edae;
    margin: 5%;
}

.evictions, .reglement, .dangers-ecrans {
    text-align: center;
}

.evictions .evictions-title,
.reglement .reglement-title,
.dangers-ecrans .dangers-title {
    font-size: 2rem;
    font-weight: bold;
    color: #75c7edae;
    margin: 20px 0;
}

.evictions .eviction-list li,
.reglement .reglement-text,
.dangers-ecrans .dangers-text {
    font-size: 1rem;
    margin-bottom: 10px;
    line-height: 1.8;
}

.evictions h2,
.reglement h2,
.dangers-ecrans h2 {
    font-size: 1.75rem;
    color: #75c7edae;
    margin: 20px 0;
    padding-bottom: 5px;
    text-align: center;
}
img{
    width:100%;
}

/* -------------------------- Grid Layout for Evictions -------------------------- */
.eviction-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
    padding: 0 10px;
}

.card-eviction {
    background-color: rgb(244, 204, 204);
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 250px;
    transition: transform 0.3s ease;
}

.card-eviction h3 {
    font-size: 1.375rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.card-eviction a {
    text-decoration: none;
    color: #75c7edae;
    font-size: 1rem;
    padding: 5px 10px;
    background-color: #f0f0f0;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.card-eviction a:hover {
    color: #4CAF50;
    background-color: #75c7edae;
}

.card-eviction:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
}

/* -------------------------- Responsive Adjustments -------------------------- */
@media (max-width: 1024px) {
    .section-title {
        font-size: 2rem;
    }

    .evictions .evictions-title,
    .reglement .reglement-title,
    .dangers-ecrans .dangers-title {
        font-size: 1.5rem;
    }

    .evictions .eviction-list li,
    .reglement .reglement-text,
    .dangers-ecrans .dangers-text {
        font-size: 0.9rem;
    }

    .card-eviction {
        height: 220px;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.75rem;
    }

    .evictions .evictions-title,
    .reglement .reglement-title,
    .dangers-ecrans .dangers-title {
        font-size: 1.375rem;
    }

    .evictions .eviction-list li,
    .reglement .reglement-text,
    .dangers-ecrans .dangers-text {
        font-size: 0.85rem;
    }

    .eviction-cards {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px;
    }

    .card-eviction {
        height: 200px;
    }

    .card-eviction h3 {
        font-size: 1.25rem;
    }
    .imLogo {
        display: none;
        visibility: hidden;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.5rem;
    }

    .evictions .evictions-title,
    .reglement .reglement-title,
    .dangers-ecrans .dangers-title {
        font-size: 1.25rem;
    }

    .evictions .eviction-list li,
    .reglement .reglement-text,
    .dangers-ecrans .dangers-text {
        font-size: 0.8rem;
    }

    .eviction-cards {
        grid-template-columns: 1fr;
    }

    .card-eviction {
        height: 180px;
        padding: 15px;
    }

    .card-eviction h3 {
        font-size: 1.125rem;
    }

    .card-eviction a {
        font-size: 0.9rem;
    }
}
