/* JCB Hero Slider Styles */

.jcb-hero-slider-wrapper {
    position: relative;
    width: 100%;
    min-height: 400px;
    overflow: hidden;
}

.jcb-hero-slider {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    position: relative;
}

/* Background Media */
.jcb-hero-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.jcb-hero-slide-bg img,
.jcb-hero-slide-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.jcb-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(74.97deg, rgba(0, 0, 0, 0.55) 0.9%, rgba(0, 0, 0, 0) 96.59%);
    z-index: 2;
}

/* Content Layout */
.jcb-hero-content-container {
    position: relative;
    z-index: 10;
    max-width: 1280px;
    height: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    padding: 0 15px;
}

.jcb-hero-content {
    max-width: 717px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.jcb-hero-title {
    font-family: "Zuume", Sans-serif;
    font-weight: 700;
    font-size: clamp(60px, 10vw, 100px);
    line-height: 90%;
    color: #FFFFFF;
    margin: 0;
    text-transform: uppercase;
}

.jcb-hero-desc {
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 120%;
    color: #FFFFFF;
    margin: 0;
}

/* Button Underline Link */
.jcb-hero-button {
    display: inline-flex !important;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    text-decoration: none !important;
}

.jcb-hero-button-text {
    font-family: "JCB Euro Roman", Sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 120%;
    color: #FFFFFF;
    transition: color 0.3s ease;
    text-transform: uppercase;
}

.jcb-hero-button-underline {
    width: 100%;
    height: 1px;
    background: #FFFFFF;
    border-radius: 100px;
    transition: background-color 0.3s ease;
}

.jcb-hero-button:hover .jcb-hero-button-underline {
    background: #F9B104;
}

/* Pagination Progress Bars */

.jcb-hero-pagination-container {
    position: relative;
    max-width: 1280px;
    padding: 0 15px;
    width: 100%;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    top: -74px;
    z-index: 20;
}

.jcb-hero-pagination {
    display: flex;
    gap: 8px;
    width: 140px;
}

.jcb-hero-pagination-item {
    flex: 1;
    height: 2px;
    background: rgba(217, 217, 217, 0.5);
    position: relative;
    cursor: pointer;
}

.jcb-hero-pagination-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: #F9B104;
}

/* Plyr Customization for Background Video */
.jcb-plyr-video {
    width: 100%;
    height: 100%;
}

.plyr--full-ui.plyr--video .plyr__control--overlaid,
.plyr__controls {
    display: none !important;
}

.plyr--video .plyr__video-wrapper {
    height: 100% !important;
    padding-bottom: 0 !important;
}

.plyr iframe {
    height: 100% !important;
    width: 100% !important;
    transform: scale(1.5); /* Hide black bars and branding */
}
