/* Updated Services Page CSS - Light Theme for Drone/FPV Focus */

/* Hero Section to Match Home */
.services-page .hero {
    position: relative;
    height: 100vh;
    color: var(--white);
    overflow: hidden;
}

.services-page .hero video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.services-page .hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    z-index: -1;
}

.services-page .hero-content {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

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

.services-page .hero-text h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.services-page .hero-text p {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    margin-bottom: 2rem;
    opacity: 0.9;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Override body padding for services page to match home page */
body.services-page {
    padding-top: 0 !important;
}

/* Ensure header is transparent like home page */
body.services-page header {
    background-color: transparent;
}

/* Services Grid Section - Light Theme */
.services-grid-section {
    padding: 5rem 0;
    background: #f8f9fa; /* Light gray background */
    margin-top: 0;
}

/* Services Grid */
.services-main-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-category-card {
    background: #ffffff; /* White background */
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid #e0e0e0; /* Light border */
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); /* Soft shadow */
}

.service-category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--primary); /* Red accent on hover */
}

.service-video-container {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.service-video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.service-category-card:hover .service-video-container video {
    transform: scale(1.05);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.4) 100%);
    pointer-events: none;
}

.duration-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.service-content {
    padding: 2rem;
    color: #333; /* Dark text on light background */
}

.service-content h2 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #111;
    text-transform: capitalize;
}

.service-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: #666; /* Medium gray for paragraph text */
    margin-bottom: 1.5rem;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.feature-tag {
    background: linear-gradient(135deg, #e51825, #ff3344);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(229, 24, 37, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(229, 24, 37, 0.3);
}

/* Process Section - Light Theme */
.process-section {
    padding: 6rem 0;
    background: #ffffff; /* White background */
    color: #333;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}

.process-step {
    background: #f8f9fa; /* Light gray background */
    padding: 2.5rem 2rem;
    border-radius: 16px;
    text-align: center;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.process-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #e51825, #ff3344);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.process-step:hover::before {
    transform: scaleX(1);
}

.process-step:hover {
    background: #ffffff;
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.process-number {
    font-size: 3rem;
    font-weight: 900;
    color: #e51825;
    margin-bottom: 1.5rem;
    line-height: 1;
}

.process-step h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #111;
}

.process-step p {
    color: #666;
    line-height: 1.6;
}

/* Section Heading */
.section-heading {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-heading h2 {
    font-size: 2.5rem;
    color: #111;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    position: relative;
}

/* Add decorative red line under section headings */
.section-heading h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary);
}

/* Responsive Design */
@media (max-width: 992px) {
    .services-page .hero-text h1 {
        font-size: 3rem;
        letter-spacing: 2px;
    }
    
    .services-main-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .process-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .service-video-container {
        height: 250px;
    }
}

@media (max-width: 768px) {
    .services-page .hero-text h1 {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }
    
    .services-page .hero-text p {
        font-size: 1.1rem;
    }
    
    .service-content {
        padding: 1.5rem;
    }
    
    .service-content h2 {
        font-size: 1.5rem;
    }
    
    .process-section {
        padding: 4rem 0;
    }
    
    .process-step {
        padding: 2rem 1.5rem;
    }
    
    .process-number {
        font-size: 2.5rem;
    }
    
    .service-features {
        gap: 0.6rem;
    }
    
    .feature-tag {
        padding: 0.3rem 0.8rem;
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .services-page .hero-text h1 {
        font-size: 2rem;
        letter-spacing: 1px;
    }
    
    .services-page .hero-text p {
        font-size: 1rem;
    }
    
    .services-main-grid {
        gap: 1.5rem;
    }
    
    .service-video-container {
        height: 200px;
    }
    
    .service-content {
        padding: 1.2rem;
    }
    
    .service-content h2 {
        font-size: 1.3rem;
    }
    
    .service-content p {
        font-size: 0.9rem;
    }
    
    .process-step {
        padding: 1.5rem 1rem;
    }
    
    .process-step h3 {
        font-size: 1.2rem;
    }
    
    .process-step p {
        font-size: 0.9rem;
    }
}

/* Footer styles moved to base.css for consistency */