/* ================================
   VARIABLES GLOBALES
================================ */
:root {
    --color-primary: #3232FF;
    --color-secondary: #FFCB05;
    --color-accent: #ED1846;
    --color-dark: #000;
    --color-light: #ffffff;

    --radius-sm: 8px;
    --radius-md: 14px;

    --transition-fast: 0.3s ease;
    --transition-slow: 0.6s ease;

    --font-base: Arial, sans-serif;
}

/* ================================
   RESET BÁSICO
================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-base);
    background: linear-gradient(-45deg, #FFCB05, #3232FF, #ED1846, #3232FF);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
    color: var(--color-light);
    min-height: 100vh;
}

/* ================================
   ANIMACIÓN FONDO
================================ */
@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ================================
   HEADER
================================ */
.header {
    background-color: var(--color-primary);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    text-align: center;
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 1.5rem;
}

.site-title {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.nav-list {
    list-style: none;
    display: inline-flex;
    gap: 1.5rem;
}

.nav-list a {
    color: white;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.nav-list a:hover {
    color: var(--color-secondary);
}

/* ================================
   HERO
================================ */
.hero {
    position: relative;
    text-align: center;
    padding: 5rem 1.5rem;
    background-image: url("../imgs/Banner1.png");
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
}

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

.hero-logo {
    width: 200px;
    margin-bottom: 1.5rem;
}

.hero h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.hero p {
    max-width: 700px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.btn-primary {
    display: inline-block;
    padding: 0.9rem 2.2rem;
    border-radius: 50px;
    background-color: var(--color-primary);
    color: #ffffff;
    text-decoration: none;
    transition: transform var(--transition-fast), background-color var(--transition-fast);
}

.btn-primary:hover {
    transform: scale(1.05);
background-color: var(--color-secondary);}

/* ================================
   FEATURES
================================ */
.features {
    padding: 4rem 1.5rem;
}

.section-title {
    text-align: center;
    font-size: 2.4rem;
    margin-bottom: 3rem;
}

.cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.card {
    background-color: var(--color-accent);
    padding: 2rem;
    border-radius: var(--radius-md);
    text-align: center;
    transition: transform var(--transition-fast);
}

.card:hover {
    transform: translateY(-8px);
}

/* ================================
   FOOTER
================================ */
.footer {
    background-color: var(--color-primary);
    text-align: center;
    padding: 2rem 1rem;
}

#social-media {
    display: flex;
    justify-content: center;
    gap: 10px 10px;
    margin-bottom: 1rem;
}

#social-media img {
    width: 32px;
    transition: transform 0.3s ease;
}

#social-media img:hover {
    transform: scale(1.2);
}

/* ================================
   RESPONSIVE
================================ */
@media (min-width: 768px) {
    .cards {
        grid-template-columns: repeat(3, 1fr);
    }

    .hero h2 {
        font-size: 3.2rem;
    }
}

/* ================================
   REDUCED MOTION
================================ */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}
