:root {
    --primary-color: #4CAF50;
    --secondary-color: #45a049;
    --text-color: #333;
    --background-color: #f4f4f4;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

#app {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header Styling */
#main-header {
    background-color: var(--primary-color);
    color: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #e0e0e0;
}

/* Main Content */
#main-content {
    flex-grow: 1;
    padding: 2rem;
}

.page {
    display: none;
}

.page.active {
    display: block;
}

/* Button Styles */
.btn {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: var(--secondary-color);
}

/* Home Page */
.hero {
    text-align: center;
    padding: 3rem 0;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.impact-stats {
    display: flex;
    justify-content: space-around;
    text-align: center;
    padding: 2rem 0;
    background-color: var(--white);
}

.stat h3 {
    font-size: 2rem;
    color: var(--primary-color);
}

/* Forms */
.restaurant-sections, 
.recipient-sections,
.login-container {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
}

.restaurant-registration,
.food-donation-form,
.login-form,
.register-form {
    flex: 1;
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

form input, 
form select {
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* Map Styling */
.map-container {
    height: 500px;
    width: 100%;
    border-radius: 8px;
}

/* Food Listings */
.food-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.food-card {
    background-color: var(--white);
    border: 1px solid #ddd;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Footer */
footer {
    background-color: #333;
    color: var(--white);
    padding: 2rem 5%;
}

.footer-content {
    display: flex;
    justify-content: space-between;
}

.footer-section {
    flex: 1;
}

.footer-section h4 {
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li a {
    color: var(--white);
    text-decoration: none;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    color: var(--white);
    font-size: 1.5rem;
}

.copyright {
    text-align: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #555;
}

/* Responsive Design */
@media (max-width: 768px) {
    #main-header {
        flex-direction: column;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        margin: 0.5rem 0;
    }

    .restaurant-sections,
    .recipient-sections,
    .login-container,
    .footer-content {
        flex-direction: column;
    }
}











/* Basic Styling */
body {
    font-family: sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 30px;
    color: #555;
}

/* How It Works Section */
.how-it-works {
    padding: 40px 0;
    background-color: #fff;
}

.how-it-works .steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.how-it-works .step {
    background-color: #f9f9f9;
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.how-it-works .step i {
    font-size: 2em;
    color: #007bff; /* Example primary color */
    margin-bottom: 15px;
    display: block;
}

.how-it-works .step h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #333;
}

.how-it-works .step p {
    font-size: 1em;
    color: #666;
    line-height: 1.6;
}

/* About Us Section (using inline styles from HTML as a base) */
#about {
    padding: 3rem 0; /* Inherited from inline style */
}

#about .section-title {
    /* Inherited styles */
}

#about > div { /* Targeting the direct child div */
    background-color: white; /* Inherited from inline style */
    padding: 2rem; /* Inherited from inline style */
    border-radius: 8px; /* Inherited from inline style */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Inherited from inline style */
}

#about p {
    margin-bottom: 1rem; /* Inherited from inline style */
    line-height: 1.7;
    color: #555;
}

/* Responsive Design (Optional but Recommended) */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }

    .section-title {
        font-size: 2em;
        margin-bottom: 20px;
    }

    .how-it-works .steps {
        grid-template-columns: 1fr; /* Stack steps on smaller screens */
    }

    .how-it-works .step {
        padding: 20px;
    }

    .how-it-works .step i {
        font-size: 1.5em;
        margin-bottom: 10px;
    }

    .how-it-works .step h3 {
        font-size: 1.3em;
    }

    #about {
        padding: 2rem 0;
    }

    #about > div {
        padding: 1.5rem;
    }

    #about p {
        font-size: 0.95em;
    }
}