/* ===================== */
/* RESET Y BASE */
/* ===================== */

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

html, body {
    height: 100%;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #6FEFFF;
    display: flex;
    flex-direction: column;
    color: #000;
}

main {
    flex: 1;
}

/* ===================== */
/* HEADER GLOBAL */
/* ===================== */

.header {
    background: #3B1DFF;
    padding: 5px 0;
}

/* NAV */
.navbar-nav .nav-link {
    font-weight: 500;
}

/* HAMBURGUESA */
.navbar-toggler {
    border: none;
}

/* REDES */
.redes img {
    cursor: pointer;
    transition: 0.2s;
}

.redes img:hover {
    transform: scale(1.15);
    opacity: 0.85;
}

/* ===================== */
/* FOOTER GLOBAL */
/* ===================== */

.footer {
    background: #3B1DFF;
    color: white;
}

/* ===================== */
/* TIPOGRAFÍA GLOBAL */
/* ===================== */

h1 {
    font-size: 2.2rem;
}

h2 {
    font-size: 1.8rem;
}

p {
    line-height: 1.6;
}

.contacto li {
    font-size: 25px;
}

.formacion li {
    font-size: 25px;
}

/* ===================== */
/* IMÁGENES */
/* ===================== */

img {
    border-radius: 8px;
}

.hero img {
    max-width: 100%;
}

.gustos img {
    border-radius: 6px;
}

.grid-arte img {
    width: 200px;
}

/* ===================== */
/* ANIMACIONES BASE */
/* ===================== */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(60px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Clases reutilizables */
.fade-in {
    animation: fadeIn 1s ease forwards;
}

.slide-up {
    animation: slideUp 0.8s ease forwards;
}

/* Delay para efecto escalonado */
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }

/* ===================== */
/* IMÁGENES ANIMADAS */
/* ===================== */

.img-anim {
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    animation: fadeIn 0.8s ease forwards;
}

.img-anim:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.25);
}

/* ===================== */
/* VIDEOS */
/* ===================== */

.video-anim {
    animation: fadeIn 1s ease forwards;
    transition: transform 0.3s ease;
}

.video-anim:hover {
    transform: scale(1.02);
}

/* ===================== */
/* HEADER ANIMADO */
/* ===================== */

.header {
    background: #3B1DFF;
    padding: 5px 0;
    animation: slideUp 0.6s ease;
}

/* ===================== */
/* NAV LINKS */
/* ===================== */

.navbar-nav .nav-link {
    position: relative;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0%;
    height: 2px;
    background: #6FEFFF;
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}



/* ===================== */
/* MEDIA QUERIES */
/* ===================== */

/* TABLETS */
@media (min-width: 768px) and (max-width: 1024px) {

    h1 {
        font-size: 2rem;
    }

    p {
        font-size: 0.95rem;
    }

    .header img {
        max-height: 60px;
    }

    /* HEADER RESPONSIVE */
    .navbar-collapse {
        text-align: center;
    }

    .redes {
        justify-content: center;
        margin-top: 10px;
    }
}

/* MÓVILES */
@media (max-width: 767px) {

    h1 {
        font-size: 1.6rem;
        text-align: center;
    }

    h2 {
        text-align: center;
    }

    p {
        text-align: center;
    }

    /* HEADER RESPONSIVE */
    .navbar-collapse {
        text-align: center;
    }

    .redes {
        justify-content: center;
        margin-top: 10px;
    }
}

