/* CVG Construction Layout Styles */
/* Hero sections, grids, and page layouts */

/* Section Styling */
section {
    padding: 80px 0;
}

/* Hero Section - Universal Styling */
.hero, .service-hero, .contact-hero, .technology-hero, .about-hero, .blog-hero, 
.case-studies-hero, .case-study-hero, .resources-hero, .calculator-hero, 
.directory-hero, .guide-hero, .downloads-hero, .capabilities-hero, .checklist-hero,
.flight-planning-hero, .osha-hero, .risk-assessment-hero, .seasonal-hero,
.site-selection-hero, .starter-kit-hero, .comparison-hero, .webinars-hero,
.drone-hero, .environmental-hero, .safety-hero, .faq-hero, .hero-section {
    background: linear-gradient(135deg, #1B365D 0%, #2C5AA0 100%);
    color: white !important;
    padding: 120px 0 80px;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

/* Contact Hero Specific */
.contact-hero {
    min-height: 70vh;
    padding: 140px 0 60px;
}

/* Universal Hero Text Styling */
.hero *, .service-hero *, .technology-hero *, .about-hero *, .blog-hero *,
.case-studies-hero *, .case-study-hero *, .resources-hero *, .calculator-hero *,
.directory-hero *, .guide-hero *, .downloads-hero *, .capabilities-hero *,
.checklist-hero *, .flight-planning-hero *, .osha-hero *, .risk-assessment-hero *,
.seasonal-hero *, .site-selection-hero *, .starter-kit-hero *, .comparison-hero *,
.webinars-hero *, .drone-hero *, .environmental-hero *, .safety-hero *,
.faq-hero *, .hero-section * {
    color: white !important;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-content, .service-hero-content, .technology-hero-content, .about-hero-content,
.blog-hero-content, .case-studies-hero-content, .resources-hero-content,
.calculator-hero-content, .environmental-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-stats, .service-hero-stats, .technology-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #27AE60;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.95);
}

.hero-cta, .service-hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-visual, .service-hero-visual, .technology-hero-visual {
    position: relative;
}

.hero-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.hero-image img, .service-hero-visual img, .technology-hero-visual img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.data-point {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #1B365D;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    animation: fadeInUp 2s ease;
}

.pulse {
    width: 12px;
    height: 12px;
    background: #27AE60;
    border-radius: 50%;
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: translateY(-50%) scale(1); opacity: 1; }
    50% { transform: translateY(-50%) scale(1.5); opacity: 0.7; }
    100% { transform: translateY(-50%) scale(1); opacity: 1; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Grid Layouts */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.technology-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.regulatory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.environmental-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.calculator-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.overview-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

/* Mobile Responsive Layouts */
@media (max-width: 768px) {
    .hero-content, .service-hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .regulatory-grid,
    .environmental-services-grid {
        grid-template-columns: 1fr;
    }

    .calculator-grid,
    .overview-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 0 60px;
    }

    .hero-stats {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    section {
        padding: 60px 0;
    }
}
