/* ═══════════════════════════════════════════════════════════════
   VUVITA HERO BANNER - SPLIT LAYOUT
   ═══════════════════════════════════════════════════════════════ */

#vuvita-hero {
    position: relative;
    width: 100%;
    min-height: 80vh;
    background: var(--vuvita-dark);
    overflow: hidden;
}

/* ═══════════════════════════════════════════════════════════════
   HERO SLIDER
   ═══════════════════════════════════════════════════════════════ */

.vuvita-hero__slider {
    position: relative;
    width: 100%;
    min-height: 80vh;
}

.vuvita-hero__slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease, visibility 1s ease;
}

.vuvita-hero__slide.vuvita-hero__slide--active {
    opacity: 1;
    visibility: visible;
}

/* Split Layout Container */
.vuvita-hero__slide-inner {
    display: flex;
    width: 100%;
    height: 100%;
    min-height: 80vh;
}

/* Left Side - Content */
.vuvita-hero__slide-left {
    flex: 0 0 50%;
    max-width: 50%;
    display: flex;
    align-items: center;
    background: var(--vuvita-dark);
    position: relative;
    z-index: 2;
}

/* Right Side - Media (Video/Image) */
.vuvita-hero__slide-right {
    flex: 0 0 50%;
    max-width: 50%;
    position: relative;
    overflow: hidden;
}

/* Video Wrapper */
.vuvita-hero__video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.vuvita-hero__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vuvita-hero__video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
            rgba(18, 18, 18, 0.5) 0%,
            rgba(18, 18, 18, 0.35) 50%,
            rgba(18, 18, 18, 0.2) 100%);
    z-index: 2;
}

/* Slide Content - Left side */
.vuvita-hero__slide-content {
    position: relative;
    z-index: 10;
    width: 100%;
    display: flex;
    align-items: center;
    padding: 60px 60px 60px 80px;
}

.vuvita-hero__content-inner {
    max-width: 700px;
}

/* Pre-title */
.vuvita-hero__pretitle {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    opacity: 0;
    transform: translateY(30px);
    animation: vuvitaFadeInUp 0.8s ease forwards;
    animation-delay: 0.3s;
}

.vuvita-hero__pretitle-line {
    width: 40px;
    height: 2px;
    background: var(--vuvita-gold);
}

.vuvita-hero__pretitle-text {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--vuvita-gold);
}

/* Main Title */
.vuvita-hero__title {
    font-family: var(--vuvita-font-display);
    font-size: clamp(42px, 6vw, 72px);
    font-weight: 600;
    color: var(--vuvita-white);
    line-height: 1.1;
    margin-bottom: 24px;
    opacity: 0;
    transform: translateY(30px);
    animation: vuvitaFadeInUp 0.8s ease forwards;
    animation-delay: 0.5s;
}

.vuvita-hero__title-highlight {
    color: var(--vuvita-gold);
    position: relative;
    display: inline-block;
}

.vuvita-hero__title-highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--vuvita-gold), transparent);
}

/* Subtitle */
.vuvita-hero__subtitle {
    font-size: 16px;
    font-weight: 400;
    color: var(--vuvita-gray-light);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 550px;
    opacity: 0;
    transform: translateY(30px);
    animation: vuvitaFadeInUp 0.8s ease forwards;
    animation-delay: 0.7s;
}

/* CTA Buttons */
.vuvita-hero__cta-group {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(30px);
    animation: vuvitaFadeInUp 0.8s ease forwards;
    animation-delay: 0.9s;
}

.vuvita-hero__cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;
    background: var(--vuvita-gold);
    color: var(--vuvita-black);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: var(--vuvita-transition-smooth);
    position: relative;
    overflow: hidden;
}

.vuvita-hero__cta-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: 0.5s;
}

.vuvita-hero__cta-primary:hover::before {
    left: 100%;
}

.vuvita-hero__cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(201, 169, 98, 0.4);
}

.vuvita-hero__cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--vuvita-white);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: var(--vuvita-transition-smooth);
}

.vuvita-hero__cta-secondary:hover {
    border-color: var(--vuvita-gold);
    color: var(--vuvita-gold);
    transform: translateY(-3px);
}

/* Video Play Button */
.vuvita-hero__video-btn {
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    opacity: 0;
    transform: translateY(30px);
    animation: vuvitaFadeInUp 0.8s ease forwards;
    animation-delay: 1.1s;
    margin-top: 40px;
}

.vuvita-hero__video-btn-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(201, 169, 98, 0.15);
    border: 2px solid var(--vuvita-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: var(--vuvita-transition-smooth);
}

.vuvita-hero__video-btn-circle::before {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 1px solid rgba(201, 169, 98, 0.3);
    animation: vuvitaPulse 2s ease infinite;
}

.vuvita-hero__video-btn-circle i {
    color: var(--vuvita-gold);
    font-size: 22px;
    margin-left: 4px;
}

.vuvita-hero__video-btn:hover .vuvita-hero__video-btn-circle {
    background: var(--vuvita-gold);
    transform: scale(1.1);
}

.vuvita-hero__video-btn:hover .vuvita-hero__video-btn-circle i {
    color: var(--vuvita-black);
}

.vuvita-hero__video-btn-text {
    color: var(--vuvita-white);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
}

.vuvita-hero__video-btn-text span {
    display: block;
    font-size: 12px;
    color: var(--vuvita-gray);
    font-weight: 400;
    margin-top: 4px;
}

/* ═══════════════════════════════════════════════════════════════
   SLIDER NAVIGATION
   ═══════════════════════════════════════════════════════════════ */

.vuvita-hero__nav {
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.vuvita-hero__nav-dot {
    width: 12px;
    height: 12px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--vuvita-transition-fast);
    position: relative;
}

.vuvita-hero__nav-dot::before {
    content: '';
    position: absolute;
    inset: 2px;
    background: var(--vuvita-gold);
    border-radius: 50%;
    transform: scale(0);
    transition: var(--vuvita-transition-fast);
}

.vuvita-hero__nav-dot:hover,
.vuvita-hero__nav-dot.vuvita-hero__nav-dot--active {
    border-color: var(--vuvita-gold);
}

.vuvita-hero__nav-dot.vuvita-hero__nav-dot--active::before {
    transform: scale(1);
}

/* Slider Arrows */
.vuvita-hero__arrows {
    position: absolute;
    bottom: 60px;
    right: 60px;
    z-index: 20;
    display: flex;
    gap: 12px;
}

.vuvita-hero__arrow {
    width: 56px;
    height: 56px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.3);
    color: var(--vuvita-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--vuvita-transition-fast);
    backdrop-filter: blur(10px);
}

.vuvita-hero__arrow:hover {
    background: var(--vuvita-gold);
    border-color: var(--vuvita-gold);
    color: var(--vuvita-black);
}

.vuvita-hero__arrow i {
    font-size: 18px;
}

/* Decorative Elements */
.vuvita-hero__decoration {
    position: absolute;
    z-index: 5;
    pointer-events: none;
}

.vuvita-hero__decoration--lines {
    top: 20%;
    left: 50px;
    width: 1px;
    height: 150px;
    background: linear-gradient(to bottom, transparent, var(--vuvita-gold), transparent);
    opacity: 0.3;
}

.vuvita-hero__decoration--corner {
    bottom: 200px;
    left: 40px;
    width: 80px;
    height: 80px;
    border-left: 1px solid rgba(201, 169, 98, 0.2);
    border-bottom: 1px solid rgba(201, 169, 98, 0.2);
}

/* ═══════════════════════════════════════════════════════════════
   VIDEO MODAL
   ═══════════════════════════════════════════════════════════════ */

#vuvita-video-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--vuvita-transition-smooth);
}

#vuvita-video-modal.vuvita-video-modal--active {
    opacity: 1;
    visibility: visible;
}

.vuvita-video-modal__content {
    position: relative;
    width: 90%;
    max-width: 1000px;
    aspect-ratio: 16/9;
    transform: scale(0.9);
    transition: var(--vuvita-transition-smooth);
}

#vuvita-video-modal.vuvita-video-modal--active .vuvita-video-modal__content {
    transform: scale(1);
}

.vuvita-video-modal__close {
    position: absolute;
    top: -50px;
    right: 0;
    width: 44px;
    height: 44px;
    background: transparent;
    border: 1px solid var(--vuvita-gold);
    color: var(--vuvita-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--vuvita-transition-fast);
}

.vuvita-video-modal__close:hover {
    background: var(--vuvita-gold);
    color: var(--vuvita-black);
}

.vuvita-video-modal__iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ═══════════════════════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════════════════════ */

@keyframes vuvitaFadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes vuvitaPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.5;
    }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 1200px) {
    .vuvita-hero__slide-content {
        padding: 40px;
    }
}

@media (max-width: 992px) {

    #vuvita-hero,
    .vuvita-hero__slider {
        min-height: 70vh;
        height: 70vh;
    }

    /* Reset to absolute positioning for overlay effect */
    .vuvita-hero__slide {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: flex;
        opacity: 0;
        visibility: hidden;
    }

    .vuvita-hero__slide.vuvita-hero__slide--active {
        opacity: 1;
        visibility: visible;
    }

    .vuvita-hero__slide-inner {
        flex-direction: column;
        height: 100%;
    }

    /* Left Side (Text) - Overlay on top */
    .vuvita-hero__slide-left {
        position: absolute;
        inset: 0;
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        height: 100%;
        padding: 20px;
        background: rgba(0, 0, 0, 0.4);
        /* Semi-transparent overlay for readability */
        z-index: 2;
        display: flex;
        align-items: center;
        justify-content: center;
        order: unset;
    }

    /* Right Side (Video) - Background */
    .vuvita-hero__slide-right {
        position: absolute;
        inset: 0;
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        height: 100%;
        z-index: 1;
        overflow: hidden;
        order: unset;
    }

    .vuvita-hero__video-wrapper,
    .vuvita-hero__video {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .vuvita-hero__slide-content {
        padding: 0;
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .vuvita-hero__content-inner {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* Center align elements on mobile */
    .vuvita-hero__pretitle,
    .vuvita-hero__title-highlight::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .vuvita-hero__title-highlight::after {
        transform: none;
        left: 0;
    }

    .vuvita-hero__cta-group {
        justify-content: center;
    }

    .vuvita-hero__nav {
        display: none;
    }

    /* Arrows on the bottom of the overlay */
    .vuvita-hero__arrows {
        position: absolute;
        top: auto;
        bottom: 40px;
        right: 0;
        left: 0;
        width: 100%;
        justify-content: space-between;
        padding: 0 20px;
        z-index: 3;
        pointer-events: none;
    }

    .vuvita-hero__arrow {
        pointer-events: auto;
        width: 44px;
        height: 44px;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(5px);
        border-color: rgba(255, 255, 255, 0.2);
    }
}


@media (max-width: 768px) {
    .vuvita-hero__title {
        font-size: 32px;
    }

    .vuvita-hero__subtitle {
        font-size: 14px;
        margin-bottom: 24px;
    }

    .vuvita-hero__cta-primary,
    .vuvita-hero__cta-secondary {
        padding: 12px 24px;
        width: 100%;
        /* Full width buttons on small screens */
        justify-content: center;
    }
}