/* General Body Styles */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #2c2c2c; /* Dark background similar to dnation.co */
    color: #f4f4f4; /* Light text color */
    line-height: 1.6;
}

header#hero {
    background-color: #1a1a1a; /* Slightly darker for hero */
    color: #fff;
    padding: 2rem; /* Adjusted padding */
    text-align: center;
    display: flex;
    flex-direction: column; /* Stack logo and text vertically */
    align-items: center; /* Center items */
}

.logo {
    width: 150px; /* Adjust as needed */
    background-color: #555;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-size: 0.9rem;
    margin-bottom: 1rem; /* Space between logo and text */
    border: 1px dashed #777;
}

header#hero h1 {
    margin: 0.5rem 0 0.2rem 0; /* Adjusted margins */
    font-size: 2.8rem; /* Slightly adjusted */
    font-weight: bold;
}

header#hero p {
    font-size: 1.1rem; /* Slightly adjusted */
    margin-top: 0;
}

section {
    padding: 2rem;
    margin: 0 1rem;
    border-bottom: 1px solid #444; /* Separator for sections */
}

section:last-of-type {
    border-bottom: none;
}

h2 {
    color: #e0e0e0; /* Slightly lighter heading color */
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.2rem;
}

h3 {
    color: #cccccc;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Product Showcase Styles */
#product-showcase .product-category {
    margin-bottom: 2.5rem; /* Increased margin */
    padding: 1.5rem;
    border-radius: 8px;
    background-color: #383838; /* Default category background */
}

/* Pastel Accent Colors */
#product-showcase #bagels { background-color: #fdebd0; color: #333; }
#product-showcase #breakfast-bagel { background-color: #e6f7ff; color: #333; } /* Light blue for breakfast bagels */
#product-showcase #focaccia { background-color: #d4efdf; color: #333; }
#product-showcase #babka { background-color: #d6eaf8; color: #333; }
#product-showcase #baskets { background-color: #fcf3cf; color: #333; }
#product-showcase #croissants { background-color: #fdebd0; color: #333; } 
#product-showcase #sourdough { background-color: #e8f8f5; color: #333; }
#product-showcase #moroccan-bastilla { background-color: #fde8e4; color: #333; }
#product-showcase #sandwiches { background-color: #eaf2f8; color: #333; }
#product-showcase #brioche { background-color: #fef9e7; color: #333; }
#product-showcase #other-specialties { background-color: #f0e6ff; color: #333; } /* Light purple for other specialties */


#product-showcase .product-category h3 {
    color: #2c2c2c; /* Darker text for pastel backgrounds */
    border-bottom: 2px solid #adadad; /* Adjusted border color */
    padding-bottom: 0.5rem;
    text-align: center; /* Center category titles */
    margin-top: 0; /* Remove default top margin */
}

/*.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.product-item {
    background-color: #4a4a4a;
    padding: 1rem;
    border-radius: 6px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}*/

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); /* Consistent min size */
    gap: 1.5rem;
    margin-top: 1.5rem;
    align-items: stretch; /* Ensures equal height rows */
}

.product-item {
    background-color: #4a4a4a;
    padding: 1rem;
    border-radius: 6px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    min-height: 300px; /* Set a minimum height */
    box-sizing: border-box;
}

.product-item .img-placeholder {
    width: 100%;
    background-color: #5f5f5f;
    color: #bcbcbc;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    margin-bottom: 0.75rem;
    font-style: italic;
}

.product-item p {
    margin: 0;
    font-size: 0.9rem;
    color: #f0f0f0; /* Lighter text for product names on dark item background */
}

/* Footer Styles */
footer#contact {
    text-align: center;
    padding: 2rem;
    background-color: #1a1a1a;
    color: #fff;
}

footer#contact a {
    color: #82c9ff; /* Light blue for links */
    text-decoration: none;
}

footer#contact a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    header#hero h1 {
        font-size: 2.2rem;
    }
    section {
        padding: 1.5rem 1rem;
        margin: 0 0.5rem;
    }
    h2 {
        font-size: 1.8rem;
    }
    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    header#hero .logo-placeholder {
        width: 120px;
        height: 60px;
    }
    header#hero h1 {
        font-size: 1.8rem;
    }
    header#hero p {
        font-size: 0.9rem;
    }
    h2 {
        font-size: 1.5rem;
    }
    h3 {
        font-size: 1.2rem;
    }
    .product-grid {
        grid-template-columns: 1fr; /* Single column on very small screens */
    }
    .product-item .img-placeholder {
/*        height: 120px;*/
    }
}

