/* ==============================================
   STYLES.CSS - PORTAL DE ACCESO
   Estilos para el index.html raíz.
   Diseño minimalista, cálido y profesional.
   ============================================== */

/* --- RESET & BASE --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: #333;
    background-color: #fdfbf8;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* --- CONTAINER (Layout) --- */
.container {
    max-width: 520px;
    margin: 0 auto;
    padding: 80px 28px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* --- LOGO SECTION --- */
.logo-section {
    text-align: center;
    margin-bottom: 56px;
}

.logo-image {
    width: 320px;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* --- HERO TEXT (Bienvenida) --- */
.hero-text {
    text-align: center;
    margin-bottom: 56px;
}

.hero-text h1 {
    font-size: 2rem; /* 32px */
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}

.hero-text p {
    font-size: 1.1rem; /* 17.6px */
    color: #555;
    line-height: 1.6;
}

/* --- NAVEGACIÓN PRINCIPAL (Botones) --- */
.main-nav {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px; 
}

.nav-button {
    /* ACTUALIZADO: Convertido a Flexbox para alinear icono y texto */
    display: flex;
    align-items: center;
    justify-content: center;
    
    width: 100%;
    padding: 18px 24px;
    background-color: #ffffff;
    color: #333;
    text-decoration: none;
    font-size: 1rem; /* 16px */
    font-weight: 500;
    border-radius: 8px;
    border: 1px solid #e8e5e0;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

.nav-button:hover {
    background-color: #f9f7f3;
    border-color: #dcd7ce;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.06);
}

.nav-button.accent {
    background-color: #f9f7f3;
    border-color: #c9a56d;
    color: #b38f54;
}

.nav-button.accent:hover {
    background-color: #ffffff;
    border-color: #b38f54;
}

/* * NUEVO: Estilos para el icono dentro del botón
 */
.nav-icon {
    display: inline-flex; /* Contenedor flex para el SVG */
    align-items: center;
    margin-right: 12px; /* Espacio entre el icono y el texto */
}

.nav-icon svg {
    width: 20px; /* Tamaño del icono */
    height: 20px;
    stroke-width: 2;
    
    /* Clave: El icono hereda el color del texto del botón 
       (sea #333 o el acento #b38f54) */
    stroke: currentColor; 
    
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* --- FOOTER --- */
.footer {
    text-align: center;
    font-size: 14px;
    color: #999;
    padding-top: 32px;
    border-top: 1px solid #e8e5e0;
    width: 100%;
    font-weight: 300;
    margin-top: 56px;
    line-height: 1.6;
}

.footer .footer-link {
    color: #c9a56d; 
    text-decoration: none;
    border-bottom: 1px solid rgba(201, 165, 109, 0.4);
    transition: all 0.2s ease;
}

.footer .footer-link:hover {
    color: #b38f54;
    border-bottom-color: #c9a56d;
}

.footer .powered-by {
    font-size: 13px;
    display: inline-block;
    margin-top: 8px;
}

.footer .powered-by .footer-link {
    font-weight: 400;
}

.footer .powered-by strong {
    font-weight: 600;
    color: #b38f54;
}


/* --- RESPONSIVE --- */
@media (max-width: 600px) {
    .container {
        padding: 40px 20px;
    }

    .logo-image {
        width: 280px;
    }

    .hero-text h1 {
        font-size: 1.75rem;
    }
    
    .hero-text p {
        font-size: 1rem;
    }

    /* Ajuste responsivo para el botón (icono y texto) */
    .nav-button {
        /* Centrado por defecto ya funciona bien */
        font-size: 0.95rem;
    }

    .nav-icon {
        margin-right: 10px;
    }
}
