:root {
    --color-dark: #3B2A20;
    --color-background: #F5F0E8;
    --color-light: #FFFDFA;
    --color-accent: #D6A85F;
    --color-heading: #6B4226;
    --color-hover: #8B5E3C;
    --color-border: #D6C7B5;
    --color-shadow: 59, 42, 32;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: var(--color-background);
    color: var(--color-dark);
}

header {
    background-color: var(--color-dark);
    color: var(--color-background);
    text-align: center;
    padding: 30px 20px;
    box-shadow: 0 4px 12px rgba(var(--color-shadow), 0.15);
    border-bottom: 3px solid var(--color-accent);
}

h1 {
    font-size: 38px;
    letter-spacing: 2px;
    margin: 0 0 10px;
}

header p {
    font-size: 18px;
    letter-spacing: 1px;
    margin: 0;
    color: var(--color-accent);
}


nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 0;
    margin: 0;
}

nav a {
    color: var(--color-background);
    text-decoration: none;
    font-weight: bold;
    padding: 8px 12px;
    transition: color 0.3s ease;
}


nav {
    background-color: var(--color-dark);
    padding: 18px 20px;

}

nav a:hover {
    color: var(--color-accent);
    background-color: var(--color-hover);
    border-radius: 6px;
}

main {
    max-width: 1100px;
    margin: 0 auto;
    padding: 30px 20px;
}

h2 {
    color: var(--color-heading);
    font-size: 28px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--color-border);
}

h3 {
    color: var(--color-hover);
    font-size: 21px;
    margin-top: 20px;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--color-border);
}

p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 15px;
}

footer {
    background-color: var(--color-dark);
    color: var(--color-background);
    text-align: center;
    padding: 25px 20px;
    margin-top: 40px;
    border-top: 3px solid var(--color-accent);
}

footer p {
    font-size: 14px;
    margin-bottom: 5px;
    color: var(--color-background);
}


button {
    background-color: var(--color-heading);
    color: var(--color-background);
    border: none;
    padding: 12px 25px;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: var(--color-hover);
}

button:active {

    transform: scale(0.97);
}

input,
textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    font-size: 16px;
    box-sizing: border-box;
    transition: outline 0.2s ease;
}

input:focus,
textarea:focus {
    outline: 2px solid var(--color-accent);
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: var(--color-dark);
}

section {
    background-color: var(--color-light);
    padding: 25px;
    margin-bottom: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(var(--color-shadow), 0.08);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

section:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(var(--color-shadow), 0.15);
}

.products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

img {
    max-width: 100%;
    height: auto;
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
    margin-bottom: 15px;
}

.product-card {
    background-color: var(--color-light);
    padding: 20px;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(var(--color-shadow), 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(var(--color-shadow), 0.18);
}

#menuButton {
    display: none;
}


@media (max-width: 600px) {

    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        max-height: 500px;
        overflow: hidden;
        opacity: 1;
        transition: max-height 1.2s ease-in-out, opacity 1s ease-in-out;
    }

    nav ul.hidden {
        max-height: 0;
        opacity: 0;
        pointer-events: none;
    }

    #menuButton {
        display: block;
        margin: 0 auto 15px;
    }

    .products {
        display: grid;
        grid-template-columns: 1fr;
    }

    .product-card {
        width: 100%;
        max-width: 300px;
    }

    footer {
        padding: 30px 15px;
    }

    h1 {
        font-size: 28px;
    }

    header p {
        font-size: 15px;
    }

}

section a {
    color: var(--color-heading);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

section a:hover {
    color: var(--color-hover);
    text-decoration: underline;
}

.hero {
    text-align: center;
    padding: 50px 30px;
    margin-bottom: 30px;

}

.hero h2 {
    font-size: 34px;
    margin-bottom: 25px;
    border-bottom: none;
}

.hero p {
    max-width: 750px;
    margin: 0 auto 20px;
}

.hero a {
    display: inline-block;
    background-color: var(--color-heading);
    color: var(--color-background);
    padding: 12px 25px;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.hero a:hover {
    background-color: var(--color-hover);
    transform: translateY(-3px);
}



.hero-banner {
    background-image: url("images/hero.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    max-width: 750px;
    padding: 30px;
    text-align: center;
}

.hero-content h2,
.hero-content p {
    text-shadow:
        -1px -1px 1px rgba(255, 253, 250, 0.8),
         1px -1px 1px rgba(255, 253, 250, 0.8),
        -1px  1px 1px rgba(255, 253, 250, 0.8),
         1px  1px 1px rgba(255, 253, 250, 0.8);
}

.bakery-hero {
    text-align: center;
    padding: 50px 30px;
    margin-bottom: 30px;
    background-color: var(--color-light);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(var(--color-shadow), 0.1);
}

.bakery-hero h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.bakery-hero p {
    max-width: 750px;
    margin: 0 auto;
}

.coffee-hero {
    text-align: center;
    padding: 50px 30px;
    margin-bottom: 30px;
    background-color: var(--color-light);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(var(--color-shadow), 0.1);
}

.coffee-hero h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.coffee-hero p {
    max-width: 750px;
    margin: 0 auto 15px;
}

.about-hero {
    text-align: center;
    padding: 50px 30px;
    margin-bottom: 30px;
    background-color: var(--color-light);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(var(--color-shadow), 0.1);
}

.about-hero h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.about-hero p {
    max-width: 800px;
    margin: 0 auto 20px;
}

.brand-slogan {
    text-align: center;
    color: var(--color-heading);
    font-size: 20px;
    letter-spacing: 1px;
    margin: 30px auto;
}

.contact-hero {
    text-align: center;
    padding: 50px 30px;
    margin-bottom: 30px;
    background-color: var(--color-light);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(var(--color-shadow), 0.1);
}

.contact-hero h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.contact-hero p {
    max-width: 750px;
    margin: 0 auto;
}

.contact-details {
    text-align: center;
    padding: 35px 30px;
}

.contact-details p {
    margin: 15px 0;
}

.contact-details a {
    color: var(--color-heading);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: var(--color-hover);
    text-decoration: underline;
}

.contact-form form {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    margin-bottom: 18px;
}

nav a.active {
    color: var(--color-accent);
    font-weight: bold;
    border-bottom: 2px solid var(--color-accent);
    padding-bottom: 5px;
}