﻿/* =========================================
   VARIABLES GLOBALES (Paleta de Colores)
========================================= */
:root {
    --bg-dark: #121212;
    --bg-card: #1e1e1e;
    --text-light: #f5f5f5;
    --text-muted: #a0a0a0;
    
    /* Colores de cada rama para darles identidad */
    --color-tech: #0056b3;     /* Azul Corporativo */
    --color-deportes: #28a745; /* Verde Césped */
    --color-eventos: #fd7e14;  /* Naranja Dinámico */
}

/* =========================================
   RESETEO BÁSICO Y TIPOGRAFÍA
========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

/* =========================================
   HEADER Y PRESENTACIÓN
========================================= */
.header-principal {
    background-color: #000;
    padding: 20px 0;
    border-bottom: 2px solid #333;
}
.logo-img {
    max-height: 65px; /* Ajusta este valor si lo quieres más grande o más chico */
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05); /* Pequeño efecto al pasar el mouse */
}

.brand-logo h1 {
    font-size: 1.8rem;
    font-weight: 400;
}

.brand-logo strong {
    font-weight: 700;
    color: var(--color-tech); /* Destacamos el 360 en azul */
}

.hero-presentacion {
    padding: 60px 0;
}

.hero-presentacion h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.hero-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
}

/* =========================================
   LAS 3 RAMAS (GRID DE TARJETAS)
========================================= */
.pilares-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding-bottom: 60px;
}

.pilar-card {
    background-color: var(--bg-card);
    padding: 30px;
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-top: 4px solid transparent; /* Preparando el borde de color */
}

.pilar-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}

.pilar-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.pilar-card h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.pilar-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

.btn-acceder {
    font-weight: 600;
    font-size: 0.9rem;
}

/* Identidad visual por tarjeta */
.card-tech { border-top-color: var(--color-tech); }
.card-tech .btn-acceder { color: var(--color-tech); }

.card-deportes { border-top-color: var(--color-deportes); }
.card-deportes .btn-acceder { color: var(--color-deportes); }

.card-eventos { border-top-color: var(--color-eventos); }
.card-eventos .btn-acceder { color: var(--color-eventos); }

/* =========================================
   FOOTER
========================================= */
.footer-principal {
    background-color: #000;
    padding: 40px 0 20px;
    border-top: 1px solid #333;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-principal h4 {
    color: var(--text-light);
    margin-bottom: 15px;
}

.footer-principal p, .footer-principal a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-principal ul {
    list-style: none;
}

.footer-principal ul li {
    margin-bottom: 8px;
}

.footer-principal a:hover {
    color: var(--text-light);
}

.footer-copyright {
    padding-top: 20px;
    border-top: 1px solid #222;
    color: #666;
    font-size: 0.8rem;
}