/* ----------------------------------------------------
  Homepage specific styles
----------------------------------------------------- */

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* This makes the video fill the container */
}

/* Gradient overlay to ensure text is visible against video */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(18, 18, 18, 0.85) 0%, rgba(18, 18, 18, 0.5) 50%, rgba(18, 18, 18, 0.2) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    padding-top: var(--header-height);
}

.hero-text-box {
    max-width: 650px;
}

.hero-subtitle {
    display: inline-block;
    color: var(--brand-primary);
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: var(--spacing-md);
    position: relative;
    padding-left: 50px;
}

.hero-subtitle::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 35px;
    height: 2px;
    background-color: var(--brand-primary);
}

.hero-title {
    color: var(--surface-primary);
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: var(--spacing-lg);
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.hero-description {
    color: var(--text-on-dark-secondary);
    font-size: 1.25rem;
    margin-bottom: var(--spacing-2xl);
    max-width: 550px;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: var(--spacing-md);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--surface-primary);
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.8;
}

.scroll-indicator i {
    margin-top: 10px;
    font-size: 1.2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-15px);
    }

    60% {
        transform: translateY(-7px);
    }
}

/* About Teaser */
.about-teaser {
    background-color: var(--surface-primary);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-4xl);
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(240, 123, 34, 0.1) 0%, rgba(0, 0, 0, 0) 100%);
    z-index: 1;
    pointer-events: none;
}

.about-main-img {
    width: 100%;
    height: auto;
    scale: 1.02;
    transition: transform var(--transition-slow);
}

.about-image-wrapper:hover .about-main-img {
    transform: scale(1.05);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background-color: var(--surface-primary);
    padding: var(--spacing-xl);
    border-radius: var(--radius-md);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-left: 4px solid var(--brand-primary);
}

.exp-number {
    font-family: var(--font-secondary);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
    color: var(--brand-primary);
}

.exp-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 1px;
    text-transform: uppercase;
    text-align: center;
}

.lead-text {
    font-size: 1.2rem;
    color: var(--brand-secondary);
    font-weight: 500;
    margin-bottom: var(--spacing-lg);
}

.feature-list {
    margin-top: var(--spacing-lg);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 500;
}

.feature-list i {
    color: var(--brand-primary);
    background-color: rgba(240, 123, 34, 0.1);
    padding: 8px;
    border-radius: 50%;
    font-size: 0.8rem;
}

/* Services Teaser */
.services-teaser {
    background-color: var(--surface-secondary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.service-card {
    background-color: var(--surface-primary);
    padding: var(--spacing-2xl) var(--spacing-xl);
    border-radius: var(--radius-md);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    color: inherit;
    display: block;
}

/* Line animation for card hover */
.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 4px;
    background-color: var(--brand-primary);
    transition: width var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.service-card:hover::after {
    width: 100%;
}

.service-icon {
    font-size: 2.5rem;
    color: var(--brand-primary);
    margin-bottom: var(--spacing-lg);
    transition: transform var(--transition-normal);
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-title {
    font-size: 1.3rem;
    margin-bottom: var(--spacing-sm);
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    line-height: 1.5;
}

.service-link {
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--brand-primary);
}

.service-link i {
    transition: transform var(--transition-fast);
}

.service-card:hover .service-link i {
    transform: translateX(5px);
}

/* CTA Section */
.cta-section {
    padding: var(--spacing-4xl) 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    color: var(--surface-primary);
}

.cta-container {
    max-width: 800px;
}

.cta-title {
    font-size: 3rem;
    color: var(--surface-primary);
    margin-bottom: var(--spacing-md);
}

.cta-desc {
    font-size: 1.2rem;
    color: var(--text-on-dark-secondary);
    margin-bottom: var(--spacing-2xl);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
}

/* Responsive Specifics */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-3xl);
    }

    .experience-badge {
        right: 10px;
        bottom: -10px;
        padding: var(--spacing-md);
    }

    .exp-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-actions {
        flex-direction: column;
        gap: var(--spacing-md);
    }

    .hero-actions .btn {
        margin-left: 0 !important;
        width: 100%;
    }

    .feature-list {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}