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

body {
    background: #FFF8F3;
}

.container {
    padding: 60px 30px;
}

/* NAVBAR */
nav {
    position: fixed;
    height: 72px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #FFFFFF;
    padding: 0 36px;
    box-shadow: 0px 8px 30px rgba(255, 170, 90, 0.12);
    z-index: 1;
}

nav>.left-side {
    display: flex;
    align-items: center;
    gap: 15px;
}

nav>.left-side>.icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FF7A00;
    border-radius: 50%;
    font-size: 18px;
    color: #FFFFFF;

}

.head {
    font-size: 25px;
    font-weight: 700;
    color: #1F1F1F;
}

nav>.right-side>.icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    border-radius: 50%;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.08);
    font-size: 18px;
    color: #2D2D2D;
    cursor: pointer;
}

.noti {
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 30px;
    background: #FF7A00;
    color: #FFFFFF;
    font-size: 10px;
    font-weight: 600;
    border-radius: 50%;
    cursor: pointer;
}

/* HERO SECTION */

.hero-sec {
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.hero-sec>.left {
    width: 48%;
}

.hero-sec>.left>.heading {
    font-size: 58px;
    font-weight: 700;
    line-height: 72px;
    color: #222222;
}

.hero-sec>.left>.heading>span {
    color: #FF7A00;
}

.hero-sec>.left>.des {
    font-size: 20px;
    line-height: 30px;
    color: #7A7A7A;
    margin-top: 22px;
    font-weight: 500;
}

.hero-sec>.left>.search {
    width: 480px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    background: #FFFFFF;
    border-radius: 40px;
    padding-left: 10px;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.06);
    margin-top: 35px;
}

.hero-sec>.left>.search>input {
    font-size: 16px;
    color: #444;
    width: 80%;
    height: 60%;
    border: none;
    outline: none;

}

.search>.search-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #FF7A00;
    display: flex;
    align-items: center;
    justify-content: center;
        cursor: pointer;

}

.hero-sec>.right {
    width: 48%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-sec>.right>img {
    width: 100%;
    background: #FFF8F3;
}

/* Category section */

.category-container {
    background: #FFFFFF;
    border-radius: 32px;
    padding: 40px 15px;
    height: auto;
}

.category-container>.category>.head {
    font-size: 28px;
    font-weight: 700;
    color: #1F1F1F;
    margin-bottom: 30px;
    text-align: center;
}

.category-opt {
    display:flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
}

.category-btn {
  padding: 12px 28px;
  border: 2px solid #ff7a00;
  background: #fff;
  color: #333;
  border-radius: 50px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.category-btn:hover {
  background: #ff7a00;
  color: #fff;
}

.category-btn.active {
  background: #ff7a00 ;
  color: #fff ;
  box-shadow: 0 8px 20px rgba(255, 122, 0, 0.25);
}



/*Dishes  */



.popular {
    width: 100%;
    margin: 70px 0px;
}

.popular-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.popular-heading h2 {
    font-size: 32px;
    font-weight: 700;
    color: #222;
}

.view-all {
    text-decoration: none;
    cursor: pointer;
    color: #ff7a00;
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: .3s;
}

.view-all:hover {
    color: #ff9500;
}

.view-all span {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #ff7a00;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
}

.popular-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.food-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
    transition: .35s;
}

.food-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .15);
}

.food-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}


.food-content {
    padding: 18px;
}

.title-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.title-price h3 {
    font-size: 18px;
    color: #222;
}

.title-price span {
    color: #ff7a00;
    font-size: 18px;
    font-weight: bold;
}

.food-content p {
    color: #666;
    font-size: 12px;
    font-weight: 500;
    line-height: 23px;
    margin-bottom: 22px;
}

.food-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.rating {
    font-size: 15px;
    color: #555;
}

.food-footer button {
    width: 45px;
    height: 45px;
    border: none;
    border-radius: 50%;
    background: #ff7a00;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    transition: .3s;
}

.food-footer button:hover {
    transform: scale(1.08);
    background: #ff9100;
}
body::-webkit-scrollbar {
  width: 10px;
}



@media (max-width:1024px) {


    .hero-sec {
        margin-bottom: 20px;
    }

    .popular-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width:768px) {


    .hero-sec>.left>.heading {
        font-size: 36px;
        line-height: 48px;
    }

    .hero-sec>.left>.des {
        font-size: 16px;
    }

    .hero-sec>.left>.search {
        width: 380px;
    }


    .popular-heading h2 {
        font-size: 28px;
    }

    .popular-cards {
        grid-template-columns: 1fr 1fr;
        gap: 18px;
    }

}

@media (max-width:430px) {
    .category-container {
        margin: 0px -15px;
    }

    .hero-sec {
        flex-direction: column-reverse;
    }

    .hero-sec>.left,
    .hero-sec>.right {
        width: 100%;
    }

    .category-container>.category>.head,
    .popular-heading>h2 {
        font-size: 20px;
    }
    .category-opt{
        gap: 15px;
    }
    .category-btn{
          padding: 8px 20px;
          font-size: 13px;
    }


    .popular-cards {
        grid-template-columns: 1fr;
        gap: 28px;
    }

}

@media (max-width:380px) {


    .hero-sec>.left>.search {
        width: 300px;
    }

    .hero-sec>.left>.search>input {
        font-size: 12px;
    }

    .category-container {
        margin: 0px -15px;
        padding: 30px 20px;
    }

    .hero-sec {
        flex-direction: column-reverse;
    }

    .hero-sec>.left,
    .hero-sec>.right {
        width: 100%;
    }

    .category-container>.category>.head,
    .popular-heading>h2 {
        font-size: 20px;
    }

    .category-opt {
        grid-template-columns: repeat(2, 1fr);
    }

    .popular-cards {
        grid-template-columns: 1fr;
        gap: 28px;
    }

}

@media (max-width:320px) {
    .container{
        padding: 60px 0px;
    }
    .hero-sec{
        padding: 60px 20px;
    }
    .category-container{
        margin: 0px 5px;
    }
    .category-btn{
          padding: 5px 15px;
          font-size: 10px;
    }
    .title-price>h3,.view-all{
        font-size: 14px;
    }
    .title-price>span{
        font-size: 12px;
        font-weight: 700;
    }
}    