/* Video Hero Slider Styles */

.vhs-container {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 500px;
    overflow: hidden;
}

/* Video Background */
.vhs-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.vhs-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.vhs-youtube {
    width: 100vw;
    height: 56.25vw; /* 16:9 Aspect Ratio */
    min-height: 100vh;
    min-width: 177.77vh; /* 16:9 Aspect Ratio */
    pointer-events: none;
}

.vhs-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

/* Slides */
.vhs-slides {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 3;
}

.vhs-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    pointer-events: none;
}

.vhs-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.vhs-content {
    text-align: center;
    color: #ffffff;
    max-width: 900px;
    padding: 0 20px;
}

.vhs-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 30px 0;
    color: #ffffff;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.vhs-button {
    display: inline-block;
    padding: 16px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    background-color: #a8e891;
    border: 2px solid #a8e891;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.vhs-button:hover {
    background-color: #8fd675;
    border-color: #8fd675;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Navigation Dots */
.vhs-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 4;
}

.vhs-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    background-color: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.vhs-dot:hover {
    background-color: rgba(255, 255, 255, 0.5);
}

.vhs-dot.active {
    background-color: #ffffff;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .vhs-title {
        font-size: 2.5rem;
    }
    
    .vhs-button {
        padding: 14px 32px;
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .vhs-container {
        min-height: 400px;
        height: 70vh;
    }
    
    .vhs-title {
        font-size: 2rem;
        margin-bottom: 20px;
    }
    
    .vhs-button {
        padding: 12px 28px;
        font-size: 0.95rem;
    }
    
    .vhs-dots {
        bottom: 30px;
    }
}

@media (max-width: 480px) {
    .vhs-title {
        font-size: 1.5rem;
    }
    
    .vhs-button {
        padding: 10px 24px;
        font-size: 0.9rem;
    }
    
    .vhs-dots {
        bottom: 20px;
    }
    
    .vhs-dot {
        width: 10px;
        height: 10px;
        gap: 10px;
    }
}

/* Accessibility */
.vhs-dot:focus {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .vhs-slide {
        transition: none;
    }
    
    .vhs-button {
        transition: none;
    }
}
