/* ==============================
   VARIABLES Y BASE
================================ */

:root {
    --color-primary: #3232FF;
    --color-secondary: #FFCB05;
    --color-accent: #ED1846;
    --color-dark: #000;
    --color-light: #ffffff;
    --radius: 16px;
    --transition: 0.3s ease;
    --max-width: 1200px;
    --shadow: 0 5px 15px rgba(0,0,0,0.15);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    background: linear-gradient(-45deg, #FFCB05, #3232FF, #ED1846, #3232FF);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
    color: #fff;
}

/* ==============================
   ANIMACIÓN DE 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;
    max-width: 800px;
    margin: auto;
}

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

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

.hero-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* ==============================
   SECCIONES GENERALES
================================ */

.section {
    padding: 4rem 1.5rem;
}

.container {
    max-width: var(--max-width);
    margin: auto;
}

.section h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.section-intro {
    text-align: center;
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
}

/* ==============================
   MAPAS
================================ */

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

.map-card {
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.map-card h4 {
    text-align: center;
    padding: 1rem;
    background: var(--color-secondary);
}

.map-card iframe {
    width: 100%;
    height: 320px;
    border: 0;
}

/* ==============================
   FORMULARIO
================================ */

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

fieldset {
    border: none;
    padding: 0;
}

legend {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

label {
    display: block;
    margin-top: 1rem;
    font-weight: 500;
}

input,
textarea {
    width: 100%;
    padding: 0.75rem;
    margin-top: 25px;
    border-radius: 8px;
    border: none;
    font-size: 1rem;
}

textarea {
    resize: vertical;
}

button {
    margin-top: 1.5rem;
    margin-bottom: 50px;
    background-color: var(--color-primary);
    color: #ffffff;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: bold;
    transition: transform var(--transition), background var(--transition);
}

button:hover {
    background: #ffd84d;
    transform: scale(1.05);
}

class= contact-info {

}
/* ==============================
   FOOTER
================================ */

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

.social-media img {
    width: 32px;
    gap: 10px;
    margin-bottom: 1rem;   
    transition: transform var(--transition);
}

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

/* ==============================
   RESPONSIVE
================================ */

@media (min-width: 768px) {
    .map-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

/* ==============================
   REDUCED MOTION
================================ */

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