@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&display=swap');


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.chompit-banner img {
    width: 100%;
    height: auto;
    display: block;
}

.ignite-bite {
    height: 800px; /* keep desktop fixed height */
    width: 100%;
    background-color: #331001;
}

.ignite-bite-img {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    padding-top: 20px;
}

.chomp-desc p {
    font-family: "Jost", sans-serif;
    font-size: 24px;
    line-height: 24px;
    font-weight: 500;
    color: #D9D9D9;
    width: 1011px; /* keep desktop fixed width */
}

.chomp-desc {
    margin-top: 56px;
    width: 100%;
}

.main-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 0 16px;
}

.chomp-book {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.chomp-book img {
    width: 50%; /* keep desktop style */
    height: auto;
}

/* ---------------- RESPONSIVE FIXES ---------------- */

/* Tablet (below 992px) */
@media (max-width: 992px) {
    .ignite-bite {
        height: auto; /* flexible height */
        padding: 20px 10px;
    }

    .chomp-desc p {
        width: 90%; /* shrink text width */
        font-size: 20px;
        line-height: 28px;
        text-align: center;
    }

    .ignite-bite-img {
        flex-wrap: wrap; /* allow wrapping */
        gap: 20px;
    }

    .chomp-book img {
        width: 70%; /* smaller images */
    }
}

/* Mobile (below 576px) */
@media (max-width: 576px) {
    .ignite-bite {
        height: auto; /* flexible for small screens */
        padding: 20px 10px;
    }

    .chomp-desc p {
        width: 100%; /* full width text */
        font-size: 16px;
        line-height: 24px;
        text-align: center;
    }

    .ignite-bite-img {
        flex-direction: column; /* stack vertically */
        align-items: center;
        gap: 15px;
    }

    .chomp-book {
        flex-direction: column;
        align-items: center;
    }

    .chomp-book img {
        width: 100%; /* full width image */
        max-width: 350px; /* prevent extra large */
    }
}
