/* General Reset */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }

:root {
    /* --- NEW COLOR PALETTE BASED ON LOGO --- */
    
    /* Teal from the bowl - Main Accent Color (Buttons, Icons) */
    --primary-color: #00CED1; 
    
    /* Gold from the cross - Hover State Color */
    --hover-color: #FFC107;   
    
    /* Black from the shield - Navbar, Footer, Headers */
    --dark-color: #000000;    
    
    /* Pure White - Text on dark backgrounds */
    --white-color: #ffffff;   
    
    /* Off-White - Section Backgrounds for readability */
    --bg-color: #f4f8f9;      
}

body { 
    line-height: 1.6; 
    display: flex; 
    flex-direction: column; 
    min-height: 100vh;
    /* Pushes content down so it isn't hidden behind the fixed header */
    padding-top: 80px; 
    background-color: var(--bg-color);
    color: #333; /* Default text color for light backgrounds */
}

.container { max-width: 1100px; margin: auto; padding: 0 20px; }

/* --- STICKY NAVBAR --- */
.navbar { 
    background: var(--dark-color); /* Black background */
    color: var(--white-color); 
    padding: 1rem 0; 
    position: fixed; 
    top: 0; 
    left: 0;
    width: 100%;
    z-index: 1000; 
    box-shadow: 0 2px 5px rgba(0,0,0,0.5); 
    border-bottom: 3px solid var(--primary-color); /* Teal accent line under nav */
}

.navbar .container { display: flex; justify-content: space-between; align-items: center; }
.nav-links { list-style: none; display: flex; align-items: center; }
.nav-links li { margin-left: 20px; }
.nav-links a { color: var(--white-color); text-decoration: none; font-weight: bold; transition: color 0.3s; }

/* Hover effect for regular menu links - turns Teal */
.nav-links a:not(.nav-donate-btn):hover, .nav-links a:not(.nav-donate-btn).active { color: var(--primary-color); }

/* Donate Button Style inside Navbar */
.nav-donate-btn {
    background-color: var(--primary-color); /* Teal background */
    color: var(--dark-color) !important; /* Black text for contrast on teal */
    padding: 10px 20px;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-weight: 800 !important; /* Extra bold */
}
/* Hover effect for Donate button - turns Gold */
.nav-donate-btn:hover {
    background-color: var(--hover-color); 
    color: var(--dark-color) !important;
}

/* Hero Section (Home Page) */
.hero { 
    /* You might want to update this background image to something related to your specific soup kitchen later */
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://images.unsplash.com/photo-1547592180-85f173990554?q=80&w=2070&auto=format&fit=crop') no-repeat center center/cover; 
    height: 60vh; 
    color: var(--white-color); 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    align-items: center; 
    text-align: center; 
    position: relative; 
}
.hero .container { position: relative; z-index: 1; }
.hero h2 { font-size: 3rem; margin-bottom: 10px; text-shadow: 2px 2px 4px rgba(0,0,0,0.5); }

/* General Buttons (e.g., "Get Involved") */
.btn { 
    display: inline-block; 
    background: var(--primary-color); /* Teal */
    color: var(--dark-color); /* Black text */
    padding: 10px 30px; 
    border-radius: 5px; 
    text-decoration: none; 
    border: none; 
    cursor: pointer; 
    font-size: 1rem; 
    font-weight: bold;
    transition: background 0.3s ease;
}
.btn:hover { background: var(--hover-color); /* Gold on hover */ }

/* Stats Section (Home Page) */
.stats { padding: 4rem 0; background: var(--white-color); text-align: center; }
.stats h2 { margin-bottom: 2rem; color: var(--dark-color); }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.stat-box { background: var(--bg-color); padding: 2rem; border-radius: 10px; box-shadow: 0 2px 5px rgba(0,0,0,0.05); border: 1px solid #eee;}
/* Icons turn Teal */
.stat-box i { font-size: 3rem; color: var(--primary-color); margin-bottom: 1rem; }
.stat-box h3 { font-size: 2.5rem; margin-bottom: 0.5rem; color: var(--dark-color); }

/* Sub-page Header (About, Support, Donate, Contact) */
.page-header { background: var(--dark-color); color: var(--white-color); padding: 3rem 0; text-align: center; border-bottom: 3px solid var(--primary-color); }
.page-header h2 { font-size: 2.5rem; }

/* Content Section & Grids */
.content-section { padding: 3rem 0; flex: 1; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.card { background: var(--white-color); padding: 2rem; border: 1px solid #ddd; border-radius: 5px; text-align: center; box-shadow: 0 2px 5px rgba(0,0,0,0.05); }
.card h3 { color: var(--dark-color); margin-bottom: 1rem; }

/* Donate Page Styles */
.donate-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.donate-card { background: var(--white-color); border: 2px solid var(--bg-color); border-radius: 8px; padding: 2rem; text-align: center; box-shadow: 0 4px 6px rgba(0,0,0,0.05); transition: transform 0.3s ease, border-color 0.3s ease;}
.donate-card:hover { border-color: var(--primary-color); transform: translateY(-5px); }
.donate-card i { font-size: 2.5rem; color: var(--primary-color); margin-bottom: 15px; }
.donate-card h3 { color: var(--dark-color); }
.donate-instructions { list-style: none; text-align: left; background: var(--bg-color); padding: 15px; border-radius: 5px; margin-top: 15px; font-size: 0.9rem; color: #555; }
.donate-instructions li { margin-bottom: 5px; }
.address-box { font-style: italic; background: var(--bg-color); padding: 10px; margin-top: 10px; border-radius: 5px; color: #555;}
/* Specific buttons on donate page */
.donate-action-btn { background-color: var(--primary-color); color: var(--dark-color); width: 100%; font-weight: bold;}
.donate-action-btn:hover { background-color: var(--hover-color); }

/* Contact Form */
.contact-form label { display: block; margin-bottom: 5px; font-weight: bold; color: var(--dark-color); }
.contact-form input, .contact-form textarea { width: 100%; padding: 10px; margin-bottom: 15px; border: 1px solid #ddd; border-radius: 5px; background: var(--white-color); }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--primary-color); }

/* Footer */
footer { background: var(--dark-color); color: var(--white-color); text-align: center; padding: 1.5rem 0; margin-top: auto; border-top: 3px solid var(--primary-color); }

/* --- RESPONSIVE MOBILE STYLES --- */
@media(max-width: 768px) {
    body { padding-top: 120px; } 
    
    .navbar .container { flex-direction: column; text-align: center; }
    .nav-links { flex-direction: column; margin-top: 15px; width: 100%; }
    .nav-links li { margin: 10px 0; margin-left: 0; width: 100%; }
    .nav-donate-btn { display: block; width: 100%; text-align: center; }
    
    .grid-2 { grid-template-columns: 1fr; }
    .hero h2 { font-size: 2rem; }
}