/* Jumbotron Section */
.jumbotron {
    position: relative;
    width: 100%;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 60px 80px;
}

/* Decorative Top Shape */
.top-shape {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 120px;
    background: linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.1) 100%);
    clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%);
    z-index: 1;
}

/* Jumbotron Container */
.jumbotron-container {
    display: grid;
    grid-template-columns: 45% 55%;
    gap: 60px;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Left Side - Image */
.jumbotron-image {
    position: relative;
    width: 100%;
}

.image-wrapper {
    position: relative;
    width: 100%;
    max-width: 550px;
    aspect-ratio: 4/3;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* Slider Container - Full Background */
.slider-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.slider-container.hidden {
    opacity: 0;
    pointer-events: none;
    display: none !important;
}

/* Slider Slides */
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: #000;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.slide.active {
    opacity: 1;
}

/* Dark Overlay on Background */
.slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 1;
}

/* Video Placeholder */
.video-placeholder {
    width: 100%;
    height: 100%;
    background-image: url('../../assets/plumber-change.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    transition: opacity 0.3s ease;
}

.video-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(65, 105, 179, 0.8) 0%, rgba(53, 88, 160, 0.75) 100%);
    z-index: 1;
}

.video-placeholder.hidden {
    opacity: 0;
    pointer-events: none;
    display: none !important;
}

/* Image Overlay */
.image-overlay {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 2;
    transition: opacity 0.3s ease;
}

.image-overlay.hidden {
    opacity: 0;
    pointer-events: none;
    display: none !important;
}

.overlay-text {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.overlay-text::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #4169b3;
    border-radius: 50%;
}

/* Video Player */
.video-player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.video-player.active {
    display: block !important;
}

/* Play Button */
.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: rgba(65, 105, 179, 0.9);
    border: 4px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    z-index: 3;
}

.play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: rgba(65, 105, 179, 1);
}

.play-button i {
    color: white;
    font-size: 32px;
    margin-left: 8px;
}

/* Right Side - Content */
.jumbotron-content {
    color: white;
    padding-left: 40px;
}

.jumbotron-title {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 30px 0;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.jumbotron-description {
    font-size: 18px;
    line-height: 1.7;
    margin: 0;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 400;
}

/* Navigation Arrows */
.jumbotron-navigation {
    position: absolute;
    bottom: 40px;
    right: 80px;
    display: flex;
    gap: 15px;
    z-index: 10;
}

.nav-arrow {
    width: 60px;
    height: 60px;
    background: white;
    border: none;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.nav-arrow:hover {
    background: #f0f0f0;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.nav-arrow i {
    color: #4169b3;
    font-size: 20px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .jumbotron {
        padding: 50px 40px;
    }

    .jumbotron-container {
        gap: 40px;
    }

    .jumbotron-content {
        padding-left: 20px;
    }

    .jumbotron-title {
        font-size: 48px;
    }

    .jumbotron-description {
        font-size: 17px;
    }

    .jumbotron-navigation {
        right: 40px;
        bottom: 35px;
    }

    .image-wrapper {
        max-width: 480px;
    }
}

/* Tablet Styles */
@media (max-width: 1024px) and (min-width: 769px) {
    .jumbotron {
        padding: 45px 40px;
        min-height: 550px;
    }

    .jumbotron-container {
        grid-template-columns: 48% 52%;
        gap: 35px;
    }

    .jumbotron-content {
        padding-left: 25px;
    }

    .jumbotron-title {
        font-size: 44px;
        margin-bottom: 25px;
    }

    .jumbotron-description {
        font-size: 16px;
        line-height: 1.6;
    }

    .image-wrapper {
        max-width: 440px;
    }

    .play-button {
        width: 85px;
        height: 85px;
    }

    .play-button i {
        font-size: 28px;
    }

    .nav-arrow {
        width: 55px;
        height: 55px;
    }

    .nav-arrow i {
        font-size: 18px;
    }

    .jumbotron-navigation {
        bottom: 35px;
        right: 40px;
        gap: 12px;
    }

    .top-shape {
        height: 100px;
    }
}

@media (max-width: 768px) {
    .jumbotron {
        padding: 40px 25px 60px 25px;
        min-height: 650px;
    }

    .jumbotron-container {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .jumbotron-content {
        padding-left: 0;
        order: 2;
    }

    .jumbotron-image {
        order: 1;
    }

    .jumbotron-title {
        font-size: 36px;
        margin-bottom: 20px;
        line-height: 1.3;
    }

    .jumbotron-title br {
        display: inline;
    }

    .jumbotron-description {
        font-size: 16px;
        line-height: 1.6;
    }

    .jumbotron-description br {
        display: inline;
    }

    .image-wrapper {
        max-width: 100%;
        aspect-ratio: 16/9;
        margin: 0 auto;
    }

    .play-button {
        width: 80px;
        height: 80px;
    }

    .play-button i {
        font-size: 26px;
    }

    .nav-arrow {
        width: 52px;
        height: 52px;
    }

    .nav-arrow i {
        font-size: 17px;
    }

    .jumbotron-navigation {
        bottom: 25px;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        gap: 12px;
    }

    .top-shape {
        display: none;
    }
}

@media (max-width: 480px) {
    .jumbotron {
        padding: 30px 20px 70px 20px;
        min-height: 600px;
    }

    .jumbotron-container {
        gap: 25px;
    }

    .jumbotron-title {
        font-size: 28px;
        margin-bottom: 18px;
        line-height: 1.2;
    }

    .jumbotron-description {
        font-size: 15px;
        line-height: 1.5;
    }

    .image-wrapper {
        aspect-ratio: 16/9;
        max-width: 100%;
    }

    .play-button {
        width: 70px;
        height: 70px;
    }

    .play-button i {
        font-size: 22px;
        margin-left: 5px;
    }

    .nav-arrow {
        width: 48px;
        height: 48px;
    }

    .nav-arrow i {
        font-size: 15px;
    }

    .jumbotron-navigation {
        bottom: 20px;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        gap: 10px;
    }

    .slide {
        background-size: cover;
    }
}
