/* =====================================
    DUTCH AID FOUNDATION - BRAND CSS
===================================== */

:root {
    /* Updated Palette from Logo */
    --color-background: #F8FAF8;
    --color-background-alt: #EBF2EB;
    
    --color-primary: #B8D9A8;            /* Brand Mint Green */
    --color-primary-dark: #8FB87D;
    --color-accent: #4EAF47;             /* Stronger Green for UI elements */
    
    --color-text: #333C33;               /* Deep earthy grey-green */
    --color-heading: #2D4F2A;            /* Forest green for professional feel */
    --color-white: #FFFFFF;
}

/* Reset & Base Styles */
* { box-sizing: border-box; }

body {
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    padding: 0;
    background: var(--color-background);
    color: var(--color-text);
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    color: var(--color-heading);
    line-height: 1.2;
}

p { line-height: 1.7; margin-bottom: 1.2rem; }

a { color: var(--color-accent); text-decoration: none; transition: 0.3s; }
a:hover { color: var(--color-primary-dark); }

/* Navbar */
/* Enhanced Navbar */
.navbar {
    background: var(--color-background-alt);
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* Reduced vertical padding (5px) since the logo is taller */
    padding: 5px 5%; 
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.navbar .brand img {
    height: 120px; /* Increased from 60px */
    width: auto;
    transition: transform 0.3s ease;
    display: block; /* Removes any weird baseline spacing */
}
.navbar .brand img:hover {
    transform: scale(1.05); /* Subtle "pop" when hovering */
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-links a {
    color: var(--color-heading);
    font-weight: 600;
    font-size: 0.95rem;
}

.nav-links a.active, .nav-links a:hover {
    color: var(--color-accent);
}

/* Hero Section */
.hero-gallery {
    position: relative;
    height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-white);
}

.hero-gallery::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35); /* Subtle dark overlay */
    z-index: 1;
}

.hero-gallery-images img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-gallery-images img.active { opacity: 1; }

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 20px;
    max-width: 900px;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    text-transform: uppercase;
    color: var(--color-white);
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: transform 0.2s, background 0.3s;
}

.btn-primary {
    background: var(--color-accent);
    color: var(--color-white) !important;
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid var(--color-white);
    color: var(--color-white) !important;
}

.btn-outline:hover {
    background: var(--color-white);
    color: var(--color-heading) !important;
}

.hero-actions { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }

/* Sections */
.section { padding: 80px 5%; max-width: 1100px; margin: 0 auto; }
.section.alt { background: var(--color-background-alt); max-width: 100%; }
.container-narrow { max-width: 800px; margin: 0 auto; text-align: center; }

/* Layout Utilities */
.flex-container { display: flex; flex-wrap: wrap; align-items: center; gap: 40px; }
.flex-text { flex: 1 1 400px; }
.flex-image { flex: 1 1 300px; text-align: center; }
.img-responsive { max-width: 100%; border-radius: 12px; box-shadow: 0 10px 20px rgba(0,0,0,0.1); }

.grid-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 40px; }

/* Components */
.card {
    background: var(--color-white);
    padding: 40px 30px;
    border-radius: 12px;
    border-top: 5px solid var(--color-primary);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    text-align: center;
}

.contact-cta {
    background: var(--color-white);
    padding: 50px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
}

.contact-info { margin-top: 25px; text-align: left; display: inline-block; }
.color-whatsapp { color: #25D366; }
.accent { color: var(--color-accent); }
.text-center { text-align: center; }

/* Footer */
.footer {
    background: var(--color-heading);
    color: var(--color-white);
    padding: 40px 20px;
    text-align: center;
}

.footer a { color: var(--color-primary); font-weight: 600; }

/* Mobile Menu */
.menu-toggle { display: none; background: none; border: none; font-size: 1.5rem; color: var(--color-heading); cursor: pointer; }

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%; left: 0; width: 100%;
        flex-direction: column;
        background: var(--color-white);
        padding: 20px;
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
        gap: 15px;
        text-align: center;
    }
    .navbar .brand img {
        height: 70px; 
    }
    .nav-links.active { display: flex; }
    .menu-toggle { display: block; }
    .section { padding: 50px 20px; }
}


/* Sub-page Hero */
.hero-sub {
    background: var(--color-background-alt);
    padding: 60px 5%;
    text-align: center;
    border-bottom: 1px solid #ddd;
}

.hero-title-small {
    font-size: 2.5rem;
    color: var(--color-heading);
    margin-bottom: 0.5rem;
}

/* Enhanced Project Cards */
.project-card {
    padding: 0; /* Remove default padding from the wrapper */
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.card-image-wrapper {
    height: 200px;
    width: 100%;
}

.card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.card-content {
    padding: 25px;
    flex-grow: 1;
}

.card-content i {
    margin-bottom: 15px;
}

.card-content h3 {
    margin: 10px 0;
    font-size: 1.25rem;
}

.card-content p {
    font-size: 0.95rem;
    color: #555;
}

/* Donation Page Specifics */
.donation-card {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 1px solid var(--color-background-alt);
}

.plugin-container {
    margin-top: 25px;
    text-align: center;
}

.iban-card {
    background: var(--color-heading);
    color: white;
    text-align: left;
    border: none;
}

.iban-card h3, .iban-card p {
    color: white;
}

.bank-details {
    background: rgba(255,255,255,0.1);
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
}

.iban-text {
    font-family: 'Courier New', Courier, monospace;
    font-weight: bold;
    letter-spacing: 1px;
    font-size: 1.1rem;
    color: var(--color-primary);
}

.small-text {
    font-size: 0.8rem;
    opacity: 0.7;
}


/* Contact Page Styling */
.contact-details-list {
    margin-top: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-item i {
    font-size: 1.5rem;
    margin-top: 5px;
}

.contact-form {
    text-align: left;
    padding: 40px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    color: var(--color-heading);
}

.contact-form input, 
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: 'Open Sans', sans-serif;
}

.w-100 {
    width: 100%;
    border: none;
    cursor: pointer;
}

.color-whatsapp {
    color: #25D366;
}