@import url("/css/main.css");

body {
    position: relative;
}

#userwayAccessibilityWidget {
    bottom: 10px;
    right: 10px;
    position: fixed;
}

.banner-wrapper {
    background-image: url(/assets/img/img-content/bg-banner.png);
    background-repeat: no-repeat;
    background-color: #f5f5f5;
    background-size: contain;
    background-position: center;
    height: 100vh;
}

/* Banner */
.banner {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.banner__info {
    width: 100%;
    margin-bottom: 8rem;
}

.banner__info-title {
    font-size: 3rem;
    text-align: center;
}
.banner__info-description {
    margin: 3rem 0 3rem 0;
}

.banner__buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.banner__button {
    padding: 0 3rem;
    border-radius: 5rem;
    width: 22rem;
    height: 5rem;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 1.6rem;
}

.banner__button--contact {
    border: 1px solid var(--tx-white);
    color: var(--tx-white);
    background-color: var(--bg-black);
}
.banner__button--contact {
    border: 1px solid #000;
}

.banner__button--cafeteria {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    justify-content: center;
}
.banner__button--cafeteria svg {
    padding: 0.1rem;
}

.banner__media {
    width: 100%;
    margin-top: 9rem;
    padding: 5rem;
}

/* best-procucts__list */
.best-products-wrapper {
    background-color: #f5f5f5;
    padding: 6rem 0 7rem 0;
}
.best-products__list {
    display: flex;
    flex-direction: column;
    padding-top: 10rem;
    gap: 8rem;
    z-index: 20;
}

.best-products__title {
    font-size: 1.8rem;
    color: var(--tx-primary-chocolate);
    font-weight: 400;
    text-transform: uppercase;
}

.best-products__item {
    background-color: var(--bg-white);
    border-radius: 1rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 5rem 2rem;
    position: relative;
}

.best-products__item--active {
    background-color: #e1d7cc;
}

.best-products__img {
    width: 21.8rem;
    margin-top: -10rem;
}

.best-products__name {
    font-size: 1.6rem;
    color: var(--tx-primary-beige);
    font-weight: 300;
    padding: 2rem 0 2rem 0;
}

.best-products__description {
    font-size: 1.6rem;
    font-weight: 300;
    color: #646464;
    text-align: center;
}

/* Categories */
.categories-wrapper {
    margin: 7rem 0 7rem 0;
}

.categories__list {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: auto;
    gap: 3rem;
    width: 100%;
}
.categories__item {
    background-color: #f2f2f2;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 1.5rem;
}

.categories__img--active {
    background-color: var(--bg-primary-chocolate);
    color: var(--tx-white);
}
.categories__img {
    width: 6rem;
    height: 6rem;
}
.categories__name {
    font-size: 1.4rem;
    padding: 3rem 0 3rem 0;
}

.categories__description {
    text-align: center;
    font-weight: 300;
    font-size: 1.4rem;
}

.categories__wrapper {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    justify-content: center;
    align-items: center;
}
.categories {
    display: flex;
    gap: 10rem;
    flex-direction: column;
}
.categories__info {
    width: 100%;
    display: flex;
    align-items: center;
}

.categories__info__title {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 400;
    text-transform: uppercase;
    color: var(--tx-primary-chocolate);
}

.categories__info__description {
    font-size: 1.6rem;
    font-weight: 300;
    text-align: center;
}

.categories__info__button {
    width: 20rem;
    background-color: var(--bg-primary-beige);
    font-size: 1.6rem;
    color: var(--tx-white);
    padding: 1rem 2rem;
    border: none;
    border-radius: 2rem;
    cursor: pointer;
}
/* coffie-benefists */
.coffee-benefits-wrapper {
    background-color: var(--bg-primary-beige);
}

.coffie-benefits {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 6rem 2rem 6rem 2rem;
}

.coffie-benefits__title {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 400;
    text-transform: uppercase;
    color: var(--tx-primary-chocolate);
    padding-bottom: 4rem;
}
.coffee-benefits__list {
    width: 100%;
}
.coffee-benefits__item {
    border-left: 4px solid var(--bg-white);
    margin-bottom: 2rem;
    padding-left: 2rem;
}
.coffee-benefits__img {
    width: 50%;
}

.coffee-benefits__item__title {
    font-size: 1.6rem;
    color: var(--tx-white);
}
.coffee-benefits__item__description {
    color: var(--tx-white);
    font-weight: 300;
}
/* location */
.locations-wrapper {
    padding: 8rem 0;
}

.locations__title {
    text-align: center;
    font-size: 1.8rem;
    color: var(--tx-primary-chocolate);
    font-weight: 400;
    text-transform: uppercase;
    margin-bottom: 4rem;
}

.locations__list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

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

.locations-wrapper {
    padding: 8rem 0;
}

.locations__item-icon {
    width: 2.4rem;
    height: 2.4rem;
    object-fit: fill;
}

.locations__item-address {
    font-size: 1.2rem;
}
/* Gallery */

.gallery-wrapper {
    padding-bottom: 5rem;
    background-color: #d9d9d9;
    height: 15rem;
    position: relative;
    margin-top: 10rem;
    display: flex;
    justify-content: center;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(6, 30px);
    gap: 1rem; /* Ajusta el espacio entre imágenes si lo deseas */
    position: absolute;
    margin-top: -10rem;
}

.gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Para ajustar la imagen dentro del área sin distorsión */
}

.gallery-img-1 {
    grid-column: 1/2;
    grid-row: 3/5;
}
.gallery-img-2 {
    grid-column: 2/4;
    grid-row: 1/4;
}
.gallery-img-3 {
    grid-column: 4/5;
    grid-row: 2/4;
}
.gallery-img-4 {
    grid-column: 5/6;
    grid-row: 3/5;
}
.gallery-img-5 {
    grid-column: 2/3;
    grid-row: 4/6;
}
.gallery-img-6 {
    grid-column: 3/5;
    grid-row: 4/7;
}

/* comments */
.comments {
    width: 100%;
    background-color: #f5f5f5;
}

.comments__title {
    padding: 8rem 2rem 8rem 2rem;
    text-align: center;
    font-size: 1.8rem;
    font-weight: 400;
    text-transform: uppercase;
    color: var(--tx-primary-chocolate);
}
.comments__slider-list {
    display: flex;
    flex-direction: column;
    padding: 0rem 2rem 0rem 2rem;
    gap: 3rem;
}

.comments__slider-item {
    background-color: #ffffff;
    padding: 0 4rem 0 4rem;
    padding-bottom: 4rem;
    border-radius: 1.5rem;
    position: relative;
}

.comments__slider-item-image {
    width: 6rem;
    top: -2rem;
    position: relative;
}
.comments__slider-item-content {
    margin-bottom: 3rem;
}

.comments__slider-item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.comments__slider-item-rating {
    display: flex;
}
.comments__slider-item-rating-star {
    width: 2rem;
    height: 2rem;
}

.comments__slider-item-rating-star path {
    fill: #ffca28;
}
/* latest-blogs */
.latest-blogs {
    width: 100%;
    padding: 0 4rem 0 4rem;
    background-color: #f5f5f5;
}
.latest-blogs__title {
    padding: 8rem 0 8rem 0;
    text-align: center;
    font-size: 1.8rem;
    font-weight: 400;
    text-transform: uppercase;
    color: var(--tx-primary-chocolate);
}

.latest-blogs__list {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    gap: 2rem;
}

.latest-blogs__item__title {
    font-weight: 600;
    font-size: 1.4rem;
    margin: 2rem 0;
}
.latest-blogs__item__date {
    font-size: 1.2rem;
    margin: 0 0 3rem 0;
}

@media (min-width: 768px) {
    /* Banner */
    .banner-wrapper {
        height: auto;
    }

    .banner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        height: 74vh;
    }

    .banner__buttons {
        display: flex;
        flex-direction: row;
        gap: 2rem;
    }

    .banner__info {
        margin: 7rem 0 0 0;
        width: 55%;
    }
    .banner__info-title {
        font-size: 4.5rem;
        text-align: start;
        width: 70%;
    }

    .banner__media {
        width: 45%;

        margin: 0;
        padding: 15rem 10rem 10rem 10rem;
    }

    /* Best products */
    .best-products-wrapper {
        padding-top: 0;
    }

    .best-products__title {
        font-size: 1.6rem;
        display: none;
    }

    .best-products__list {
        flex-direction: row;
        gap: 3rem;
    }
    .best-products__item {
        transition: background-color 0.5s ease, transform 0.5s ease,
            filter 0.5s ease;
        background-color: #ffffff; /* Fondo inicial */
        padding: 20px;
        border-radius: 8px;
        cursor: pointer;
        align-self: start;
        padding-bottom: 4rem;
        height: 28rem;
    }

    .best-products__img {
        transition: transform 0.5s ease, filter 0.5s ease;
    }

    .best-products__item:hover {
        background-color: #e1d7cc;
    }

    .best-products__item:hover .best-products__img {
        transform: scale(1.1) translateY(-10px);
        filter: drop-shadow(5px 20px 10px rgba(0, 0, 0, 0.2));
    }

    .best-products__item:hover .best-products__name {
        color: #424241;
        font-weight: 600;
        transition: color 0.5s ease;
    }

    .best-products__item.best-products__item--active {
        background-color: #e1d7cc;
    }

    .best-products__item.best-products__item--active:hover {
        background-color: #e1d7cc;
    }

    .best-products__name--active {
        color: #424241;
        font-weight: 600;
        transition: color 0.5s ease;
    }

    /* categories */
    .categories {
        display: flex;
        flex-direction: row;
        gap: 10rem;
        gap: 2.5rem;
    }
    .categories__list {
        width: 50%;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }
    .categories__info {
        width: 50%;
        display: flex;
        align-items: center;
    }
    .categories__info__title {
        font-size: 2.4rem;
    }

    /* coffie-benefists */
    .coffie-benefits__title {
        font-size: 2.5rem;
    }
    .coffie-benefits {
        flex-direction: row;
        padding: 6rem 0 6rem 2rem;
    }
    .coffee-benefits__list {
        width: 50%;
    }

    /* location */
    .locations__title {
        font-size: 2.4rem;
    }

    .locations__list {
        flex-direction: row;
    }
    .locations__item-icon {
        width: 4rem;
        height: 4rem;
    }

    /* Gallery */
    .gallery-wrapper {
        height: 45rem;
        margin-top: 35rem;
    }
    .gallery {
        grid-template-columns: repeat(5, 1fr);
        grid-template-rows: repeat(6, 105px);
        gap: 2rem; /* Ajusta el espacio entre imágenes si lo deseas */
        margin-top: -35rem;
    }

    .gallery-img-1 {
        grid-column: 1/2;
        grid-row: 3/5;
    }
    .gallery-img-2 {
        grid-column: 2/4;
        grid-row: 1/4;
    }
    .gallery-img-3 {
        grid-column: 4/5;
        grid-row: 2/4;
    }
    .gallery-img-4 {
        grid-column: 5/6;
        grid-row: 3/5;
    }
    .gallery-img-5 {
        grid-column: 2/3;
        grid-row: 4/6;
    }
    .gallery-img-6 {
        grid-column: 3/5;
        grid-row: 4/7;
    }

    /* comments */
    .comments__title {
        font-size: 2.4rem;
    }
    .comments__slider-list {
        flex-direction: row;
        padding: 0rem 5rem 0rem 5rem;
    }
    /* latest-blogs */
    .latest-blogs__title {
        font-size: 2.4rem;
    }
    .latest-blogs__list {
        flex-direction: row;
    }
    /* location */

    .locations__list {
        justify-content: space-around;
    }

    .locations__item-address {
        font-size: 1.6rem;
    }
}

/* cuando esta con zoom 125% */
@media (min-width: 1530px) {
    .banner {
        height: 70vh;
    }
    .banner__buttons {
        display: flex;
        flex-direction: row;
        gap: 2rem;
    }

    .banner__info {
        margin-top: 14rem;
    }
    .banner__info-title {
        font-size: 5.5rem;
        text-align: start;
        width: 100%;
    }

    .banner__media {
        width: 45%;
    }

    /* Best products */
    .best-products-wrapper {
        padding-top: 3rem;
    }

    .best-products__title {
        font-size: 1.6rem;
        display: block;
    }

    .best-products__list {
        flex-direction: row;
        gap: 3rem;
    }
}
