/* Variables CSS para colores */
:root {
    --cyber-blue: #0A2A5B;
    --neon-orange: #FF6B00;
    --graphite-gray: #333333;
    --light-gray: #F0F2F5;
    --white: #FFFFFF;
}

/* Reset Básico y Estilos Generales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--graphite-gray);
    background-color: var(--white); /* Fondo principal blanco */
    scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    color: var(--cyber-blue);
    margin-bottom: 0.8em;
}

p {
    margin-bottom: 1em;
}

a {
    text-decoration: none;
    color: var(--neon-orange);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--cyber-blue);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
header {
    background-color: var(--white);
    padding: 20px 0;
    border-bottom: 1px solid var(--light-gray);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 120px; /* Logotipo más grande y vistoso */
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05); /* Pequeño efecto al pasar el mouse */
}

/* Estilo para el Slogan Enmarcado */
.tagline-box {
    background-color: var(--neon-orange); /* Fondo naranja neón */
    color: var(--white);
    padding: 8px 15px;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.1em; /* Un poco más grande para destacar */
    text-align: center;
    margin-left: 30px; /* Separación del logo */
    box-shadow: 0 4px 10px rgba(0,0,0,0.1); /* Sombra sutil */
    white-space: nowrap; /* Evita que el texto se rompa en varias líneas */
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--cyber-blue);
    font-weight: 700;
    font-size: 1.05em;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--neon-orange);
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

/* Hero Section - CON IMAGEN DE FONDO */
.hero {
    background-image: url('../img/futurista.png'); /* RUTA DE TU IMAGEN HERO */
    background-size: cover; /* Cubre toda la sección */
    background-position: center; /* Centra la imagen */
    background-repeat: no-repeat; /* Evita que se repita */
    background-attachment: fixed; /* Opcional: Para efecto parallax */

    color: var(--white);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Overlay para la imagen de fondo del Hero */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 42, 91, 0.7); /* cyber-blue con 70% de opacidad */
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2; /* Asegura que el contenido esté sobre el overlay */
}

.hero h1 {
    color: var(--white);
    font-size: 3.5em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3); /* Sombra para mejor legibilidad */
}

.hero p {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--light-gray);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2); /* Sombra para mejor legibilidad */
}

.btn {
    display: inline-block;
    background-color: var(--neon-orange);
    color: var(--white);
    padding: 15px 30px;
    border-radius: 5px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #e65c00; /* Tono más oscuro de naranja */
}

/* Services Section */
.services {
    padding: 80px 0;
    background-color: var(--light-gray);
    text-align: center;
}

.services h2 {
    font-size: 2.5em;
    margin-bottom: 60px;
    color: var(--cyber-blue);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-item {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-item h3 {
    font-size: 1.5em;
    color: var(--neon-orange);
    margin-bottom: 15px;
}

.service-item p {
    font-size: 1em;
    color: var(--graphite-gray);
}

/* CTA Section - CON IMAGEN DE FONDO */
.cta {
    background-image: url('../img/renunion.png'); /* RUTA DE TU IMAGEN CTA */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* Opcional: para efecto parallax */

    padding: 80px 0;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

/* Overlay para la imagen de fondo del CTA */
.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 42, 91, 0.7); /* cyber-blue con 70% de opacidad */
    z-index: 1;
}

.cta .container {
    position: relative;
    z-index: 2;
}

.cta h2 {
    color: var(--white);
    font-size: 2.5em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3); /* Sombra para mejor legibilidad */
}

.cta p {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--light-gray);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2); /* Sombra para mejor legibilidad */
}

/* Footer */
footer {
    background-color: var(--graphite-gray);
    color: var(--white);
    padding: 40px 0;
    text-align: center;
    font-size: 0.9em;
}

footer .social-icons {
    margin-top: 20px; /* Espacio entre el copyright y los iconos */
    margin-bottom: 20px; /* Espacio entre los iconos y la info fiscal */
}

footer .social-icons a {
    display: inline-block;
    margin: 0 10px;
    font-size: 2em; /* Tamaño de los iconos, ajustado para ser más visible */
    color: var(--white); /* Color inicial de los iconos */
    transition: color 0.3s ease; /* Transición para el hover */
}

footer .social-icons a:hover {
    color: var(--neon-orange); /* Color al pasar el mouse */
}

footer p {
    margin-bottom: 0;
    color: var(--light-gray);
}

/* Responsive Design */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }

    .tagline-box {
        margin-top: 15px;
        margin-left: 0;
    }

    nav ul {
        margin-top: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

    nav ul li {
        margin: 0 10px 10px 10px;
    }

    .hero h1 {
        font-size: 2.5em;
    }

    .hero p {
        font-size: 1em;
    }

    .services h2, .cta h2 {
        font-size: 2em;
    }

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

@media (max-width: 480px) {
    .logo img {
        height: 50px;
    }
    .tagline-box {
        font-size: 1em;
        padding: 6px 12px;
    }
    footer .social-icons a {
        font-size: 1.8em; /* Ajustar tamaño en móviles si es necesario */
    }
}