:root {
    --primary: #0066cc; /* Azul técnico industrial */
    --secondary: #6c757d;
    --dark: #111111;
    --light: #f4f6f8;
}

body {
    /* Cambio a Poppins como fuente principal */
    font-family: 'Poppins', sans-serif;
    color: #333;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    /* Poppins también para títulos, con un peso mayor */
    font-family: 'Poppins', sans-serif;
    font-weight: 700; 
}

h1, h2, h3, h4, h5, .navbar-brand {
    font-family: 'Montserrat', sans-serif;
}

.ls-2 { letter-spacing: 2px; }
.fw-black { font-weight: 900; }
.py-6 { padding-top: 6rem; padding-bottom: 6rem; }

/* NAVBAR */
.navbar {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    transition: all 0.3s ease;
}
.navbar.bg-dark {
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
    background-color: rgba(17, 17, 17, 0.95) !important;
    backdrop-filter: blur(10px);
}

/* HERO SECTION */
.hero-section {
    height: 100vh;
    position: relative;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    /* Efecto Zoom lento en el fondo */
    animation: zoomEffect 20s infinite alternate; 
}
.hero-section .overlay {
    background: linear-gradient(to right, rgba(0,0,0,0.8), rgba(0,0,0,0.4));
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 1;
}
/* Efecto de Texto Hueco (Outline) */
.text-stroke-white {
    -webkit-text-stroke: 2px white;
    color: transparent;
}

@keyframes zoomEffect {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}

/* SCROLL DOWN */
.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    opacity: 0.8;
}
.animate-bounce {
    animation: bounce 2s infinite;
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-10px);}
    60% {transform: translateY(-5px);}
}

/* SERVICE CARDS HOVER */
.service-card {
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.4s ease;
    z-index: 1;
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 1rem 3rem rgba(0,0,0,0.1)!important;
    border-color: var(--primary);
}
.service-card .icon-wrapper {
    transition: transform 0.3s;
}
.service-card:hover .icon-wrapper {
    transform: scale(1.1);
}

/* PARALLAX SECTION */
.parallax-section {
    min-height: 60vh;   /* <-- 1. CAMBIO CLAVE: Antes decía solo 'height' */
    padding: 5rem 0;    /* <-- 2. NUEVO: Agrega espacio arriba y abajo */
    background-color: #1a1a1a;
    background-attachment: fixed; 
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.overlay-dark {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.7);
}

/* BOTONES */
.btn-hover-effect {
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: color 0.3s;
}
.btn-hover-effect::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 0%; height: 100%;
    background-color: #004499; /* Azul más oscuro */
    z-index: -1;
    transition: width 0.3s ease;
}
.btn-hover-effect:hover::after {
    width: 100%;
}

/* Form inputs focus */
.form-control:focus {
    box-shadow: none;
    border: 1px solid var(--primary);
    background-color: #fff;
}

/* Ajuste para que el carrusel ocupe toda la pantalla */
.carousel-item {
    height: 100vh;
    min-height: 600px;
}
.bg-cover {
    transition: transform 6s ease; /* Efecto zoom suave al pasar */
}
.carousel-item.active .bg-cover {
    transform: scale(1.05);
}