/* ===============================
   VARIABLES
================================ */
:root {
    --gold: #D4AF37;
    --gold-dark: #AA8811;
    --santa-verde: #009245;
    --santa-azul: #005596;
    --santa-celeste: #39B5E6;
    --dark-bg: #0a0a0a;
}

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

body {
    background: var(--dark-bg);
    color: white;
    font-family: Arial, Helvetica, sans-serif;
}

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

/* ===============================
   NAVBAR
================================ */
.navbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(10,10,10,0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.nav-links a:hover {
    color: var(--gold);
}

/* ===============================
   BOTONES
================================ */
.btn-gold {
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 10px 20px;
    text-decoration: none;
}

.btn-gold:hover {
    background: var(--gold);
    color: black;
}

/* ===============================
   HERO
================================ */
.hero {
    position: relative;
    height: 85vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.hero img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), var(--dark-bg));
}

.hero-content {
    position: relative;
    z-index: 10;
}

.hero-title {
    font-size: 48px;
    font-weight: 900;
    text-transform: uppercase;
    font-style: italic;
    margin-bottom: 10px;
}

.hero-subtitle {
    letter-spacing: 6px;
    color: #ccc;
    margin-bottom: 20px;
}

/* ===============================
   GRID
================================ */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

/* ===============================
   CARDS
================================ */
.card {
    background: #111;
    border: 1px solid rgba(212,175,55,0.2);
    overflow: hidden;
    transition: all 0.3s ease;
}

.card:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* ===============================
   TEXTOS
================================ */
.title {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 20px;
}

.text-gold {
    color: var(--gold);
}

/* ===============================
   TIMELINE
================================ */
.timeline {
    border-left: 2px solid var(--gold);
    padding-left: 30px;
}

.timeline-item {
    margin-bottom: 40px;
    position: relative;
}

.timeline-dot {
    position: absolute;
    left: -38px;
    top: 5px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--gold);
}

/* ===============================
   FOOTER
================================ */
footer {
    text-align: center;
    padding: 40px 0;
}

/* ===============================
   BANDERA
================================ */
.flag-divider {
    height: 4px;
    background: linear-gradient(
        to right,
        var(--santa-verde) 33%,
        var(--santa-azul) 33%,
        var(--santa-azul) 66%,
        var(--santa-celeste) 66%
    );
}

/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 768px) {

    .nav-links {
        display: none;
    }

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

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

    .hero-title {
        font-size: 32px;
    }
}

.logo-box {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    height: 50px;
}

.logo-title {
    font-size: 18px;
    font-weight: bold;
}

.logo-sub {
    font-size: 10px;
    letter-spacing: 3px;
    color: var(--gold);
}

.hero-buttons a {
    margin: 0 10px;
    text-decoration: none;
    color: white;
}

.section {
    padding: 80px 0;
}

.center {
    text-align: center;
}

.small {
    font-size: 10px;
}

.card-body {
    padding: 15px;
}

.disciplina {
    padding: 40px;
    text-align: center;
    font-weight: bold;
    background: #151515;
}

.verde:hover {
    background: var(--santa-verde);
}

.azul:hover {
    background: var(--santa-azul);
}

.celeste:hover {
    background: var(--santa-celeste);
}

.stats span {
    font-size: 40px;
    display: block;
}

.stats p {
    color: var(--gold);
    font-size: 12px;
}

/* ===============================
   TEXTO DORADO DEGRADADO
================================ */
.gold-gradient {
    background: linear-gradient(45deg, #FFD700, #FFF3B0, #C9A227);
    
    background-clip: text;
    -webkit-background-clip: text;

    color: transparent;
    -webkit-text-fill-color: transparent;

    display: inline-block;
}

