/* Custom CSS for Help Me Community - Espoir & Eau Theme */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&display=swap');

:root {
    --primary-color: #007bff;
    /* Blue */
    --secondary-color: #fd7e14;
    /* Orange */
    --dark-color: #212529;
    --light-bg: #f8f9fa;
    --text-color: #333;
    --font-main: 'Outfit', sans-serif;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    background-color: #fff;
    padding-top: 90px;
}

/* Navbar */
.navbar {
    background-color: white !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.navbar-brand {
    color: var(--dark-color) !important;
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-link {
    color: var(--dark-color) !important;
    font-weight: 600;
    margin-left: 1rem;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.btn-donate-nav {
    background-color: var(--secondary-color);
    color: white !important;
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    transition: transform 0.2s;
}

.btn-donate-nav:hover {
    transform: scale(1.05);
    background-color: #e36d0a;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 85vh;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    padding-left: 5%;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.hero-title span {
    color: var(--primary-color);
}

.hero-text {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #555;
}

.btn-hero {
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    margin-right: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary-custom {
    background-color: var(--secondary-color);
    border: none;
    color: white;
}

.btn-primary-custom:hover {
    background-color: #e36d0a;
    color: white;
}

.btn-outline-custom {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}


.section-title p {
    color: #777;
    font-size: 1.1rem;
}

/* Cards */
.project-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.project-card:hover {
    transform: translateY(-10px);
}

.project-card img {
    height: 200px;
    object-fit: cover;
}

.project-card .card-body {
    padding: 1.5rem;
}

.project-card .card-title {
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Impact Section */
.impact-section {
    background-color: var(--primary-color);
    color: white;
    padding: 5rem 0;
    text-align: center;
}

.impact-number {
    font-size: 3rem;
    font-weight: 800;
}

.donation-amount-btn {
    border: 2px solid #e9ecef;
    background-color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0.5rem;
    transition: all 0.3s;
}

.donation-amount-btn:hover,
.donation-amount-btn.active {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
    background-color: #fff5f0;
}

/* Footer */
.footer {
    background-color: #1a1d20;
    color: #adb5bd;
    padding: 4rem 0 2rem;
}

.footer-heading {
    color: white;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer a {
    color: #adb5bd;
    text-decoration: none;
    transition: color 0.3s;
}

.footer a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #343a40;
    margin-top: 3rem;
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.9rem;
}

@media (max-width: 767px) {
    .hero-content {
        max-width: 100%;
        padding-left: 1rem;
        padding-right: 1rem;
        text-align: center;
    }

    .btn-hero {
        margin-right: 0;
    }
}

/* DataTables - boutons d'export */
.dt-export-btn {
    background-color: #fff !important;
    border: 1px solid var(--primary-color, #0d6efd) !important;
    color: var(--primary-color, #0d6efd) !important;
    padding: 0.375rem 0.75rem !important;
    border-radius: 0.375rem !important;
    margin-right: 0.5rem !important;
    font-size: 0.875rem !important;
    font-family: inherit !important;
}

.dt-export-btn:hover {
    background-color: var(--primary-color, #0d6efd) !important;
    color: #fff !important;
}