/*
Theme Name: MRHE - Ministère des Ressources Hydrauliques et Électricité
Theme URI: https://example.com/mrhe-theme
Author: John Kalombo & ChatGPT
Author URI: https://example.com
Description: Thème WordPress basé sur le fichier HTML fourni. Section "Actualités" affiche automatiquement les articles de la catégorie "actualites".
Version: 1.0.0
Text Domain: mrhe
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/
:root {
            --primary-color: #274285; /* Bleu foncé */
            --secondary-color: #f5d40f; /* Doré */
            --accent-color: #cf2e2e; /* Violet */
            --light-color: #f8f9fa;
            --dark-color: #333;
            --transition: all 0.4s ease;
        }

        body {
            font-family: 'Roboto', sans-serif;
            color: var(--dark-color);
            overflow-x: hidden;
            padding-top: 80px; /* Pour compenser la navbar fixe */
        }

        h1, h2, h3, h4, h5, h6 {
            font-family: 'Poppins', sans-serif;
            font-weight: 600;
        }

        /* Section: Navigation */
        .navbar {
            background-color: rgba(255, 255, 255, 0.95);
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            padding: 15px 0;
            transition: var(--transition);
        }

        .navbar.scrolled {
            padding: 10px 0;
            background-color: rgba(255, 255, 255, 0.98);
        }

        .navbar-brand {
            font-family: 'Poppins', sans-serif;
            font-weight: 700;
            width:30%;
            color: var(--primary-color);
            display: flex;
            align-items: center;
        }

        .navbar-brand i {
            color: var(--secondary-color);
            font-size: 1.9rem;
            margin-right: 10px;
        }

        .navbar-nav .nav-link {
            font-weight: 500;
            color: var(--primary-color);
            margin: 0 8px;
            position: relative;
            transition: var(--transition);
        }

        .navbar-nav .nav-link:hover {
            color: var(--accent-color);
        }

        .navbar-nav .nav-link:after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 2px;
            background-color: var(--secondary-color);
            transition: var(--transition);
        }

        .navbar-nav .nav-link:hover:after {
            width: 100%;
        }

        .btn-donate {
            background-color: var(--secondary-color);
            color: var(--primary-color);
            font-weight: 600;
            padding: 8px 20px;
            border-radius: 30px;
            transition: var(--transition);
            border: none;
        }

        .btn-donate:hover {
            background-color: var(--accent-color);
            color: white;
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }

        /* Section: Hero/Banniere */
        .hero-section {
            background: linear-gradient(rgba(26, 54, 93, 0.8), rgba(26, 54, 93, 0.8)), url('https://mrhe.gouv.cd/wp-content/uploads/2025/08/Inga_Dam-scaled.jpg');
            background-size: cover;
            background-position: center;
            height: 90vh;
            display: flex;
            align-items: center;
            color: white;
        }

        .hero-content {
            max-width: 900px;
        }

        .hero-title {
            font-size: 2.3rem;
            font-weight: 800;
            margin-bottom: 20px;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
        }

        .hero-subtitle {
            font-size: 1.1rem;
            margin-bottom: 30px;
            font-weight: 300;
        }

        .btn-join {
            background-color: var(--secondary-color);
            color: var(--primary-color);
            font-size: 1.2rem;
            padding: 12px 30px;
            border-radius: 30px;
            font-weight: 600;
            transition: var(--transition);
            border: none;
        }

        .btn-join:hover {
            background-color: white;
            color: var(--accent-color);
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
        }

        /* Section: About */
        .about-section {
            padding: 100px 0;
            background-color: var(--light-color);
        }

        .section-title {
            position: relative;
            margin-bottom: 50px;
            text-align: center;
            color: var(--primary-color);
        }

        .section-title:after {
            content: '';
            position: absolute;
            bottom: -15px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 3px;
            background-color: var(--secondary-color);
        }

        .pastor-img {
            border-radius: 10px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            transition: var(--transition);
        }

        .pastor-img:hover {
            transform: translateY(-10px);
        }

        .quote-box {
            background-color: white;
            border-left: 4px solid var(--secondary-color);
            padding: 30px;
            border-radius: 8px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            margin-top: 30px;
        }

        .quote-text {
            font-style: italic;
            font-size: 1.2rem;
            color: var(--primary-color);
        }

        .quote-reference {
            color: var(--accent-color);
            font-weight: 500;
            margin-top: 15px;
        }

        /* Section: Activités */
        .activities-section {
            padding: 100px 0;
        }

        .activity-card {
            background-color: white;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            transition: var(--transition);
            height: 100%;
            display: flex;
            flex-direction: column;
        }

        .activity-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
        }

        .activity-icon {
            background-color: var(--primary-color);
            color: white;
            width: 80px;
            height: 80px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 30px auto 20px;
            font-size: 2rem;
        }

        .activity-title {
            color: var(--primary-color);
            text-align: center;
            font-weight: 600;
            margin-bottom: 15px;
        }

        .activity-content {
            padding: 0 20px 30px;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
        }

        /* Section: Actualités */
        .news-section {
            padding: 100px 0;
            background-color: var(--light-color);
        }

        .news-card {
            background-color: white;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            transition: var(--transition);
            height: 100%;
            margin-bottom: 30px;
        }

        .news-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        }

        .news-img {
            width: 100%;
            height: 200px;
            object-fit: cover;
        }

        .news-date {
            color: var(--accent-color);
            font-weight: 500;
            font-size: 0.9rem;
            margin-top: 15px;
        }

        .news-title {
            color: var(--primary-color);
            margin: 10px 0;
            font-size: 1.25rem;
        }

        .news-content {
            padding: 20px;
        }

        /* Sections Axe, Potentiel, Inga */
        .government-section {
            padding: 80px 0;
        }

        .government-content {
            display: flex;
            flex-direction: column;
            justify-content: center;
            height: 100%;
            padding: 0 20px;
        }

        .government-img {
            border-radius: 10px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .sub-section-title {
            color: var(--primary-color);
            margin-bottom: 20px;
            position: relative;
            padding-bottom: 15px;
        }

        .sub-section-title:after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 60px;
            height: 3px;
            background-color: var(--secondary-color);
        }

        /* Section: Inspection */
        .inspection-section {
            padding: 100px 0;
            background-color: var(--light-color);
        }

        .inspection-img-container {
            position: relative;
            margin-bottom: 20px;
        }

        .inspection-img {
            border-radius: 10px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            width: 100%;
            height: 300px;
            object-fit: cover;
        }

        .inspection-description {
            background-color: white;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        }

        .compliance-box {
            background-color: white;
            border-radius: 8px;
            padding: 20px;
            margin-bottom: 20px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            transition: var(--transition);
            display: flex;
            align-items: center;
        }

        .compliance-box:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        }

        .compliance-icon {
            background-color: var(--primary-color);
            color: white;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            margin-right: 15px;
            flex-shrink: 0;
        }

        /* Section: Téléchargement */
        .download-section {
            padding: 100px 0;
        }

        .download-img {
            border-radius: 10px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            width: 100%;
            height: 250px;
            object-fit: cover;
            margin-bottom: 20px;
        }

        .download-list {
            list-style: none;
            padding: 0;
        }

        .download-item {
            background-color: white;
            border-radius: 8px;
            padding: 15px 20px;
            margin-bottom: 15px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            transition: var(--transition);
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .download-item:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
            background-color: #f8f9fa;
        }

        .download-icon {
            color: var(--accent-color);
            font-size: 1.5rem;
            margin-right: 15px;
        }

        .download-link {
            color: var(--primary-color);
            text-decoration: none;
            font-weight: 500;
            flex-grow: 1;
        }

        .download-link:hover {
            color: var(--accent-color);
        }

        .download-size {
            color: #6c757d;
            font-size: 0.9rem;
        }

        /* Section: Donation */
        .donation-section {
            padding: 100px 0;
            background: linear-gradient(rgba(26, 54, 93, 0.9), rgba(26, 54, 93, 0.9)), url('https://images.unsplash.com/photo-1552519507-88aa2dfa9fdb?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');
            background-size: cover;
            background-position: center;
            color: white;
            text-align: center;
        }

        .donation-title {
            font-size: 2.5rem;
            margin-bottom: 20px;
        }

        .donation-text {
            font-size: 1.2rem;
            max-width: 700px;
            margin: 0 auto 30px;
        }

        /* Section: Contact */
        .contact-section {
            padding: 100px 0;
            background-color: var(--light-color);
        }

        .contact-form {
            background-color: white;
            padding: 40px;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        }

        .form-control, .form-select {
            padding: 12px 15px;
            border-radius: 8px;
            border: 1px solid #ddd;
            margin-bottom: 20px;
        }

        .form-control:focus, .form-select:focus {
            border-color: var(--accent-color);
            box-shadow: 0 0 0 0.25rem rgba(106, 13, 173, 0.25);
        }

        .map-container {
            height: 100%;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        }

        .contact-info {
            margin-top: 30px;
        }

        .contact-item {
            display: flex;
            margin-bottom: 20px;
        }

        .contact-icon {
            background-color: var(--secondary-color);
            color: var(--primary-color);
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            margin-right: 15px;
            flex-shrink: 0;
        }

        /* Footer */
        .footer {
            background-color: var(--primary-color);
            color: white;
            padding: 70px 0 0;
        }

        .footer-title {
            font-size: 1.5rem;
            margin-bottom: 20px;
            position: relative;
            padding-bottom: 10px;
        }

        .footer-title:after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 50px;
            height: 2px;
            background-color: var(--secondary-color);
        }

        .footer-links a {
            display: block;
            color: rgba(255, 255, 255, 0.8);
            margin-bottom: 10px;
            text-decoration: none;
            transition: var(--transition);
        }

        .footer-links a:hover {
            color: var(--secondary-color);
            padding-left: 5px;
        }

        .social-links a {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            background-color: rgba(255, 255, 255, 0.1);
            color: white;
            border-radius: 50%;
            margin-right: 10px;
            transition: var(--transition);
        }

        .social-links a:hover {
            background-color: var(--secondary-color);
            color: var(--primary-color);
            transform: translateY(-5px);
        }

        .copyright {
            background-color: rgba(0, 0, 0, 0.2);
            padding: 20px 0;
            margin-top: 50px;
            text-align: center;
        }

        /* Animation */
        .animate-on-scroll {
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 0.8s ease, transform 0.8s ease;
        }

        .animate-on-scroll.visible {
            opacity: 1;
            transform: translateY(0);
        }

        /* Responsive Design */
        @media (max-width: 992px) {
            .hero-title {
                font-size: 2.8rem;
            }

            .hero-subtitle {
                font-size: 1.2rem;
            }
        }

        @media (max-width: 768px) {
            .navbar {
                padding: 10px 0;
            }

            .hero-section {
                height: 80vh;
            }

            .hero-title {
                font-size: 2.2rem;
            }

            .section-title {
                font-size: 1.8rem;
            }

            .about-section, .activities-section, .news-section, 
            .government-section, .inspection-section, .download-section,
            .donation-section, .contact-section {
                padding: 70px 0;
            }

            .government-content {
                padding: 20px 0;
            }
        }

        @media (max-width: 576px) {
            .hero-title {
                font-size: 1.8rem;
            }

            .btn-join {
                font-size: 1rem;
                padding: 10px 25px;
            }
        }
/* Note: Les images de fond référencées dans le HTML original peuvent être ajoutées dans /assets/images et adaptées dans le CSS au besoin. */
