/* ==================================================
   Homepage Banner
================================================== */

.homepage-banner {
    min-height: 500px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;

    color: var(--white);
}

/* ==================================================
   Homepage Banner — Background Styles
================================================== */

.homepage-banner--dark {
    background: var(--dark-gray);
    color: var(--white);
}

.homepage-banner--orange {
    background: var(--main-color);
    color: var(--white);
}

.homepage-banner--light {
    background: var(--ligth-gray);
    color: var(--black);
}

.homepage-banner--dark-gradient {
    background: linear-gradient(
        135deg,
        var(--black),
        var(--dark-gray)
    );

    color: var(--white);
}

.homepage-banner--orange-gradient {
    background: linear-gradient(
        135deg,
        var(--main-color),
        var(--ligth-main-color)
    );

    color: var(--white);
}

/**/

.homepage-banner__content {
    width: 50%;
    max-width: 700px;
    box-sizing: border-box;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;

    padding: 60px;

    text-align: left;

    opacity: 0;
    transform: translateX(50px);

    background-color: var(--trans-2);

    animation: bannerContentIn 0.8s ease-out 0.05s forwards;  
}

.homepage-banner h1 {
    font-size: 48px;
    line-height: 1.2;
    font-weight: bold;
}

.homepage-banner p {
    margin-bottom: 30px;
    font-size: 20px;
}

.homepage-banner__button {
    display: inline-block;

    padding: 10px 20px;

    background: var(--main-color);
    border-radius: 10px;

    color: var(--white);

    transition: 0.5s;
}

.homepage-banner__button:hover {
    background: var(--main-color);
    color: var(--white);

    transform: scale(1.1);
}



.homepage-banner__image {
    width: 50%;
    overflow: hidden;

    border-radius: 7px;

    opacity: 0;
    transform: translateX(-50px);

    animation: bannerImageIn 0.8s ease-out 0.15s forwards;
}

.homepage-banner--image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    color: var(--white);
}

.homepage-banner__image img {
    display: block;

    width: auto;
    max-width: calc(100% - 80px);
    height: 360px;

    margin: 40px;

    object-fit: contain;

    border-radius: 7px;

    transition: 0.5s;
}

.homepage-banner__image img:hover {
    transform: scale(1.2);
}

/* Banner without main image */

.homepage-banner--no-image {
    justify-content: flex-end;
}

.homepage-banner--no-image .homepage-banner__content {
    width: 50%;
}


/* ==================================================
   Homepage Banner — Entrance Animation
================================================== */

@keyframes bannerImageIn {

    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bannerContentIn {

    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}


/* ==================================================
   Homepage Banner — Responsive
================================================== */

@media (max-width: 768px) {

    .homepage-banner {
        flex-direction: column;
    }

    .homepage-banner--image {
        min-height: 0;
        height: auto;
    }

    .homepage-banner__content {
        width: 100%;
        padding: 50px 25px;
    }

    .homepage-banner__image {
        display: none;
    }
}


/* =========================================================
   Our Services
   ========================================================= */
    
    .services_slide {
        max-width: 1200px;
        margin: 0 auto;
        padding: 60px 40px;
        text-align: center;
    }

    .services_slide h3{
        font-weight: 300;
        font-size: 1.5rem;
    }

    .services_slide .slide {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
        margin-top: 40px;
        align-items: stretch;
    }

    /* CARD */
    .services_slide .card {
        min-width: 0;
        display: flex;
        flex-direction: column;
        align-items: center;

        padding: 30px 20px 24px;

        background: var(--white);
        border: 1px solid var(--ligth-gray);
        border-radius: 14px;

        text-align: center;

        transition:
            transform 0.25s ease,
            box-shadow 0.25s ease,
            border-color 0.25s ease;
    }

    .services_slide .card:hover {
        transform: translateY(-5px);
        border-color: var(--ligth-main-color);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    }

    /* ICON */
    .services_slide .card img {
        width: 105px;
        height: 105px;
        object-fit: contain;
        margin-bottom: 22px;
    }

    /* TITLE */
    .services_slide .card h3 {
        margin: 0 0 12px;

        font-size: 1.25rem;
        line-height: 1.25;
        font-weight: 500;

        white-space: normal;
    }

    /* DESCRIPTION */
    .services_slide .card p {
        margin: 0 0 25px;

        font-size: 1rem;
        line-height: 1.6;
        font-weight: 300;

        color: var(--gray);
    }

    /* BUTTON */
    .services_slide .card .featured-products__shop-button {
        width: 100%;
        max-width: 220px;
        box-sizing: border-box;

        margin-top: auto;
        padding: 12px 15px;

        font-size: 0.95rem;
        white-space: nowrap;
    }

    /* =========================================================
   Our Services - Responsive
   ========================================================= */

    /* Tablet */
    @media (max-width: 900px) {

        .services_slide .slide {
            grid-template-columns: repeat(2, 1fr);
        }

    }


    /* Mobile */
    @media (max-width: 600px) {

        .services_slide {
            padding: 40px 20px;
        }

        .services_slide .slide {
            grid-template-columns: repeat(2, 1fr);
            gap: 14px;
            margin-top: 30px;
        }

        .services_slide .card {
            padding: 20px 10px;
        }

        .services_slide .card img {
            width: 70px;
            height: 70px;
            margin-bottom: 12px;
        }

        .services_slide .card h3 {
            margin: 0;
            font-size: 1rem;
        }

        .services_slide .card p,
        .services_slide .card .featured-products__shop-button {
            display: none;
        }

        .services_slide .card[data-url] {
            cursor: pointer;
        }

    }

    
/* =========================================
   FEATURED PRODUCTS
========================================= */

.featured-products {
    max-width: 1200px;
    margin: 0 auto;
    padding: 70px 40px;
}


/* HEADER */

.featured__header {
    text-align: center;
    margin-bottom: 40px;
}

.featured__header h2 {
    margin: 0 0 10px;
    font-size: 2rem;
    font-weight: 500;
    line-height: 1.2;
}

.featured__header p {
    margin: 0;
    font-size: 1rem;
    font-weight: 300;
    color: var(--gray);
}


/* =========================================
   PRODUCT GRID
========================================= */

.featured-products__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}


/* =========================================
   PRODUCT CARD
========================================= */

.featured-product {
    min-width: 0;

    display: flex;
    flex-direction: column;

    padding: 12px;

    background: var(--white);
    border: 1px solid var(--ligth-gray);
    border-radius: 14px;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.featured-product:hover {
    transform: translateY(-5px);
    border-color: var(--ligth-main-color);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}


/* =========================================
   PRODUCT IMAGE
========================================= */

.featured-product__image {
    display: block;
    position: relative;

    aspect-ratio: 1 / 1;

    overflow: hidden;

    background: var(--ligth-gray);
    border-radius: 10px;
}

.featured-product__image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.35s ease;
}

.featured-product__image:hover img {
    transform: scale(1.04);
}


/* =========================================
   PRODUCT INFORMATION
========================================= */

.featured-product__info {
    flex: 1;

    display: flex;
    flex-direction: column;

    padding: 18px 4px 4px;
}


/* PRODUCT TITLE */

.featured-product__info h3 {
    margin: 0 0 10px;

    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.35;

    overflow: hidden;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;

    min-height: 2.7em;
}

.featured-product__info h3 a {
    color: var(--black);
    text-decoration: none;
}

.featured-product__info h3 a:hover {
    color: var(--main-color);
}


/* =========================================
   PRICE
========================================= */

.featured-product__price {
    margin-bottom: 18px;

    font-size: 1rem;
    font-weight: 600;

    color: var(--black);
}

.featured-product__price del {
    margin-right: 6px;

    font-weight: 300;
    color: var(--gray);

    opacity: 0.7;
}

.featured-product__price ins {
    text-decoration: none;
}


/* =========================================
   VIEW PRODUCT BUTTON
========================================= */

.featured-product__button {
    display: flex;
    align-items: center;
    justify-content: center;

    margin-top: auto;

    width: 100%;
    box-sizing: border-box;

    padding: 11px 15px;

    background: var(--main-color);
    border-radius: 6px;

    color: var(--white);

    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;

    transition:
        background-color 0.25s ease,
        transform 0.25s ease;
}

.featured-product__button:hover {
    background: var(--dark-gray);
    color: var(--white);

    transform: translateY(-1px);
}


/* =========================================
   VIEW ALL PRODUCTS
========================================= */

.featured-products__footer {
    margin-top: 40px;
    text-align: center;
}

.featured-products__shop-button {
    display: inline-block;

    padding: 12px 28px;

    border: 1px solid var(--black);
    border-radius: 6px;

    color: var(--black);

    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;

    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}

.featured-products__shop-button:hover {
    background: var(--main-color);
    border-color: var(--main-color);
    color: var(--white);

    transform: translateY(-2px);
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 900px) {

    .featured-products__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

}


@media (max-width: 500px) {

    .featured-products {
        padding: 50px 20px;
    }

    .featured__header h2 {
        font-size: 1.7rem;
    }

    .featured-products__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .featured-product {
        padding: 8px;
        border-radius: 10px;
    }

    .featured-product__info {
        padding: 12px 2px 2px;
    }

    .featured-product__info h3 {
        font-size: 0.9rem;
    }

    .featured-product__price {
        font-size: 0.9rem;
    }

    .featured-product__button {
        padding: 9px 8px;
        font-size: 0.8rem;
    }
}

/* =========================================
   Promotional Banner
========================================= */

.promotional-banner {
    max-width: 1200px;
    min-height: 280px;
    margin: 30px auto 80px;
    display: flex;
    align-items: stretch;
    overflow: hidden;
    background: var(--ligth-gray);
    border-radius: 10px;
}


/* Content */

.promotional-banner__content {
    width: 55%;
    padding: 45px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}


.promotional-banner__content h2 {
    margin: 0 0 10px;
    font-size: 30px;
    line-height: 1.2;
    text-align: left;
}


.promotional-banner__description {
    margin: 0 0 15px;
    font-size: 16px;
    line-height: 1.5;
}


.promotional-banner__offer {
    margin-bottom: 20px;
    font-size: 22px;
    font-weight: 700;
}


/* Button */

.promotional-banner__button {
    display: inline-block;
    padding: 12px 26px;
    border: 1px solid currentColor;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
}


.promotional-banner__button:hover {
    transform: translateY(-2px);
    opacity: 0.8;
}


/* Image */

.promotional-banner__image {
    width: 45%;
    overflow: hidden;
}


.promotional-banner__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* =========================================
   Promotional Banner - Responsive
========================================= */

@media (max-width: 700px) {

    .promotional-banner {
        flex-direction: column;
        min-height: 0;
        margin: 20px;
    }

    .promotional-banner__content {
        width: 100%;
        box-sizing: border-box;
        padding: 30px 25px 20px;
    }

    .promotional-banner__description,
    .promotional-banner__offer {
        display: none;
    }

    .promotional-banner__image {
        width: 100%;
        min-height: 0;
    }

    .promotional-banner__image img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }
}

/* =========================================
   Client Logos
========================================= */

.client-logos {
    width: 80%;
    padding: 2% 10%;
    overflow: hidden;
}


.client-logos__header {
    text-align: center;
    margin-bottom: 40px;
}


.client-logos__header h2 {
    margin: 0;
    font-size: 28px;
    font-weight: 600;
}


/* Carousel */

.client-logos__carousel {
    width: 100%;
    overflow: hidden;
}


/* Moving track */

.client-logos__track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: clientLogosScroll 30s linear infinite;
}


/* Individual logo */

.client-logo {
    width: auto;
    height: 90px;
    margin: 0 30px;
    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;
}


.client-logo img {
    display: block;
    max-width: 150px;
    max-height: 65px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.65;
    transition:
        filter 0.3s ease,
        opacity 0.3s ease;
}


/* Hover */

.client-logo:hover img {
    filter: grayscale(0);
    opacity: 1;
}


/* Animation */

@keyframes clientLogosScroll {

    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }

}


/* Pause when mouse is over carousel */

.client-logos__carousel:hover
.client-logos__track {
    animation-play-state: paused;
}


/* =========================================
   Client Logos - Mobile
========================================= */

@media (max-width: 600px) {

    .client-logos {
        width: 100%;
        padding: 50px 0;
    }


    .client-logos__header {
        margin-bottom: 25px;
    }


    .client-logos__header h2 {
        font-size: 24px;
    }


    .client-logo {
        width: 140px;
        height: 70px;

        margin: 0 15px;
    }


    .client-logo img {
        max-width: 115px;
        max-height: 50px;
    }

}



/* =========================================
   Homepage Bottom Section
========================================= */

.homepage-bottom {
    width: 100%;
    box-sizing: border-box;

    padding: 80px 0;

    border-top: 1px solid rgba(0, 0, 0, 0.08);
    background: var(--dark-gray);
    color: var(--white);
}

.homepage-bottom a {
    color: var(--white);
}

.homepage-bottom a:hover {
    color: var(--main-color);
}


.homepage-bottom__columns {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr 1.2fr;
    gap: 50px;
    width: 90%;
    margin: 0 auto;
}


/* =========================================
   Column
========================================= */

.homepage-bottom__column h2 {
    margin: 0 0 25px;
    font-size: 22px;
    font-weight: 600;
    text-align: left;
}


.homepage-bottom__column h3 {
    margin: 18px 0 10px;

    font-size: 15px;
    font-weight: 600;
}


/* =========================================
   Video
========================================= */

.homepage-video {
    position: relative;

    display: block;

    width: 100%;

    overflow: hidden;
}


.homepage-video img {
    display: block;

    width: 100%;
    height: auto;

    transition:
        transform 0.3s ease;
}


.homepage-video:hover img {
    transform: scale(1.03);
}


/* Play button */

.homepage-video__play {
    position: absolute;

    top: 50%;
    left: 50%;

    width: 60px;
    height: 60px;

    transform:
        translate(-50%, -50%);

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(0,0,0,0.75);

    color: #fff;
}


.homepage-video__play .dashicons {
    font-size: 28px;
    width: 28px;
    height: 28px;
}


.homepage-video__link {
    display: inline-block;

    margin-top: 8px;

    font-size: 14px;
    font-weight: 600;

    text-decoration: none;
}


/* =========================================
   Quick Links
========================================= */

.homepage-links-list {
    margin: 0;
    padding: 0;

    display: flex;
    flex-direction: column;
    gap: 8px;

    list-style: none;
}

.homepage-links-list li {
    margin: 0;
    padding: 0;
}

.homepage-links-list a {
    display: inline-block;

    color: var(--white);

    font-size: 14px;
    font-weight: 300;
    line-height: 1.4;
    text-decoration: none;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.homepage-links-list a:hover {
    color: var(--main-color);
    transform: translateX(3px);
}


/* Information */

.homepage-bottom__links > h3 {
    margin: 25px 0 12px;

    color: var(--white);

    font-size: 15px;
    font-weight: 600;
}

.homepage-information-links {
    margin: 0;
    padding: 0;
}

/* =========================================
   Contact
========================================= */

.homepage-bottom__contact {
    padding: 0;
    background: transparent;
}

.homepage-bottom__contact h2 {
    margin: 0 0 25px;
    color: var(--white);
    text-align: left;
    font-size: 22px;
    font-weight: 600;
}


/
/* =========================================
   Social Icons
========================================= */

.homepage-social {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
}


.homepage-social a {
    width: 38px;
    height: 38px;
    border-radius: 50px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;

    flex: 0 0 38px;

    border: 1px solid currentColor;
    text-decoration: none;

    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}


.homepage-social a:hover {
    transform: translateY(-2px);
    opacity: 0.7;
}


.homepage-social svg {
    display: block;

    width: 18px;
    height: 18px;

    flex: 0 0 18px;
}

.homepage-social svg polygon {
    fill: #fff;
}

/* =========================================
   Responsive
========================================= */

@media (max-width: 900px) {

    .homepage-bottom__columns {
        grid-template-columns: 1fr 1fr;

        gap: 45px;
    }


    .homepage-bottom__contact {
        grid-column: span 2;
    }

}


@media (max-width: 600px) {

    .homepage-bottom {
        padding: 60px 20px;
    }


    .homepage-bottom__columns {
        grid-template-columns: 1fr;

        gap: 45px;
    }


    .homepage-bottom__contact {
        grid-column: auto;
    }
    .homepage-contact-form__grid {
    grid-template-columns: 1fr;
}

}

.homepage-contact-form__honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Contact Form Notices */

.homepage-contact-form__notice {
    margin-bottom: 16px;
    padding: 11px 13px;

    border-radius: 5px;

    font-size: 13px;
    line-height: 1.5;
}

.homepage-contact-form__notice--success {
    border: 1px solid #4caf50;
    background: rgba(76, 175, 80, 0.12);
    color: var(--white);
}

.homepage-contact-form__notice--error {
    border: 1px solid #e05252;
    background: rgba(224, 82, 82, 0.12);
    color: var(--white);
}