*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body{
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    scroll-behavior: smooth;
    max-width: 100%;

}

main{
    flex: 1;
}

.site-footer{
    background-color: #b37f4f;
    color: white;
    text-align: center;
    padding: 10px;
    }

body{
    font-family: 'Arial', sans-serif;
    background-color: #ffffff;
    color: #333;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

header{
    background-color: #b37f4f;
    color: white;
    padding: 10px;
    text-align: center;
    width: 100%;
}

.logo-container{
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
}

.logo-container img{
    width: 100%;
    max-width: 50px;
    height: auto;
    border-radius: 50%;
}

.nav-section{
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgb(168, 106, 61);
}

.nav-header ul{
    display: flex;
    gap: 120px;
    list-style: none;
    padding: 0;
    margin: 0;
    padding-right: 40px;
}

.nav-links{
    display: flex;
    gap: 20px;
    list-style: none;
    justify-content: center;
    padding: 20px 0;
}

.nav-links li a{
    display: inline-block;
    border-radius: 50px;
    text-decoration: none;
    color: #333;
    font-weight: bold;
    transition: transform 0.3s ease, background-color 0.3s ease;

}

#home{
    background-color: #f8f8f8;
    padding: 10px;
    margin-bottom: -20px;
    border-radius: 5px;
    display: flex;
    justify-content: center;
}

.bread{
    text-align: center;
    margin: 20px 0;
    height: 300px;
    overflow: hidden;
}

.bread-banner{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bread-text{
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    background-color: rgba(0, 0, 0, 0.5 );
    padding: 20px;
}

.populair-products{
    margin-top: 40px;
    text-align: center;
}

.product-row{
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 20px;
    background-color: #f8f8f8;
    
}

.product img{
    width: 100%;
    max-width: 200px;
    height: 200px;
    border-radius: 115px;
}
.product{
    text-align: center;
    padding: 10px;
    }

    .product-image{
        position: relative;
        overflow: hidden;
        width: 100%;
        max-width: 200px;
        height: 200px;
        border-radius: 50%;
        transition: transform 0.3s ease;
    }

    .product-image img{
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
    }

    .product-image:hover img{
        transform: scale(1.2);
        cursor: pointer;
    }

    .price{
        position: absolute;
        bottom: 5px;
        left: 50%;
        transform: translateX(-50%);
        background-color: rgba(255, 255, 255, 0.85);
        color: #333;
        padding: 2px, 8px;
        border-radius: 10px;
        font-weight: bold;
        font-size: 24px;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .product-image:hover .price{
        opacity: 1;
    }

    .product-image:active img{
        transform: scale(1.1);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    }

   .product-row a{
        text-decoration: none;
        color: #333;
        font-weight: bold;
    }
   .product-row a:hover{
        color: #b37f4f;
    }
   
   
    .about-intro{
        text-align: center;
        padding: 40px 20px;
        max-width: 800px;
        width: 100%;
        margin: 0 auto;
    }

    .bakery-logo{
        width: 100%;
        height: auto;
        border-radius: 144px;
        margin-top: 20px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    }

    .mission-vision{
        margin-top: 20px;
        padding: 20px;
        border-radius: 10px;
        text-align: center;
        
    }

    .about-facts{
        text-align: center;
        padding: 40px 20px;
        max-width: 800px;
        width: 100%;
        margin: 0 auto;
    }

    .about-facts ul{
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .about-facts li{
        margin: 10px 0;
        font-size: 18px;
    }
    .about-facts li::before{
        content: "✔️";
        margin-right: 10px;
        color: #b37f4f;
    }
 
    .section-title{
        margin-top: 40px;
    }

    .about-page main{
        background-image: url('https://st2.depositphotos.com/5436362/11532/i/450/depositphotos_115326974-stock-photo-bakery-background-baking-ingredients-over.jpg');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        position: relative;
        z-index: 1;
        ;
    }

    .about-page main::before{
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(255, 255, 255, 0.7);
        z-index: -1;
    }

    .product-nav{
        display: flex;
        justify-content: center;
        gap: 20px;
        margin: 40px 0;
    }

    .product-nav a{
        text-decoration: none;
        color: #333;
        padding: 8px 16px;
        border-radius: 50px;
        background-color: #b37f4f;
        transition: background-color 0.3s ease, color 0.3s ease;
        font-weight: bold;
    }

.product-nav a:hover{
        background-color: #333;
        color: white;
    }

    section{
        margin-bottom: 30px;
    }

    section h3{
        text-align: center;
    }

    .product-card{
        text-align: center;
        width: 100%;
        padding: 20px;
        background-color: #f8f8f8;
        border-radius: 10px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        display: flex;
        flex-direction: column;
        transition: transform 0.3s ease;
        max-width: 200px;
        margin: 10px auto;
    }

.product-card:hover{
        transform: scale(1.05);
        cursor: pointer;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    }

    .product-img{
        width: 100%;
        height: 200px;
        border-radius: 10px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
        transition: transform 0.3s ease;
        object-fit: cover;
    }

    .product-card:hover .product-img{
        transform: scale(1.1);
    }

    .product-row2{
        display: flex;
        justify-content: center;
        gap: 30px;
        flex-wrap: wrap;
    }
    
    .product-container{
        max-width: 1200px;
        width: 100%;
        margin: 0 auto;
        padding: 20px;
    }

    #products{
        text-align: center;
        margin-bottom: 20px;
    }

    .product-name{
        font-size: 18px;
        margin-top: 10px;
        font-weight: bold;}


        .brood{
        font-size: 24px;
        font-weight: bold;
        margin-top: 20px;
        color: #b37f4f;

        }
    
        .cookie{
        font-size: 24px;
        font-weight: bold;
        margin-top: 20px;
        color: #b37f4f;
    }

    .pas{
        font-size: 24px;
        font-weight: bold;
        margin-top: 20px;
        color: #b37f4f;
    }

    .contact{
        padding: 40px 20px;
        text-align: center; 
        background-image: url("https://www.bakkertoet.nl/wp-content/uploads/cropped-20170715_075317-scaled-1.jpg");
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        color: white;
        height: auto;
        position: relative;
        width: 100%;
    }

.contact .overlay{
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 1;
        position: relative;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
    }

    .contact-inner{
        padding: 20px;
        max-width: 1000px;
        width: 100%;
        margin: 0 auto;
        position: relative;
        z-index: 2;
    }

    

    #contact h2, #contact h3{
        text-align: center;
        margin-bottom: 20px;
        margin-top: 20px;
        color: #ffffff;
    }

    form{
        display: flex;
        flex-direction: column;
        gap: 15px;
        max-width: 300px;
        margin: 0 auto;
        padding: 20px;
        text-align: center;
        width: 100%;
    }

    form label{
        font-weight: bold;
        color: #dab593;
    }

    form input, form textarea{
        padding: 10px;
        border: 1px solid #ccc;
        border-radius: 5px;
        font-size: 16px;
        width: 100%;
        margin-bottom: 10px;
    }

    form input:focus, form textarea:focus{
        border-color: #b37f4f;
        outline: none;
    }

    form button{
        padding: 10px;
        background-color: #b37f4f;
        color: white;
        border: none;
        border-radius: 5px;
        font-size: 16px;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }

    form button:hover{
        background-color: #df8a22;
    }

    ul{
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .map-container iframe{
        width: 100%;
        height: 380px;
        aspect-ratio: 1/1;
        display: block;
        margin: 0 auto;
    }

    .map-container{
        width: 700px;
        height: 400px;
        margin: 0 auto;
        max-width: 100%;
        overflow: hidden;
    }
    
    iframe{
        width: 100%;
        height: auto;
        max-width: 100%;
        display: block;
    }

    textarea{
        resize: none;
        min-height: 100px;
    }

    img{
        max-width: 100%;
        height: auto;
        display: block;
    }



    @media (max-width: 768px) {
  .nav-section {
    padding: 10px 0;
    text-align: center;
  }

  .nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 0;
    margin: 0;
  }

  .nav-links li {
    margin: 0;
  }

  .nav-links a {
    font-size: 14px;
    padding: 4px 8px;
    display: inline-block;
  }

  .nav-header ul {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .nav-header ul li {
    margin-bottom: 5px;
  }

  .logo-container img {
    width: 40px;
  }

  h1 {
    font-size: 18px;
    text-align: center;
  }

  .nav-section h2 {
    font-size: 16px;
    margin-bottom: 5px;
  }

  .map-container iframe {
    width: 100%;
    height: 250px;
  }

  .bread-text{
    display: none;
  }

  .product-row{
    flex-direction: column;
    align-items: center;
  }

  .product-container, .contact-inner{
    padding: 0 10px;
    max-width: 100%;
    box-sizing: border-box;
  }

  .about-intro, .about-facts{
    padding: 0 20px;
    box-sizing: border-box;
  }

 .product-nav{
    display: none;
 }
  
}

