@font-face {
    font-family: "Primary";
    font-weight: 400;
    src: url("../fonts/Switzer-Regular.woff2");
    font-display: swap;
}

@font-face {
    font-family: "Primary";
    font-weight: 700;
    src: url("../fonts/Switzer-Bold.woff2");
    font-display: swap;
}

@font-face {
    font-family: "Secondary";
    font-weight: 700;
    src: url("../fonts/Tanker-Regular.woff2");
    font-display: swap;
}

:root,
::before,
::after {
    --color-primary: #D44D05;
    --color-black: #4E4E4E;
    --color-primary-light: #FAEBE4;

    --border-radius: .625rem;
    --grid-container-max-width: 95.625rem;
}

body {
    color: var(--color-black);
}

/* UTILITIES */

p {
    line-height: 1.5;
}

.font-bold {
    font-family: "Primary";
    font-weight: 700;
}

.font-title {
    font-family: "Secondary";
    font-weight: 700;
}

.border-radius {
    border-radius: var(--border-radius);
}

.display-block {
    display: block;
}

*[style*='--line-height'] {
    line-height: var(--line-height);
}

.cta {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    border: solid .0625rem transparent;
    transition: var(--transition);
    line-height: 1;
    padding: 1rem 1.5rem;
    border-radius: 2rem;
    font-weight: 700;
}

.cta.cta--transparent {
    border-color: var(--color-white);
    color: var(--color-white);
}

.cta.cta--transparent--primary {
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.cta.cta--transparent svg * {
    fill: var(--color-white);
}

.cta.cta--white {
    background: var(--color-white);
    color: var(--color-black);
    border-color: var(--color-primary);
}

.cta.cta--white svg * {
    fill: var(--color-primary);
}

.cta.cta--primary {
    background: var(--color-primary);
    color: var(--color-white);
}

.cta.cta--primary svg * {
    fill: var(--color-white);
}

.cta svg {
    height: .75rem;
    width: .75rem;
    transition: var(--transition);
}

.call-now {
    position: fixed;
    right: 2rem;
    bottom: 2rem;
    height: 4rem;
    width: 4rem;
    transition: var(--transition);
    border-radius: 50%;
    border: solid .0625rem var(--color-white);
}

/* END UTILITIES */

/* SWIPER */

.swiper-container .swiper-pagination {
    position: static;
    margin-left: 50%;
    margin-top: 2rem;
}

.swiper-container .swiper-pagination .swiper-pagination-bullet {
    background: var(--color-primary);
}

.swiper-container.swiper-container--2 .swiper-slide {
    transition: var(--transition);
    will-change: opacity;
}


.swiper-container.swiper-container--2 .swiper-slide:not(.swiper-slide-visible) {
    opacity: 0;
    pointer-events: none;
}

/* END SWIPER */

/* TOP BAR */

.top-bar {
    position: fixed;
    padding: .5rem 0;
    color: var(--color-white);
}

.top-bar .logo-container,
.top-bar .logo-container svg {
    height: 5rem;
}

.top-bar .menu--classic .menu__items {
    justify-content: center;
    text-transform: uppercase;
    font-weight: 700;
    gap: 3rem;
}

body[data-scroll-y-dir-thresholed="up"] .top-bar {
    background: var(--color-primary);
}

/* END TOP BAR */

/* HERO SECTION */

.hero-section {
    height: 100vh;
    overflow: hidden;
}

.hero-section__slide {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: var(--color-white);
}

.hero-section__slide::before,
.hero-section__slide img {
    position: absolute;
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
}

.hero-section__slide>* {
    position: relative;
    z-index: 3;
}

.hero-section__slide::before {
    content: "";
    z-index: 2;
    background: #000;
    opacity: .75;
}

.hero-section__slide img {
    object-fit: cover;
    object-position: center;
    z-index: 1;
    pointer-events: none;
}

/* END HERO SECTION */

/* SECTION */

.section:nth-child(2n) {
    background: var(--color-primary-light);
}

.section:nth-child(2n).section--testimonials .testimonial {
    background: var(--color-white);
}

.section--testimonials:not(:has(.testimonial)) {
    display: none;
}

.section .suptitle {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Secondary";
    gap: 1rem;
}

.section .suptitle.x-left {
    justify-content: flex-start;
}

.section .section__title {
    font-family: "Secondary";
    font-size: 4rem;
    line-height: 1;
}

.section .suptitle::before,
.section .suptitle::after {
    content: "";
    display: block;
    height: .125rem;
    width: 3rem;
    border-radius: var(--border-radius);
    background: var(--color-primary);
}

.section.hero-secondary {
    padding-top: 15vh;
    color: var(--color-white);
    position: relative;
}

.section.hero-secondary .hero-secondary__background {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    z-index: 1;
    object-fit: cover;
    object-position: center;
}

.section.hero-secondary::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, .75);
    z-index: 2;
}

.section.hero-secondary .grid-container {
    position: relative;
    z-index: 3;
}

.section.hero-secondary.hero-secondary--blog-article {
    height: 80vh;
}

.section.hero-secondary.hero-secondary--blog-article ol {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    list-style-type: none;
}

.section.hero-secondary.hero-secondary--blog-article ol li {
    opacity: .5;
}

.section.hero-secondary.hero-secondary--blog-article ol li+li {
    position: relative;
}

.section.hero-secondary.hero-secondary--blog-article ol li+li::before {
    content: "/";
    position: absolute;
    left: -.65rem;
    top: 0;
}

.section.hero-secondary.hero-secondary--blog-article ol li:nth-child(3) {
    opacity: 1;
}

/* END SECTION */

.menu-entries .menu-entry+.menu-entry {
    border-top: solid .0625rem rgba(0, 0, 0, .1);
    padding-top: 2rem;
}

.section--testimonials .testimonial {
    background: var(--color-primary-light);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
}

.section--testimonials .testimonial__rating {
    display: flex;
    align-items: center;
    justify-content: center;
}

.section--testimonials .testimonial__rating svg {
    height: 1.25rem;
}

.section--contact .contact-method {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.section--contact .contact-method .contact-method__name {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.section--contact .contact-method .contact-method__name::before {
    content: "";
    display: block;
    height: .125rem;
    width: 2rem;
    border-radius: 1rem;
    background: var(--color-primary);
}

.footer {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 10vh 0 2rem 0;
    position: relative;
    overflow: hidden;
}

.footer .logo-container {
    display: block;
}

.footer .logo-container svg {
    height: 100%;
    width: 100%;
}

.footer .cta.cta--white {
    color: var(--color-primary);
    font-family: "Secondary";
    font-size: 2rem;
}

.footer ul {
    list-style-type: none;
    font-family: "Secondary";
    font-size: 1.5rem;
}

.footer .footer__photo {
    position: absolute;
    height: 25rem;
    width: 25rem;
    object-fit: cover;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    opacity: .1;
    pointer-events: none;
}

.footer .footer__photo.footer__photo--2 {
    left: auto;
    right: 0;
    top: 80%;
}

@media (min-width: 1023px) {

    .cta:hover {
        border-radius: 0;
    }

    .cta:hover svg {
        transform: rotate(45deg);
    }

    .top-bar .menu__item[data-active] {
        color: var(--color-primary);
    }

    body[data-scroll-y-dir-thresholed="up"] .top-bar .menu__item[data-active] {
        color: var(--color-white);
    }

    body[data-scroll-y-dir-thresholed="up"] .top-bar .menu__item[data-active] a::after {
        background: var(--color-white);
    }

    .top-bar .menu__item[data-active] a::after {
        transform: none;
        background: var(--color-primary)
    }

    .hover-underline,
    .top-bar .menu__item a,
    .footer ul li a {
        position: relative;
    }

    .hover-underline::after,
    .top-bar .menu__item a::after,
    .footer ul li a::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        height: .0625rem;
        width: 100%;
        transition: var(--transition);
        transform: scaleX(0);
        transform-origin: left;
    }

    .hover-underline.hover-underline--white::after,
    .top-bar .menu__item a::after,
    .footer ul li a::after {
        background: var(--color-white);
    }

    .hover-underline.hover-underline--black::after {
        background: var(--color-black);
    }

    .hover-underline.hover-underline--primary::after {
        background: var(--color-primary);
    }

    .hover-underline:hover::after,
    .top-bar .menu__item a:hover::after,
    .footer ul li a:hover::after {
        transform: none;
    }

    .section {
        padding: 10vh 0;
    }

    .blog-article,
    .blog-article img {
        transition: var(--transition);
    }

    .blog-article:hover {
        color: var(--color-primary);
    }

    .blog-article:hover img {
        transform: scale(1.1);
    }

    .call-now:hover {
        transform: scale(1.1);
    }
}


@media (max-width: 1023px) {

    .top-bar .logo-container,
    .top-bar .logo-container svg {
        height: 3rem;
    }

    .top-bar .menu__items li {
        text-align: center;
    }

    .top-bar .menu__item {
        font-size: 1.25rem;
    }

    .top-bar .menu__item[data-active] {
        text-decoration: underline;
    }

    .section {
        padding: 3rem 0;
    }

    .section .section__title {
        font-size: 2rem;
    }

    .footer .cta.cta--white {
        font-size: 1.25rem;
    }

    .section.hero-secondary.hero-secondary--blog-article ol {
        flex-wrap: wrap
    }

    .call-now {
        height: 3rem;
        width: 3rem;
        right: .9375rem;
        bottom: .9375rem;
    }

    .section--contact .contact-method {
        flex-wrap: wrap;
    }

    .section--contact .contact-method .contact-method__name {
        width: 100%;
        justify-content: center;
        margin-bottom: 1rem;
    }

}