/* Home Page Premium Styles */

/* Hero Section */
.home-hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    /* Removed background-image for video support */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.home-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.5));
    /* Adjusted overlay */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 1rem;
    /* GSAP handles animation now */
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 1.5rem;
    display: block;
    color: #fff;
    /* Ensure visibility */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.1;
    color: #fff !important;
    /* Force override of global h1 color */
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-text {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 3rem;
    color: #fff;
    font-weight: 400;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Scroll Indicator */
.scroll-down {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 2rem;
    z-index: 2;
    animation: bounce 2s infinite;
    opacity: 0.7;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}



/* Features Grid (Reusing service cards but specific wrapper) */
.featured-section {
    padding: var(--spacing-xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .home-hero {
        height: 100vh;
        background-attachment: scroll;
        /* Disable parallax on mobile for performance */
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-text {
        font-size: 1rem;
    }

    .philosophy-heading {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }
}

/* Hero Button Overrides */
/* Using body selector to increase specificity over dark-mode global styles */
body .home-hero .btn {
    padding: 15px 40px;
    font-size: 1.1rem;
}

body .home-hero .btn-primary {
    background: #fff;
    color: #000;
    border: none;
}

body .home-hero .btn-primary:hover {
    background: #f0f0f0;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

body .home-hero .btn-secondary {
    border: 1px solid #fff;
    color: #fff;
    background: transparent;
}

body .home-hero .btn-secondary:hover {
    background: #fff;
    color: #000;
}