/* ===================================
   HERO SECTION WITH FULL-SIZE VIDEO - NO OVERLAY
   ================================== */

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    padding-top: 0;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
}

/* Video Container */
.hero-video-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* Hero Video */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 1;
}

/* Remove video overlay - commented out */
/*
.hero-video-overlay {
    display: none;
}
*/

/* Container and Content */
.hero-video-container .container {
    position: relative;
    z-index: 10;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    padding-top: 90px;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 650px;
    background: rgba(255, 255, 255, 0.98);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-xl);
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.3);
    animation: fadeInUp 1.2s ease-out;
    margin-left: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Text Styling */
.hero-title {
    font-family: var(--font-secondary);
    font-weight: var(--font-black);
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
    line-height: 1.1;
    font-size: clamp(2rem, 5vw, 3.5rem);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-family: var(--font-primary);
    font-weight: var(--font-medium);
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    line-height: 1.4;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

/* Video Play Button (Optional) */
.video-play-btn {
    position: absolute;
    top: 50%;
    right: 50px;
    transform: translateY(-50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    font-size: 32px;
    color: var(--primary-color);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.video-play-btn:hover {
    background: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-50%) scale(1.1);
}

.video-play-btn.playing {
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        padding-top: 0;
    }

    .hero-video-container .container {
        padding-top: 70px;
    }

    .hero-content {
        padding: var(--spacing-lg);
        margin: 0 var(--spacing-sm);
        max-width: none;
        background: rgba(255, 255, 255, 0.99);
    }

    .hero-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        text-align: center;
        width: 100%;
    }

    .video-play-btn {
        right: 20px;
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: var(--spacing-md);
        background: rgba(255, 255, 255, 1);
        margin: 0 var(--spacing-xs);
    }

    .hero-title {
        font-size: clamp(1.6rem, 7vw, 2rem);
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .video-play-btn {
        right: 15px;
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

/* Fallback for when video doesn't load */
.hero-video-container.no-video {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
}

.hero-video-container.no-video .hero-content {
    background: rgba(255, 255, 255, 0.95);
}

/* Performance optimizations */
.hero-video {
    will-change: auto;
    backface-visibility: hidden;
}

/* Ensure video is above background but below content */
.hero-video-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    z-index: 0;
}