* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

a {
    text-decoration: none;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #fff;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2;
}

.logo a {
    font-size: 24px;
    font-weight: bold;
    color: #333;
}
.logo a:hover {
    color: #3fb148;
    transition: all 0.3s ease;
}
.hamburger {
    display: none;
}

.menu {
    display: flex;
}

.menu li {
    list-style: none;
    margin-right: 20px;
}

.menu li:last-child {
    margin-right: 0;
}

.menu a {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    padding: 10px;
    transition: all 0.3s ease;
}

.menu a:hover {
    color: #3fb148;
}

header {
    height: 100vh;
    background-image: url("https://source.unsplash.com/1920x1080/?bread");
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-text {
    text-align: center;
    color: #fff !important;
}

.main-text h1 {
    font-size: 60px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.2);
}

.main-text p {
    font-size: 24px;
    margin-bottom: 40px;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.2);
}

.btn {
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    background-color: #429048b8;
    padding: 12px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #3fb148;
}

section {
    padding: 2rem 0;
    background-color: #f8f8f8;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

h2 {
    font-size: 36px;
    margin-bottom: 40px;
}

.menu-items {
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
}

.menu-item {
    flex-basis: calc(33.33% - 30px);
    text-align: center;
    background-color: #fff;
    border-radius: 10px;
    padding: 40px;
    transition: all 0.3s ease;
}

.menu-item:hover {
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
}

.menu-item img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 20px;
}

.menu-item h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.menu-item p {
    font-size: 16px;
    margin-bottom: 20px;
}

.price {
    font-size: 28px;
    font-weight: bold;
    color: #3fb148;
    margin-bottom: 20px;
}

footer {
    background-color: #f9f9f9;
    padding: 20px 0;
    text-align: center;
}

footer small {
    font-size: 14px;
}

footer a {
    color: #6c63ff;
    text-decoration: none;
    transition: all 0.3s ease;
}

footer a:hover {
    color: #4c47d3;
}


@media screen and (max-width: 768px) {
    .menu {
        display: none;
    }

    .hamburger {
        display: block;
        font-size: 24px;
        cursor: pointer;
    }

    .hamburger:hover {
        color: #3fb148;
    }

    .logo a {
        font-size: 20px;
    }

    nav {
        padding: 10px;
    }

    .menu-items {
        flex-wrap: wrap;
    }

    .menu-item {
        flex-basis: calc(50% - 20px);
        margin-bottom: 30px;
    }

}

@media screen and (max-width: 480px) {
    .menu-item {
        flex-basis: 100%;
    }
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
    display: none;
}

.show {
    display: block;
}

.modal-menu {
    position: absolute;
    top: 26%;
    width: 90%;
    left: 50%;
    transform: translate(-50%, -50%);
    list-style: none;
    text-align: center;
    background-color:#ffffffe0;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
}

.modal-menu li {
    margin-bottom: 10px;
}

.modal-menu a {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.modal-menu a:hover {
    color: #3fb148;
}

#gallery {
    background-color: #fff;
    padding: 100px 0;
}

.gallery-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-gap: 20px;
    justify-items: center;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    padding: 1rem;
    margin: 1rem;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(0, 0, 0, 0.8) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover::after {
    opacity: 1;
}

.gallery-item::before {
    content: attr(alt);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover::before {
    opacity: 1;
}

@media screen and (max-width: 767px) {
    .gallery-items {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

#contact .container {
    background-color: #f9f9f9;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    text-align: center;
}

#contact form {
    margin: 30px auto;
    padding: 40px;
    max-width: 500px;
}

#contact form input[type="text"],
#contact form input[type="email"],
#contact form textarea {
    display: block;
    margin: 0 auto 20px;
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 5px;
    background-color: #f2f2f2;
    font-size: 16px;
    font-family: 'Open Sans', sans-serif;
}

#contact form textarea {
    resize: none;
    height: 150px;
}

#contact form button[type="submit"] {
    display: block;
    margin: 0 auto;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    background-color: #429048b8;
    color: #fff;
    font-size: 16px;
    font-family: 'Open Sans', sans-serif;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
}

#contact form button[type="submit"]:hover {
    background-color: #3fb148;
}

#contact form input[type="text"]:hover,
#contact form input[type="email"]:hover,
#contact form textarea:hover {
    background-color: #e0e0e0;
}

#contact form input[type="text"]:focus,
#contact form input[type="email"]:focus,
#contact form textarea:focus {
    outline: none;
    box-shadow: 0px 0px 3px #3fb148;
    background-color: #fff;
}

#contact form button[type="submit"] {
    transition: background-color 0.3s ease-in-out;
}

#contact form button[type="submit"]:hover {
    background-color: #3fb148;
}

#about p {
    padding: 1.75rem;
}