*{
    margin:0;
    padding:0;
    box-sizing: border-box;
}
body{
   font-family: Arial, Helvetica, sans-serif;
   line-height: 1.6;
   background-color: #f5e8c7;
   color: #4b2e2e;
   margin:0;
   display: flex;
   flex-direction: column;
}
main{
    flex: 1;
}
header {
    background-color: #4b2e2e;
    color: #f5e8c7;
    text-align: center;
    padding: 1em 0;
}
footer{
    background-color: #4b2e2e;
    color: #f5e8c7;
    text-align: center;
    padding: 2px 0;
    position:fixed ;
    bottom: 0;
    width: 100%;
}
nav ul {
    list-style-type: none;
    display: flex;
    justify-content: center;
    background-color: #8b5e3c;
    padding: 0.5em;
}
nav ul li{
    margin: 0 1em;
}
nav ul li a{
    color: #f5e8c7;
    text-decoration: none;
}
main{
    padding: 20px;
    max-width: 800px;
    margin: 20px auto;
    background: #f5e8c7;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
h2{
    text-align: center;
    text-decoration: underline;
}
.accent{
    color: #8b5e3c;
    font-weight: bold;
    margin: 8px auto;
    border-radius: 2px;
    height: 4px;
    padding-bottom: 60px;
}
.button{
    background-color: #8b5e3c;
    color: #f5e8c7;
    padding: 10px 20px;
    border: 20px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 20px;
    text-decoration: none;
    display: inline-block;
    width: auto;
}
.button:hover{
    background-color: #6b4f30;
}
section{
    margin: 20px auto;
    padding: 20px;
    background-color: #f5e8c7;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}
section h2{
    color: #4b2e2e;
    margin-bottom: 5px;
}
img{
    border-radius: 5px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    max-width: max-content;
    height: fit-content;
}
.small-img{
    width: 100%;
    max-width: 600px;
    height: 400px;
    display: inline-block;
    margin: 10px auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding-left: 0;
}
form{
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
main h1{
    text-align: center;
    color: #8b5e3b;
    margin-bottom: 20px;
}
form label{
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
    font-size: 16px;
}
form input, form select, form textarea{
    width: 100%;
    padding: 12px;
    margin: 12px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    background-color: #fff;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: border-color 0.3s ease;
}
form button{
    width: 100%;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: bold;
    background-color: #8b5e3b;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease transform 0.2s ease;
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
    flex: 1;
    text-align: center;
}
form button:hover{
    background-color: #70492d;
    transform: translateY(-2px);
}
form input:focus,
form select:focus,
form textarea:focus {
    border-color: #8b5e3b;
    outline: none;
    box-shadow: 0 0 5px rgba(139, 94, 59, 0.5);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.hidden{
    display:none;
}
p{
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    margin: 20px 0;
}
#success-message{
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    padding: 20px;
    border-radius: 5px;
    margin-top: 20px;
    text-align: center;
}
#order-form{
    display: block;
    margin: 20px auto;
    width:100%;
    max-width: 500px;
}
#contact-form{
    display: block;
    margin: 20px auto;
    width:100%;
    max-width: 500px;
}
#product-list{
    display: block;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    width: 100%;
    margin-top: 20px;

}
.product-card{
    width: 700px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    padding: 20px;
    text-align: center;
    background-color: #f9f9f9;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease;
}
.product-card:hover{
    transform: scale(1.05);
}
.product-card img{
    width: 100%;
    height:auto;
    border-bottom: 1px solid #ddd;
    margin-bottom: 15px;
    display: block;
    justify-content: center;
}
.product-card h3{
    font-size: 1.5em;
    color: #333;
    margin: 10px 0;
}
.product-card p{
    font-size: 1em;
    color: #555;
    padding: 0 10px;
    margin: 10px 0;
}
.google-map-section {
    position: relative;
    width: 100%; /* Make the container width scale with the screen */
    padding-bottom: 56.25%; /* Aspect ratio: 16:9 */
    height: 10; /* Height is controlled by padding-bottom */
    overflow: hidden;
}

.google-map-section iframe {
    position: absolute;
    top: 10;
    left: 0;
    width: 100%; /* Make the iframe fill the container */
    height: 100%; /* Maintain aspect ratio */
    border: 0; /* Remove border */
}
@media (max-width: 768px) {
    .product-card {
        width: 45%;
    }

    form {
        max-width: 100%;
    }

    header, footer {
        padding: 10px 0;
    }

    .button {
        width: 100%;
    }

    nav ul {
        flex-direction: column;
    }

    nav ul li {
        margin: 5px 0;
    }
    #contact-form, #order-form {
        width: 90%;
        margin: 0 auto;
    }
}


@media (max-width: 480px) {
    .product-card {
        width: 100%;
    }

    .small-img {
        max-width: 100%;
        height: auto;
    }

    header, footer {
        padding: 8px 0;
    }

    .button {
        padding: 10px;
        font-size: 14px;
    }

    form input,
    form select,
    form textarea {
        font-size: 14px;
    }

    form button {
        font-size: 14px;
        padding: 10px;
    }
      #contact-form, #order-form {
        width: 100%;
        margin: 0 auto;
    }
}
