/*Site Banner section styling*/
#site-banner {
    width: 98%;
    height: 400px;
    margin: 10px auto;
    border-radius: 10px;
    background-image: url(https://jhe2158738.cisatscc.com/cis233-sp25/images/boodle-fight-food.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#overlay {
    background-color: rgba(238, 216, 139, 0.804);
    width: 100%;
    height: 100%;
    border-radius: 10px;

    display: flex;
    justify-content: center;
    align-items: center;
}

#banner-text {
    padding: 0 40% 0 8%;
}


/* Featured recipes section */
#featured-recipes {
    width: 100%;
    margin: 3% 0%;
    padding: 5%;

    display: flex;
    flex-direction: column;
    align-content: center;
}


/* Featured recipes section container */
#recipes-container {
    min-width: 100%;
    rotate: -1.5deg;
    margin-top: 20px;

    display: flex;
    justify-content: left;
    overflow-x: scroll;
}

.featured-recipe-cards {
    min-height: 450px;
    height: auto;
    width: 325px;
    margin: 10px 15px;

    border: solid 2px #01407E;
    border-radius: 4px;

    background-color: rgb(252, 239, 220);
}

.featured-recipe-cards img {
    width: 100%;
    height: 300px;

    object-fit: cover;

    border-bottom: solid 2px #01407E;
}

.featured-recipe-cards h3 {
    padding: 10px 20px;

    font-size: x-large;
}

/* Recipe card tags */
.recipe-tags {
    padding: 0px 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 3px;
    row-gap: 6px;
}
.recipe-tags span {
    border: solid 2px #880223;
    border-radius: 20px;
    margin-right: 3px;
    padding: 3px 12px;

    font-family: 'Quiapo', 'Trebuchet MS', Arial, sans-serif;
    font-size: .8em;
    color: #880223;
    text-transform: uppercase;

    background-color: #fddf05;
}

.featured-recipe-cards p {
    padding: 15px 20px 0px;

    font-size: small;
}

.cooking-time {
    margin-bottom: 20px;
    font-weight: bold;
}

#featured-recipes a {
    width: 30%;
    margin-top: 30px;
    align-self: center;
}

#featured-recipes button {
    width: 100%;
}

/*Ingredients section banner styling*/
#shop-ingredients-container {
    width: 98%;
    height: auto;
    margin: 10px auto;
    padding: 30px;
    border-radius: 10px;

    background-color: rgba(250, 222, 119, 0.685);

    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 70px;
}

#shop-ingredients-img {
    width: 55%;
}

#shop-ingredients-img img {
    width: 100%;
    border-radius: 10px;
}

#shop-ingredients-text {
    width: 30%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
}

#shop-ingredients-text h2 {
    text-align: left;
    font-family: 'Quiapo', 'Trebuchet MS', Arial, sans-serif;
    font-size: 3em;
    color: #880223;
    text-transform: uppercase;
}

/* About us section styling */
#about-us-section {
    width: 100%;
    margin: 3% 0;
    padding: 5%;

    display: flex;
}

#about-us-container {
    width: 65%;
    margin: 0 auto;
    padding: 50px;
    display: flex;
    flex-direction: row;
    gap: 70px;
    rotate: 1.5deg;

    border: solid 2px #01407E;
    border-radius: 10px;

    background-color: rgb(252, 239, 220);
}

#about-us-text {
    width: 70%;
}

#about-us-logo {
    width: 30%;
}
#about-us-logo img {
    width: 100%;
}

/* Mobile view adjustments for about us section*/
/* Mobile view adjustments for site banner */
@media (max-width: 680px) {
    #banner-text {
        padding: 8%;
    }

    .featured-recipe-cards {
        min-width: 200px;
    }

    .featured-recipe-cards img {
        max-height: 200px;
    }

    #about-us-logo {
        width: 60%;
    }
    #about-us-text h2 {
        font-size: 1.8em;
    }

    #about-us-text p {
        margin-top: 15px;
        font-size: 0.9em;
    }

    .page-buttons {
        width: 100%;
        margin-top: 30px;
        padding: 20px;
        font-size: 1.3em;
    }

}

/* Mobile view adjustments for shop ingredients banner */
@media (max-width: 800px) {
    #shop-ingredients-container {
        flex-direction: column;
        gap: 30px;
    }

    #shop-ingredients-img, #shop-ingredients-text {
        width: 100%;
    }

    #shop-ingredients-text {
        padding: 0px 15px;
        gap: 5px;
    }
}

/* Mobile view adjustments for about us section */
@media (max-width: 1000px) {
    #about-us-container {
        flex-direction: column-reverse;
        gap: 30px;
    }

    #about-us-text {
        width: 85%;

    }
}