/* ========================================
                Hero
                [START]
========================================= */

.l-hero {
    width: 100%;
    height: 80vh;
}

.l-hero__img {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 96%;
    height: 100%;
    margin-left: auto;
    margin-right: auto;
    border-radius: var(--border-radius-xl);
    overflow: hidden;
}

.hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.l-hero__overlay {
    position: absolute;
    width: 90%;
}

.hero__title {
    font-size: 3.25rem;
    font-weight: 700;
    color: #fff;
}

.hero__subtitle {
    font-size: 2rem;
    font-weight: 300;
    text-shadow: 1px 1px 3px rgb(0, 0, 0, 20%);
    color: #fff;
}

.l-hero__buttons {
    display: flex;
    flex-direction: row;
    gap: var(--space-xl);
    margin-top: var(--space-xxxl);
}

/* ========================================
                Hero
                [END]
========================================= */


/* ========================================
                Highlights
                [START]
========================================= */

.l-highlights {
    width: 100%;
}

.highlights {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: var(--space-md);
    justify-content: center;
    align-items: center;
    width: 80%;
    margin-top: var(--space-xl);
    margin-bottom: var(--space-xl);
    margin-left: auto;
    margin-right: auto;
}

.highlight {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    column-gap: var(--space-sm);
    font-size: 1.125rem;
    opacity: 0;
    animation: fade-in-top 1.5s forwards ease;
    animation-delay: calc((.4s) * (var(--highlight-index) - 1));
}

.highlight svg {
    fill: var(--color-primary);
}

.highlight:nth-child(1) {
    --highlight-index: 1;
}

.highlight:nth-child(2) {
    --highlight-index: 2;
}

.highlight:nth-child(3) {
    --highlight-index: 3;
}

.highlight:nth-child(4) {
    --highlight-index: 4;
}

.highlight:nth-child(5) {
    --highlight-index: 5;
}

/* ========================================
                Highlights
                [END]
========================================= */


/* ========================================
                About
                [START]
========================================= */

.l-about {
    width: 100%;
}

.about {
    display: flex;
    flex-direction: column;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.about:hover .about__img {
    transform: translateX(100px);
}

.about:hover .about__detail {
    transform: translateX(-100px);
}

.about__title {
    display: block;
    width: fit-content;
    margin-left: 5%;
    margin-bottom: var(--space-xl);
    font-size: 2.5rem;
    color: var(--color-on-background);
}

.about__img {
    width: 100%;
    object-fit: cover;
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    opacity: 0;
}

.about__img.animated-item.visible {
    animation: fade-in-left 2.5s forwards;
}

.about__detail {
    display: flex;
    flex-direction: column;
    justify-content: center;
    row-gap: var(--space-md);
    width: 90%;
    height: fit-content;
    margin-top: -15%;
    margin-left: auto;
    margin-right: auto;
    padding: 24px;
    font-size: 1rem;
    z-index: 9;
    border-radius: var(--border-radius-xl);
    box-shadow: 1px 1px 8px 2px rgb(0, 0, 0, 15%);
    background-color: #fff;
    opacity: 0;
}

.about__detail__title {
    font-size: 1.25rem;
    font-weight: 700;
}

.about__detail.animated-item.visible {
    animation: fade-in-right 2s forwards;
    animation-delay: .6s;
}

/* ========================================
                About
                [END]
========================================= */


/* ========================================
                Featured offers
                [START]
========================================= */

.l-featured-offers {
    width: 100%;
    overflow-x: hidden;
}

.featured-offers__title {
    display: block;
    width: fit-content;
    margin-left: 20px;
    font-size: 2.5rem;
    color: var(--color-on-background);
}

.featured-offers__title.underline::after {
    width: 50%;
    height: 6px;
    margin-top: -10px;
}

.featured-offers {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: var(--space-xl);
    width: 95%;
    height: 100%;
    margin-top: var(--space-xl);
    margin-bottom: var(--space-xl);
    margin-left: auto;
    margin-right: auto;
}

.l-featured-offers .featured-offers .slick-list {
    padding: 0 !important;
    margin-left: calc(var(--slider-gap-size) * -1) !important; /* Add gaps between the slides */
    margin-right: calc(var(--slider-gap-size) * -1) !important; /* Add gaps between the slides */
}

.presentation-slider__item {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    border-radius: var(--border-radius-lg);
    text-decoration: none;
    overflow: hidden;
    background-color: var(--color-surface);
}

.presentation-slider__item:hover .presentation-slider__img {
    filter: brightness(50%);
}

.presentation-slider__img {
    width: 100%;
    object-fit: cover;
    filter: brightness(60%);
}

.presentation-slider__title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: block;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    font-size: 2rem;
    text-align: center;
    color: #fff;
}

/* ========================================
                Featured offers
                [END]
========================================= */