/**
 * =====================================================
 * FlyServ Drones - Estilos Principais
 * =====================================================
 * Arquivo: style.css
 * Descrição: Arquivo principal de estilos CSS
 * Importa todos os módulos de estilos e define variáveis globais
 * Autor: FlyServ Drones
 * Última atualização: 2024
 * =====================================================
 */

/**
 * =====================================================
 * IMPORTS - Módulos de estilos
 * =====================================================
 */
@import '/src/style/header.css';
@import '/src/style/parceiros.css';
@import '/src/style/área_de_atuacao.css';
@import '/src/style/footer.css';
@import '/src/style/services.css';
@import '/src/style/voltar_ao_topo.css';
@import '/src/style/Style_de_services/budget_modal.css';
@import '/src/style/anim.css';

/**
 * =====================================================
 * VARIÁVEIS GLOBAIS e RESET CSS
 * =====================================================
 */
:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --text-light: #ffffff;
    --text-dark: #1a1a1a;
    --bg-light: #f8fafc;
    --transition: all 0.3s ease;
    --spacing-section: 3rem 0;
    --container-padding: 2rem;
    --header-height: 70px;
}

@media (max-width: 768px) {
    :root {
        --spacing-section: 4rem 0;
        --container-padding: 1rem;
        --header-height: 70px;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/**
 * =====================================================
 * ESTILOS BASE
 * =====================================================
 */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.5;
    color: var(--text-dark);
    overflow-x: hidden;
    
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/**
 * =====================================================
 * SEÇÃO HERO - Banner principal com vídeo de fundo
 * =====================================================
 */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: #000;
    padding-top: var(--header-height);
}

/** Vídeo de fundo da seção hero */
.hero__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transform: scale(1.1);
    transition: transform 8s ease-out;
}

/** Overlay gradient sobre o vídeo */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(0, 0, 0, 0.4) 100%
    );
    z-index: 2;
}

/** Container do conteúdo principal do hero */
.hero__content {
    position: relative;
    z-index: 3;
    max-width: 450px;
    padding: 3rem;
    background: rgba(0, 0, 0, 0.2);
    border-left: 4px solid var(--primary-color);
    backdrop-filter: blur(8px);
    border-radius: 0 30px 30px 0;
    transform: translateX(-100%);
    animation: slideIn 1.2s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.hero__text-wrapper {
    overflow: hidden;
}

.hero__title {
    font-size: clamp(2rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}


.hero__title-line,
.hero__subtitle-line {
    display: block;
    transform: translateY(100%);
    opacity: 0;
}

.hero__title-line {
    animation: slideUpFade 0.8s cubic-bezier(0.23, 1, 0.32, 1) forwards;
    animation-delay: 0.8s;
}

.hero__title-line:nth-child(2) {
    animation-delay: 1s;
}

.hero__cta {
    display: flex;
    align-items: center;
    gap: 2rem;
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
    animation-delay: 1.6s;
}

/** Botão CTA (Call to Action) do hero */
.hero__button {
    background: var(--primary-color);
    color: var(--text-light);
    padding: 1.2rem 2.8rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1rem;
    overflow: hidden;
    position: relative;
}

.hero__button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        transparent 0%,
        rgba(255, 255, 255, 0.2) 50%,
        transparent 100%
    );
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.hero__button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

.hero__button:hover::before {
    transform: translateX(100%);
}


.hero__button:hover {
    transform: translateX(5px);
}

/** Indicador de scroll animado */
.hero__scroll-indicator {
    position: absolute;
    bottom: 0.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
    animation-delay: 2s;
    z-index: 3;
}

.hero__scroll-line {
    width: 2px;
    height: 60px;
    background: rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.hero__scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--text-light);
    animation: scrollLine 2s ease-in-out infinite;
}

.hero__scroll-text {
    color: var(--text-light);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.7;
}

@keyframes slideIn {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideUpFade {
    0% {
        transform: translateY(100%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes scrollLine {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(100%);
    }
}

@media (max-width: 768px) {
    .hero__content {
        margin: 0 1rem;
        padding: 2rem;
    }

    .hero__cta {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .hero__title {
        font-size: 2rem;
    }
}