﻿
.hero-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 0px;
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
    height: 650px !important;
}

.hero-overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background-color: rgb(247 248 245 / 80%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.hero-text {
    font-size: 21px;
    padding: 10px;
}

    .hero-text h1 {
        font-size: 2rem;
        font-weight: bold;
        margin-bottom: 1rem;
    }

    .hero-text p {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .hero-text .btn {
        background-color: #7b3fa0;
        color: white;
        border: none;
    }
.btn-experience {
    background: linear-gradient(135deg, rgb(106, 44, 255), rgb(255, 92, 141));
    color: white;
    /* border: none; */
    padding: 6px 24px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    border: none;
    align-items: center;
}

.hero-text .btn-experience {
    display: block;
    margin: 25px auto 0;
    width: fit-content;
}
.btn-experience {
    border-radius: 999px;
}


@media (max-width: 768px) {
    .hero-overlay {
        position: static;
        width: 100%;
        height: auto;
        padding: 20px;
        background-color: rgba(255, 255, 255, 0.9);
    }
    .hero-image {
        height: 250px !important;
    }

    .hero-text {
        max-width: 100%;
        text-align: center;
    }

        .hero-text h1 {
            font-size: 1.5rem;
        }

        /* Truncate text to 4 lines with ellipsis */
        .hero-text p {
            display: -webkit-box;
            /*-webkit-line-clamp: 4;*/ /* show only 4 lines */
            font-size: 12px;
            -webkit-box-orient: vertical;
            overflow: hidden;
            text-overflow: ellipsis;
        }
}

/* END Bikepacking container */



/* Join us cta-section container */

.cta-section {
    width: 100%;
    padding: 80px 20px;
    /*background: linear-gradient( to right, #ff0000, #ff0070, #00b3ff82, #00ffffdb );*/
    display: flex;
    justify-content: center;
    align-items: center;
}

.cta-container {
    max-width: 1000px;
    text-align: center;
    color: #ffffff;
}

/* Top paragraph */
.cta-top-text {
    font-size: clamp(14px, 2vw, 18px);
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Main heading */
.cta-heading {
    font-size: clamp(20px, 3vw, 30px);
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 40px;
}

/* Button */
.cta-button {
    display: inline-block;
    background-color: #121212;
    color: #ffffff;
    padding: 6px 24px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 1px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

    .cta-button:hover {
        background-color: #222;
        transform: translateY(-2px);
    }
