@import url('https://fonts.googleapis.com/css?family=Raleway:300,400');

* {
    box-sizing: border-box;
    font-family: Raleway, sans-serif;
    color: black;
}

html, body {
    margin: 0;
    padding: 0;
}


.nav ul {
    margin: 0;
    padding: 0;
}

.nav li {
    display: inline-block;
}

.nav a {
    padding: .5em;
    color: white;
    text-decoration: none;
}

.nav a:hover {
    background-color: rgba(255,255,255,0.3);
}

.main-nav {
    text-align: center;
    font-size: 1.1em;
    font-weight: lighter;
    border-bottom: 1px solid yellowgreen;
}


.main-header {
    background-color: rgb(83,154,89);
    padding-bottom: 30px;
}

.logo-area {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding-top: 25px;
}

.logo {
    width: 190px;
    height: auto;
}

.business-name {
    font-size: 2.2rem;
    line-height: 1.2;
}


.slogan {
    text-align: center;
    margin: 0;
    padding: 4em 1em;
    font-size: 3em;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: normal;
    background-color: #f5fff6;
}

section {
    padding: 4em 1em;
}


#about {
    background-color: #f9f9f9;
}

#about h3 {
    text-align: center;
    font-size: 3em;
    margin-bottom: 1em;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: normal;
}

#about p {
    max-width: 750px;
    margin: 0 auto;
    font-size: 1.2em;
    line-height: 1.8;
    text-align: center;
    color: #333;
}


.content-section {
    margin: 1em;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1.5em;
}


h3 {
    font-size: 3em;
    text-align: center;
    font-weight: normal;
    margin-bottom: 0.5em;
    font-family: Arial, Helvetica, sans-serif;
}


h5 {
    font-size: 2em;
    text-align: center;
    font-weight: normal;
    margin-bottom: 0.5em;
}

h6 {
    font-size: 1.4em;
    text-align: center;
    font-weight: normal;
    margin-bottom: 0.5em;
}

h3, h4, h5, h6 {
    letter-spacing: 1px;
}

h5 {
    font-size: 3em;
    text-align: center;
    font-weight: normal;
    margin-top: 1.5em;
    margin-bottom: 1em;
    color: rgb(83,154,89);
    font-family: Arial, Helvetica, sans-serif;
    letter-spacing: 2px;
    position: relative;
}

h5::after {
    content: "";
    display: block;
    width: 100px;
    height: 4px;
    background-color: yellowgreen;
    margin: 12px auto 0;
    border-radius: 5px;
}

.products {
    padding: 2em 1em;
}

.category {
    margin-bottom: 3em;
}


.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5em;
    padding: 1em;
    max-width: 1000px;
    margin: 0 auto;
}


.product-card {
    background: white;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 1em;
    text-align: center;
    transition: transform 0.2s ease;
}

.product-card:hover {
    transform: scale(1.03);
}

.product-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
}

.product-card h3 {
    font-size: 1em;
    margin: 0.5em 0;
}

.price {
    font-weight: bold;
    color: green;
}

.place-order {
    max-width: 600px;
    margin: 0 auto;
    padding: 2em 1em;
}

.place-order form {
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.place-order input,
.place-order select {
    padding: 0.7em;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 100%;
}

.place-order textarea {
    padding: 0.7em;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 100%;
    min-height: 120px;
    resize: vertical;
}


.place-order select {
    padding: 0.7em;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: white;
    font-size: 1em;
}

.place-order button {
    padding: 0.8em;
    background-color: rgb(83,154,89);
    color: white;
    border: none;
    cursor: pointer;
    font-size: 1em;
    border-radius: 5px;
}

.place-order button:hover {
    background-color: rgb(60,120,65);
}


footer {
    background-color: #222;
    color: white;
    padding: 2em 1em;
}

footer div {
    margin-bottom: 1.5em;
}

footer p,
footer a {
    color: white;
    font-size: 0.9em;
}

footer a {
    margin-right: 1em;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

@media screen and (max-width: 768px) {

   .logo-area {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
   } 

   .logo {
    width: 140px;
   }

    .business-name {
        font-size: 2rem;
        padding: 0.3em;
    }

    
    .nav li {
        display: block;
        margin: 0.5em 0;
    }

    .main-nav {
        font-size: 1em;
    }

    
    .slogan {
        font-size: 1.8em;
        padding: 2em 1em;
    }

    
    h3 {
        font-size: 2.2em;
    }

    h4 {
        font-size: 2em;
    }

    h5 {
        font-size: 1.8em;
    }

    h6 {
        font-size: 1.2em;
    }

    
    #about p {
        font-size: 1em;
        line-height: 1.6;
        padding: 0 1em;
    }

    
    .product-grid {
        grid-template-columns: 1fr;
        gap: 1em;
    }

    .product-card img {
        height: 200px;
    }

    
    .place-order {
        width: 100%;
        padding: 1em;
    }

    .place-order input,
    .place-order select,
    .place-order button {
        width: 100%;
    }

    
    footer {
        text-align: center;
    }

    footer div {
        margin-bottom: 2em;
    }
}