/*
Theme Name: NexIA Solutions Theme
Theme URI: https://nexiasolutions.info
Author: Grupo 1 SMRD
Author URI: https://nexiasolutions.info
Description: Tema corporativo para NexIA Solutions.
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: nexia-theme
*/

:root {
    --primary-color: #0d1b2a;
    --accent-color: #1b263b;
    --secondary-color: #fca311;
    --success-color: #2ec4b6;
    --text-light: #e0e1dd;
    --text-dark: #333333;
    --bg-light: #f4f4f4;
}

/* RESET BÁSICO */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Roboto', sans-serif; line-height: 1.6; color: var(--text-dark); background-color: #fff; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* UTILIDADES */
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; overflow: hidden; }
.section-title { text-align: center; margin-bottom: 40px; color: var(--primary-color); font-size: 2rem; }
.btn { display: inline-block; padding: 12px 30px; border-radius: 5px; font-weight: bold; transition: 0.3s; cursor: pointer; border: none; }
.btn-primary { background: var(--secondary-color); color: var(--primary-color); }
.btn-primary:hover { background: #e08e0b; transform: translateY(-2px); }

/* NAVBAR */
.navbar { background: var(--primary-color); color: var(--text-light); padding: 1rem 0; position: sticky; top: 0; z-index: 1000; }
.navbar .container { display: flex; justify-content: space-between; align-items: center; }
.nav-links { display: flex; gap: 20px; align-items: center; }
.nav-links a:hover { color: var(--secondary-color); }
.btn-nav { border: 2px solid var(--secondary-color); padding: 5px 15px; border-radius: 4px; }

/* HERO SECTION */
.hero {
    /* Nota: La imagen de fondo se carga inline en el header.php para usar rutas de WP */
    background-size: cover;
    background-position: center;
    height: 80vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--text-light);
}
.hero h2 { font-size: 3rem; margin-bottom: 20px; }
.hero p { font-size: 1.2rem; margin-bottom: 30px; max-width: 700px; margin-left: auto; margin-right: auto; }

/* ABOUT SECTION */
.about { padding: 60px 0; text-align: center; background: white; }
.about h3 { color: var(--primary-color); margin-bottom: 15px; }
.about p { max-width: 800px; margin: 0 auto; }

/* SERVICES */
.services { padding: 80px 0; background: var(--bg-light); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.card { background: white; padding: 30px; border-radius: 8px; box-shadow: 0 5px 15px rgba(0,0,0,0.1); text-align: center; transition: 0.3s; border-bottom: 4px solid var(--success-color); }
.card:hover { transform: translateY(-10px); }
.icon { font-size: 3rem; margin-bottom: 15px; }

/* TEAM */
.team { padding: 80px 0; }
.team-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.member { background: var(--accent-color); color: white; padding: 20px; border-radius: 8px; width: 200px; text-align: center; }
.member h4 { color: var(--secondary-color); margin-bottom: 5px; }

/* CONTACT */
.contact { padding: 80px 0; background: var(--primary-color); color: white; }
.contact-form { max-width: 600px; margin: 0 auto; display: flex; flex-direction: column; gap: 15px; }
.contact-form input[type="text"], 
.contact-form input[type="email"], 
.contact-form textarea { padding: 15px; border-radius: 5px; border: none; font-family: inherit; width: 100%; }

/* PRIVACY BOX */
.privacy-box { display: flex; align-items: center; gap: 10px; margin-top: 5px; margin-bottom: 5px; color: var(--text-light); font-size: 0.9rem; text-align: left; }
.privacy-box input[type="checkbox"] { width: 20px; height: 20px; cursor: pointer; accent-color: var(--secondary-color); }
.privacy-box a { color: var(--secondary-color); text-decoration: underline; font-weight: bold; }
.privacy-box a:hover { color: var(--success-color); }

/* FOOTER */
footer { background: #000; color: white; text-align: center; padding: 20px 0; margin-top: auto; }

/* WP SPECIFIC */
/* Ajustes para la barra de admin de WP si estás logueado */
.admin-bar .navbar { top: 32px; }
@media(max-width: 768px) { .nav-links { display: none; } .hero h2 { font-size: 2rem; } }