:root {
    --yellow: #FFDA63; /* Vibrant yellow */
    --purple: #A076F9; /* Edible violet purple */
    --yellow-light: #FFF4D6;
    --purple-light: #E5D9FF;
    --dark-text: #333;
    --light-text: #fff;
    --bg-color: #FAF8FF; /* Very light purple background */
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    background-color: var(--bg-color);
    color: var(--dark-text);
    overflow-x: hidden; /* Prevent horizontal scroll */
    transition: margin-left 0.3s ease-in-out; /* Animate body shift */
}

/* Header Styles */
.site-header {
    background-color: var(--yellow);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.menu-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    margin-right: 1rem;
    z-index: 1002; /* Above nav */
}

.site-title {
    font-family: 'Pacifico', cursive;
    font-size: 1.8rem;
    margin-left: auto; /* Push title to the right when menu button is present */
    margin-right: auto; /* Center title */
    transform: translateX(-25px); /* Adjust centering because of button */
}
.site-title a {
    color: var(--purple);
    text-decoration: none;
}


/* Navigation Menu Styles */
.main-nav {
    position: fixed;
    top: 0;
    left: -280px; /* Start off-screen */
    width: 250px;
    height: 100vh;
    background-color: var(--purple);
    padding-top: 5rem; /* Space for header */
    box-shadow: 2px 0 5px rgba(0,0,0,0.2);
    transition: left 0.3s ease-in-out;
    z-index: 1001; /* Below button, above content */
    overflow-y: auto;
}

.main-nav.nav-open {
    left: 0; /* Slide in */
}

.main-nav ul {
    list-style: none;
}

.main-nav li {
    margin-bottom: 1rem;
}

.main-nav a {
    display: block;
    color: var(--light-text);
    text-decoration: none;
    font-size: 1.2rem;
    padding: 0.8rem 1.5rem;
    transition: background-color 0.2s ease, padding-left 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus {
    background-color: var(--yellow);
    color: var(--purple);
    padding-left: 2rem;
}

/* Body shift when nav is open */
body.nav-open-body-shift {
    margin-left: 250px;
}

/* Main Content Area */
.content-area {
    padding: 1rem 1.5rem 2rem;
    max-width: 900px;
    margin: 0 auto;
}

#hero {
    text-align: center;
    padding: 4rem 1rem 2rem;
    background-color: var(--purple-light);
    border-radius: 15px;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

#hero h1 {
    font-family: 'Pacifico', cursive;
    color: var(--purple);
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
}

#hero p {
    font-size: 1.1rem;
    color: var(--dark-text);
    max-width: 600px;
    margin: 0 auto 1rem;
}

.splash {
    position: absolute;
    bottom: -1px; /* Align with bottom */
    left: 0;
    width: 100%;
    height: 50px; /* Adjust height as needed */
    z-index: 0;
}
#hero h1, #hero p {
    position: relative; /* Ensure text is above splash */
    z-index: 1;
}


/* Latest Posts Section */
#latest-posts h2 {
    color: var(--purple);
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.post-preview {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(160, 118, 249, 0.1); /* Subtle purple shadow */
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.post-preview:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(160, 118, 249, 0.2);
}

.post-preview h3 {
    color: var(--purple);
    margin-bottom: 0.5rem;
}

.post-preview p {
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.post-preview a {
    color: var(--yellow);
    background-color: var(--purple);
    text-decoration: none;
    font-weight: bold;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    display: inline-block;
    transition: background-color 0.2s ease;
}

.post-preview a:hover,
.post-preview a:focus {
    background-color: #8a5fd5; /* Slightly darker purple */
}

/* Contact Call to Action Section */
.contact-cta {
    background-color: var(--purple);
    color: var(--light-text);
    padding: 2.5rem 1.5rem;
    text-align: center;
    border-radius: 10px;
    margin: 3rem 0; /* Add space around the section */
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-cta h2 {
    font-family: 'Pacifico', cursive;
    font-size: 2.2rem;
    margin-bottom: 0.8rem;
    color: var(--yellow); /* Use yellow for contrast */
}

.contact-cta p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.cta-button {
    background-color: var(--yellow);
    color: var(--purple);
    padding: 0.8rem 2rem;
    border-radius: 25px; /* Pill shape */
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    display: inline-block;
    transition: background-color 0.2s ease, transform 0.2s ease;
    border: 2px solid var(--yellow); /* Add border for definition */
}

.cta-button:hover,
.cta-button:focus {
    background-color: var(--yellow-light);
    color: var(--purple);
    transform: scale(1.05); /* Slight zoom effect */
    border-color: var(--yellow-light);
}

/* Placeholder Sections */
.placeholder-section {
    margin-top: 3rem;
    padding: 2rem;
    background-color: var(--yellow-light);
    border-radius: 10px;
    border-left: 5px solid var(--yellow);
}
.placeholder-section h2 {
     color: var(--purple);
     margin-bottom: 1rem;
}

/* Footer Styles */
.site-footer {
    text-align: center;
    margin-top: 3rem;
    padding: 1.5rem;
    background-color: var(--yellow-light);
    color: var(--purple);
    font-size: 0.9rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .site-title {
        font-size: 1.5rem;
         transform: translateX(-20px);
    }
    #hero h1 {
        font-size: 2.2rem;
    }
    .menu-button svg {
         width: 25px;
         height: 25px;
     }

    /* Don't shift body on smaller screens, overlay nav instead */
     body.nav-open-body-shift {
        margin-left: 0;
    }
     .main-nav {
         box-shadow: 5px 0 15px rgba(0,0,0,0.3); /* Stronger shadow */
     }

     .content-area {
        padding: 1rem;
     }

     .post-grid {
        grid-template-columns: 1fr; /* Stack posts */
    }
}

@media (max-width: 480px) {
     .site-header {
        padding: 0.8rem 1rem;
    }
     .site-title {
        font-size: 1.3rem;
         transform: translateX(-15px); /* Further adjustment */
    }
    #hero {
        padding: 3rem 0.5rem 1.5rem;
    }
     #hero h1 {
        font-size: 1.8rem;
    }
     #hero p {
        font-size: 1rem;
    }
    .splash {
        height: 40px;
    }
}

.winkelwagen-link {
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.winkelwagen-link a {
  color: var(--purple);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.producten-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.product-kaart {
  border: 1px solid #ddd;
  padding: 1rem;
  border-radius: 0.5rem;
  text-align: center;
  background-color: #fff;
}

.product-kaart img {
  max-width: 100%;
  height: auto;
  margin-bottom: 0.5rem;
}
