/* ============================================================
   RESET & BASE
   ============================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #ffffff;
    color: #1c1c1c;
    font-family: "Poppins", sans-serif;
}

/* ============================================================
   NAVBAR
   ============================================================ */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 2rem;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 4px 12px;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 100;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.nav-right,
.nav-left {
    display: flex;
    list-style: none;
    gap: 1rem;
    align-items: center;
}

.logo {
    height: 40px;
    width: auto;
}

.send {
    height: 18px;
    width: auto;
}

.nav-right li {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.search {
    height: 44px;
    width: 280px;
    border-radius: 8px;
    font-size: 14px;
    border: none;
    background-color: #f0f0f5;
    padding: 0 1rem;
    font-family: "Poppins", sans-serif;
    outline: none;
    transition: box-shadow 0.2s;
}

.search:focus {
    box-shadow: 0 0 0 2px #fc8019;
}

.nav-left .fa-circle-user {
    font-size: 1.6rem;
    color: #fc8019;
    cursor: pointer;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
#hero {
    background-image: url('./asset/DO_collectionBanner.avif');
    height: 300px;
    width: 80%;
    max-width: 1000px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    margin: 2rem auto;
    border-radius: 16px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.info {
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    width: 100%;
    line-height: 1.3;
}

/* ============================================================
   FOOD SECTION
   ============================================================ */



   .food {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1rem 2rem 1rem 6rem;
    gap: 1rem;
}

.food-title {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.food-title h3 {
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: capitalize;
    color: #1c1c1c;
}

.food-title h3:first-child {
    border-bottom: 3px solid #fc8019;
    padding-bottom: 4px;
}

hr {
    border: none;
    border-top: 1px solid #e0e0e0;
    margin: 0.5rem 0;
}

/* ============================================================
   FILTER BUTTONS
   ============================================================ */
.buton {
    display: flex;
    gap: 0.8rem;
    padding: 0.5rem 0;
    flex-wrap: wrap;
}

.btn {
    height: 38px;
    padding: 0 1rem;
    border-radius: 20px;
    border: 1px solid #d4d5d9;
    background: #fff;
    font-family: "Poppins", sans-serif;
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.btn:hover {
    border-color: #fc8019;
    color: #fc8019;
}

/* ============================================================
   FOOD CARD LIST
   ============================================================ */
.food-card-list {
    display: flex;
    gap: 5rem;
    /* flex-wrap: wrap; */
}

.mt-2 {
    margin-top: 2rem;
}

.food-details {
    display: flex;
    flex-direction: column;
    background-color: white;
    width: 280px;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.food-details:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
}

.food-poster img {
    height: 180px;
    width: 100%;
    object-fit: cover;
}

.food-info {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding: 0.8rem 1rem 1rem;
    font-size: 0.82rem;
    color: #686b78;
}

.food-info p {
    font-size: 0.83rem;
}

.food-info p:last-of-type {
    font-weight: 600;
    color: #1c1c1c;
}

.btn1 {
    height: 32px;
    width: fit-content;
    padding: 0 0.8rem;
    border: 1px solid #d4d5d9;
    border-radius: 8px;
    font-family: "Poppins", sans-serif;
    font-size: 0.75rem;
    cursor: pointer;
    background: #fff;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.btn-2 {
    padding: 6px 10px;
    background-color: #1ba672;
    border: none;
    border-radius: 6px;
    color: white;
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-size: 0.75rem;
    text-align: start;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.btn-3 {
    padding: 6px 10px;
    background-color: #c8f9e5;
    border: none;
    border-radius: 6px;
    color: #1ba672;
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-size: 0.75rem;
    text-align: start;
    cursor: pointer;
}

/* ============================================================
   APP BANNER
   ============================================================ */
.app {
    height: auto;
    width: 100%;
    display: block;
    margin-top: 3rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
    background-color: #f0f0f5;
    margin-top: 2rem;
    padding-bottom: 1rem;
}

.ftr {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
    padding: 2rem 2rem 2rem 6rem;
}

.ftr-left {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-top: 2rem;
}

.logo2 {
    height: 40px;
    width: auto;
}

.ftr-left li:last-child {
    font-size: 0.82rem;
    color: #686b78;
}

.ftr-right {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

footer ul {
    list-style: none;
    line-height: 2rem;
    font-size: 0.85rem;
    padding-top: 2rem;
    min-width: 120px;
}

footer ul h3,
footer ul h4 {
    font-size: 0.92rem;
    font-weight: 700;
    color: #1c1c1c;
    margin-bottom: 0.3rem;
    margin-top: 0.5rem;
}

footer li {
    color: #686b78;
    cursor: pointer;
    transition: color 0.2s;
}

footer li:hover {
    color: #fc8019;
}

select {
    height: 2rem;
    width: 8rem;
    border-radius: 8px;
    background-color: #f0f0f5;
    color: #686b78;
    margin-top: 0.5rem;
    font-weight: 600;
    border: 1px solid #d4d5d9;
    padding: 0 0.5rem;
    font-family: "Poppins", sans-serif;
}

.link {
    display: flex;
    gap: 0.8rem;
    font-size: 1.2rem;
    color: #686b78;
    margin-top: 0.5rem;
}

.link i:hover {
    color: #fc8019;
    cursor: pointer;
}

.exp {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1rem 2rem 1rem 6rem;
}

.heading-2 {
    font-size: 1rem;
    font-weight: 700;
    color: #3a3939;
}

.icon {
    height: 44px;
    width: auto;
    cursor: pointer;
}

/* ============================================================
   MEDIA QUERIES — TABLET (max-width: 1024px)
   ============================================================ */
@media (max-width: 1024px) {
    .food {
        padding: 1rem 2rem;
    }

    .ftr {
        padding: 2rem;
    }

    .exp {
        padding: 1rem 2rem;
    }

    #hero {
        width: 90%;
    }

    .food-details {
        width: calc(50% - 1rem);
    }

    .search {
        width: 220px;
    }
}

/* ============================================================
   MEDIA QUERIES — MOBILE (max-width: 768px)
   ============================================================ */
@media (max-width: 768px) {
    nav {
        padding: 0.8rem 1rem;
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-right,
    .nav-left {
        width: 100%;
        justify-content: space-between;
    }

    .logo {
        height: 32px;
    }

    .search {
        width: 100%;
        max-width: 100%;
    }

    #hero {
        width: 95%;
        height: 200px;
        margin: 1rem auto;
    }

    .info {
        font-size: 1.2rem;
        padding: 1rem;
    }

    .food {
        padding: 1rem;
    }

    .food-title {
        gap: 1rem;
    }

    .food-title h3 {
        font-size: 0.95rem;
    }

    .buton {
        gap: 0.5rem;
    }

    .btn {
        height: 34px;
        padding: 0 0.7rem;
        font-size: 0.75rem;
    }

    .food-card-list {
        flex-direction: column;
        gap: 1.5rem;
    }

    .food-details {
        width: 100%;
    }

    .food-poster img {
        height: 200px;
    }

    .ftr {
        flex-direction: column;
        padding: 1.5rem 1rem;
        gap: 0;
    }

    .ftr-left {
        padding-top: 1rem;
    }

    .ftr-right {
        gap: 1.5rem;
        flex-wrap: wrap;
    }

    footer ul {
        min-width: 140px;
    }

    .exp {
        padding: 1rem;
        flex-direction: column;
        align-items: flex-start;
    }

    .icon {
        height: 36px;
    }
}

/* ============================================================
   MEDIA QUERIES — SMALL MOBILE (max-width: 480px)
   ============================================================ */
@media (max-width: 480px) {
    .nav-right {
        flex-wrap: wrap;
        gap: 0.4rem;
    }

    .nav-right li:nth-child(2) {
        display: none;
    }

    #hero {
        height: 160px;
        border-radius: 10px;
    }

    .info {
        font-size: 1rem;
    }

    .food-title {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }

    .buton {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 0.5rem;
    }

    .btn {
        flex-shrink: 0;
    }

    .btn-2,
    .btn-3 {
        font-size: 0.7rem;
    }

    .ftr-right {
        gap: 1rem;
    }

    footer ul {
        min-width: 100px;
        font-size: 0.78rem;
    }
}