*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Poppins', sans-serif;
}
h1,h2,h3,h4,p{
    color: rgb(82, 64, 43);
}
button{
    cursor: pointer;
}

/* main wrappper */
.wrapper{

    background-image:url('./Images/background.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px 0;
    background-attachment: fixed;
}


/* website content container */
.main{
    width: 70vw;
    background-color: #e7e3dcd7;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.438);
}




/* header */
header {
    padding: 10px 20px;
    background-color: #333;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    flex-wrap: wrap;
}

.logo img {
    width: 110px;
}

.menu {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

/* by this the menu will show and hide */
.menu-toggle {
    display: none;
}

/* its the icon by what you can understand that there is a menu*/
.hamburger-icon {
    display: none;
    font-size: 30px;
    cursor: pointer;
    color: #fff;
    margin-left: 10px;
}

/* this is all your menu */
.menuList {
    display: flex;
    list-style: none;
    justify-content: center;
    gap: 20px;
}

.nav-link {
    text-decoration: none;
    color: #e7e3dc;
    font-size: 15px;
    padding: 8px 12px;
    transition: 0.5s;
}

.nav-link:hover {
    color: #a1f0f0;
}

.menuSearch form {
    display: flex;
    align-items: center;
}

.menuSearch input[type="search"] {
    padding: 8px 12px;
    border-radius: 5px;
    border: none;
    outline: none;
}

/* this is most important...by this hamburger is behave the dropdown the menu*/
.menu-toggle:checked + .hamburger-icon + .menuList {
    display: block;
}

/* header */







/* hero section style */
.hero{
    display: flex;
    flex-wrap: wrap;
    padding: 20px;

}
.hero-img{
    width: 35%;
}
.hero-img img{
    width: 100%;
}
.welcome-info{
    width: 40%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}
.spoon-img{
    width: 10%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.offer{
    width: 15%;
}

.offer img{
    width: 100%;
}
/* hero section style */




/* recepie */
.recepie{
    padding: 50px 20px;
    text-align: center;
}

.recepie h2{
    padding-bottom: 20px;
    font-size: 2rem;
    color: #444;
}

.sliderWrapper{
    overflow-x: auto;
    position: relative;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.slider-wrapper::-webkit-scrollbar {
    display: none; 
}

.sliderContainer{
    display: flex;
    gap: 20px;
    animation: slide 30s infinite;
    scroll-snap-type: x mandatory;
    padding: 20px 0;
    will-change: transform;
    transition: transform 0.5s ease-in-out;
}
.sliderContainer:hover{
    animation-play-state: paused;
}


.recepieItem{
    flex: 0 0 calc(100% / 3 - 20px);
    min-width: calc(100% / 3 -20px);
    background-color: #e7e3dc;
    padding: 20px;
    box-shadow: 0px 10px 20px rgba(0, 0,0, 0.5);
    border-radius: 10px;
    text-align: center;
    scroll-snap-align:center;
}
.recepieItem img{
    width: 100%;
    border-radius: 5px;
}

.recepieItem h3{
    margin: 10px 0;
    font-size: 1.5rem;
}
.recepieItem p{
    font-size: 1rem;
    color: #555;
}
.recepieItem button{
    background-color: rgb(82, 64, 43);
    border: none;
    outline: none;
    padding: 8px 15px;
    border-radius: 5px;
    color: #fff;
    margin-top: 10px;
    cursor: pointer;
}

@keyframes slide{
    0%{
        transform: translateX(0);
    }
    10%{
        transform: translateX(0);
    }
    20%{
        transform: translateX(-33.333%);
    }
    40%{
        transform: translateX(-66.666%);
    }
    60%{
        transform: translateX(100%);
    }
    80%{
        transform: translateX(-133.333%);
    }
    100%{
        transform: translateX(0);
    }
}



.misoSoup{
    display: flex;
    padding: 40px;
    align-items: center;
}
.misoImage, .misoInfo{
    width: 50%;
    padding: 25px;
}
.misoImage{
    text-align: center;
}
.misoImage img{
    width: 100%;
}
.misoImage h2{
    padding-bottom: 20px;
}





/* contact */

.contact{
    display: flex;
    padding: 20px;
}
.contact-info{
    width: 40%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contactImageSection{
    width: 60%;
}
.contact-info h2{
    padding-bottom: 20px;
}
.contact-info p{
    padding-bottom: 10px;
}
.map{
    width: 100%;
    height: 200px;
    overflow: hidden;
}
.gmap_iframe{
    width: 100%;
    height: 100%;
    border: none;
}




footer{
    background-color: #333;
    padding: 30px;
    text-align: center;

}
footer p{
    color: #e7e3dc;
}









/* responsive part */
@media (max-width: 1024px) { 
    .sliderContainer {
        animation: slide 10s infinite; 
    }

    .recepieItem {
        flex: 0 0 calc(100% / 2 - 15px); 
        min-width: calc(100% / 2 - 15px);
    }
}


@media (max-width: 991px) {

    

    .misoSoup {
        flex-direction: column;
        padding: 15px;
    }

    .misoImage, .misoInfo {
        width: 100%;
        padding: 10px;
    }

    .misoImage img {
        max-width: 100%; 
    }
    .wrapper {
        padding: 0 0;
    }
    .main {
        width: 100vw;
    }

    .hero{
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .hero-img, .welcome-info, .spoon-img, .offer{
        width: 100%;
    }
    .welcome-info{
        padding: 10px;
    }
    .welcome-info h1{
        font-size: 2rem;
        font-weight: 900;
    }
    .welcome-info p{
        font-size: 1.4rem;
    }
    .spoon-img{
        margin-top: 10px;
    }

}

@media (max-width: 768px) {
    .sliderContainer {
        animation: slide 8s infinite; 
    }

    .recepieItem {
        flex: 0 0 100%;
        min-width: 100%;
    }
    .menuList {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 50px;
        left: 0;
        background-color: #333;
        text-align: center;
        z-index: 10;
    }

    .menuList li {
        padding: 15px 0;
        border-bottom: 1px solid #fff;
    }

    .menuSearch {
        margin-top: 10px;
    }

    .hamburger-icon {
        display: block;
    }

    .menu-toggle:checked + .hamburger-icon + .menuList {
        display: block;
    }
}


@media (min-width: 769px) {
    .menuList {
        display: flex;
        flex-direction: row;
    }
}



@media (max-width: 520px) {

    .contactImageSection {
        width: 100%;
    }
    .contact-info {
        width: 100%;
        padding: 20px;
    }
    .contact2 {
        padding: 20px 20px 20px 20px;
        display: unset;
    }

    .misoImage h2 {
        font-size: 1.5em; 
    }

    .misoInfo p {
        font-size: 0.9em; 
        line-height: 1.4; 
    }
    .hero-img,
    .welcome-info,
    .spoon-img,
    .offer {
        width: 100%;
    }

    .welcome-info {
        padding: 5px;
    }

    .welcome-info h1 {
        font-size: 1.5rem;
    }

    .welcome-info p {
        font-size: 0.9rem;
    }

    .spoon-img img,
    .offer img {
        max-width: 80%;
    }
}