/*
Theme Name: T Breumelke Bakery
Theme URI: https://example.com/t-breumelke
Author: Dimitri
Author URI: https://example.com
Description: Custom WordPress theme for bakkerij 't Breumelke'. Het thema bevat een hero sectie, productoverzicht en contactinformatie in een moderne, responsieve lay‑out.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: t-breumelke
Tags: bakery, clean, responsive, modern
*/

/* Basisstijl */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f8f8f8;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header en navigatie */
.site-header {
    background: #f0c987;
    padding: 20px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.site-title {
    margin: 0;
    font-size: 2.5em;
    color: #4d2a11;
    text-decoration: none;
}

.site-title a {
    color: inherit;
    text-decoration: none;
}

.site-navigation .menu {
    list-style: none;
    margin: 10px 0 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.site-navigation .menu li {
    margin: 0;
}

.site-navigation .menu li a {
    color: #4d2a11;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.site-navigation .menu li a:hover {
    color: #38200b;
}

/* Site logo styling */
.site-logo img {
    max-height: 80px;
    height: auto;
    width: auto;
}

/* Hero sectie voor de startpagina */
/* De hero-afbeelding gebruikt een lokaal bestand uit de map images. Zorg ervoor dat het bestand 'interior.jpg' aanwezig is. */
/*
 * Hero element
 * De achtergrondafbeelding wordt dynamisch ingesteld via inline CSS vanuit de Customizer.
 */
.hero {
    background-size: cover;
    background-position: center;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.hero h1 {
    position: relative;
    color: #fff;
    font-size: 3.5em;
    margin: 0;
    z-index: 1;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* Stijl voor de hero subtitel */
.hero .hero-subtitle {
    position: relative;
    color: #fff;
    font-size: 1.5em;
    margin-top: 10px;
    z-index: 1;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

/* Secties op de startpagina */
.main-content section {
    margin-bottom: 40px;
}

.main-content h2 {
    font-size: 2em;
    color: #4d2a11;
    margin-bottom: 20px;
    border-bottom: 2px solid #f0c987;
    display: inline-block;
    padding-bottom: 5px;
}

.product-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.product-item {
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 5px;
    flex: 1 1 calc(33.333% - 20px);
    box-sizing: border-box;
    text-align: center;
    padding: 15px;
}

.product-item img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.product-item h3 {
    font-size: 1.5em;
    margin: 10px 0;
    color: #4d2a11;
}

.product-item p {
    font-size: 0.95em;
    color: #555;
}

/* Footer */
.site-footer {
    background: #4d2a11;
    color: #fff;
    padding: 20px;
    text-align: center;
    font-size: 0.9em;
}

.site-footer a {
    color: #f0c987;
    text-decoration: none;
}

.site-footer a:hover {
    text-decoration: underline;
}

/* Responsiviteit */
@media (max-width: 768px) {
    .site-navigation .menu {
        flex-direction: column;
        gap: 10px;
    }
    .product-item {
        flex: 1 1 100%;
    }
    .hero {
        height: 300px;
    }
    .hero h1 {
        font-size: 2.5em;
    }
}