/* COLORES DE DISEÑO PRINCIPALES */
:root {
    --primary-blue: #0A2540;
    --accent-blue: #00D4FF;
    --text-main: #2D3748;
    --text-light: #718096;
    --white: #ffffff;
    --bg-light: #F7FAFC;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-light);
}

/* 1. HEADER TOP */
.header-top {
    background-color: var(--primary-blue);
    padding: 8px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--white);
    font-size: 12px;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.auth-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-login, .btn-logout {
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.btn-logout {
    color: #FF6B6B;
}

.btn-login:hover, .btn-logout:hover {
    filter: brightness(1.2);
}

/* 2. NAVEGACIÓN (Glassmorphism) */
.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px); /* Efecto cristal */
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.logo {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-blue);
    letter-spacing: 1px;
}

.logo span {
    color: var(--accent-blue);
}

.menu a {
    text-decoration: none;
    color: var(--text-main);
    margin-left: 30px;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    position: relative;
    transition: color 0.3s;
}

.menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-blue);
    transition: width 0.3s ease;
}

.menu a:hover {
    color: var(--primary-blue);
}

.menu a:hover::after {
    width: 100%;
}

.menu a.active {
    color: var(--accent-blue);
    font-weight: 700;
}

/* 3. HERO BANNER */
.welcome-banner {
    position: relative;
    height: 80vh;
    min-height: 500px;
    /* Reemplaza esta URL con una imagen real de tu empresa */
    background: linear-gradient(to right, rgba(10, 37, 64, 0.9), rgba(10, 37, 64, 0.5)), url('img/hero-bg.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
}

.banner-content {
    max-width: 800px;
    animation: fadeIn 1s ease-out;
}

.welcome-banner h1 {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.welcome-banner p {
    font-size: 18px;
    font-weight: 300;
    margin-bottom: 40px;
    color: #E2E8F0;
}

.btn-primary {
    padding: 15px 40px;
    background-color: var(--accent-blue);
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 700;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 212, 255, 0.3);
}

/* ANIMACIONES */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .header-top {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    .main-nav {
        flex-direction: column;
        padding: 20px;
        gap: 20px;
    }
    .menu {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    .menu a { margin: 0; }
    .welcome-banner h1 { font-size: 38px; }
    .services-wrapper { padding: 0 20px 60px; }
}