/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Variables para colores y fuentes */
:root {
    --primary-color: #6c3483;
    /* Morado */
    --secondary-color: #e84393;
    /* Fucsia */
    --background-color: #f8e6f7;
    /* Lila claro */
    --black-color: #000000;
    --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Body y contenedor */
body {
    font-family: var(--font-family);
    background: linear-gradient(135deg, var(--primary-color), var(--black-color));
    color: var(--primary-color);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;


}

/* Header */
.header {
    color: white;
    padding: 1rem 0;
    position: relative;
    overflow: hidden;
    height: 500px;
}

.header-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.header-content {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(100deg,
            rgba(44, 62, 80, 0) 40%,
            rgba(24, 188, 156, 0.35) 50%,
            rgba(44, 62, 80, 0) 60%);
    pointer-events: none;
    border-radius: 0;
    animation: shine 6s infinite;
    z-index: 1;
}

@keyframes shine {
    0% {
        transform: translateX(-100%) skewX(-20deg);
    }

    100% {
        transform: translateX(100%) skewX(-20deg);
    }
}


.logo {
    font-size: 1.8rem;
    font-weight: bold;
}

.nav__list {
    list-style: none;
    display: flex;
    flex-direction: row;
    gap: 2rem;
    text-align: left;
}

.nav__link {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 25px;
    transition: color 0.3s ease;
}

.nav__link:hover {
    color: var(--secondary-color);
}

/* Layout header flex */
.header .header-content {
    display: flex;
    flex-direction: row;
    gap: 0;
    justify-content: space-between;
    align-items: center;
    height: 500px;

}

.logo {
    position: realtive;
}

.imageLogo {
    width: 300px
}



/*
Animation for logo
*/

/* Main content */
.main-content {
    padding: 2rem 0;
}

.section {
    margin-bottom: 3rem;
}

.section__title {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--background-color);
    padding-bottom: 0.3rem;
    color: var(--background-color)
}

/* Eventos */
.event-list {
    list-style: none;
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    width: 100%;
}

.event-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 3px 6px rgb(0 0 0 / 0.1);
    transition: transform 0.3s ease;
    cursor: pointer;
    width: 100% !important;
}

#artEventsComing {
    display: flex;
    flex-direction: row;

}


.event-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 30px;
    display: block;
}

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

.event-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    margin-top: 20px;
}

.event-reserve-btn {
    background-color: var(--primary-color);
    color: var(--background-color);
    width: 60%;
    position: relative;
    left: 20%;
    height: 100px;
    text-align: center;
    font-size: 20px;
    margin-top: 20px;
    border-radius: 30px;
}

.event-reserve-btn:hover {
    background-color: var(--background-color);
    color: var(--primary-color);
    width: 60%;
    height: 100px;
    text-align: center;
    font-size: 20px;
    margin-top: 20px;
    border-radius: 30px;
    cursor: pointer;
    transform: scale(1.02);
}


.event-date,
.event-location {
    font-size: 0.9rem;
    color: #666;
}


.next-prev-button {
    width: 30px;
    height: 30px;
    border-radius: 50px;
    font-weight: bold;
    position: relative;
    margin-top: 25%;
    margin-left: 10px;
    margin-right: 10px;
    background-color: var(--primary-color);
    color: var(--background-color);
    border-color: black;
    cursor: pointer;
}


/*Info*/

#about p {
    color: var(--background-color)
}

.info-cards {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    height: 420px;
    margin-top: 10px;
}

.info-card {
    background-color: var(--background-color);
    margin: 0 10px 10px 10px;
    border-radius: 20px;
    border: 4px solid var(--primary-color);
    padding: 10px 15px 15px 10px;
    width: 300px;
    height: 130px;

}

.info-card:hover {
    cursor: pointer;
    transform: translateY(-10px);


}

.info-card .info-card-desc {
    color: black !important;

}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 1rem 0;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 1rem 0;
    flex-wrap: wrap;
}

.footer-link {
    color: white !important;
    font-weight: 500;
    transition: color 0.3s;
    font-size: 1rem;
    padding: 0.2rem 0.5rem;
}

.footer-link:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.footer-social-link {
    color: white !important;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    font-size: 1rem;
    padding: 0.2rem 0.5rem;
}

.footer-social-link:hover {
    color: var(--secondary-color);
    text-decoration: none;
}


.footer-social {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 1rem 0;
}



.footer-social-link img {
    width: 32px;
    height: 32px;
    transition: transform 0.2s, filter 0.2s;
    filter: grayscale(40%);
}

.footer-social-link:hover img {
    transform: scale(1.15) rotate(-8deg);
    filter: grayscale(0%) brightness(1.2);
}

/* Responsive: tablets y pantallas medianas */
@media (max-width: 900px) {
    .nav__list {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .nav__link {
        font-size: 20px;
    }

    .header .header-content {
        flex-direction: column;
        gap: 1rem;
        height: auto;
        padding: 1rem;
    }

    .imageLogo {
        width: 200px;
    }

    .event-list {
        grid-template-columns: repeat(2, 1fr);
    }

    #artEventsComing {
        flex-direction: column;
        gap: 1rem;
    }

    .next-prev-button {
        width: 50px;
        height: 50px;
        margin: 10px auto;
    }

    .info-cards {
        height: auto;
        justify-content: center;
    }

    .info-card {
        width: 280px;
        height: auto;
        margin: 10px;
    }
}

/* Responsive: móviles */
@media (max-width: 600px) {
    .container {
        width: 95%;
        padding: 0 10px;
    }

    .header {
        height: auto;
        min-height: 300px;
    }

    .header .header-content {
        height: auto;
        padding: 2rem 1rem;
    }

    .imageLogo {
        width: 150px;
    }

    .nav__link {
        font-size: 18px;
        padding: 0.5rem;
    }

    .main-content {
        padding: 1rem 0;
    }

    .section__title {
        font-size: 1.4rem;
        text-align: center;
    }

    .event-list {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .event-card {
        padding: 1rem;
        margin: 0 auto;
        max-width: 350px;
    }

    .event-image {
        height: 250px;
    }

    .event-title {
        font-size: 1.1rem;
        margin-top: 15px;
    }

    .event-date,
    .event-location {
        font-size: 0.85rem;
    }

    .event-reserve-btn {
        width: 80%;
        left: 10%;
        height: 50px;
        font-size: 16px;
        margin-top: 15px;
    }

    .event-reserve-btn:hover {
        width: 80%;
        height: 50px;
        font-size: 16px;
        transform: scale(1.02);
    }

    #artEventsComing {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .next-prev-button {
        width: 60px;
        height: 60px;
        margin: 5px;
        font-size: 18px;
    }

    .info-cards {
        flex-direction: column;
        height: auto;
        align-items: center;
        gap: 15px;
    }

    .info-card {
        width: 90%;
        max-width: 320px;
        height: auto;
        min-height: 120px;
        margin: 0;
        padding: 15px;
    }

    .info-card-title {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }

    .info-card-desc {
        font-size: 0.9rem;
        line-height: 1.4;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-link {
        font-size: 0.9rem;
        padding: 0.3rem;
    }

    .footer-social {
        gap: 1rem;
    }

    .footer-social-link img {
        width: 28px;
        height: 28px;
    }

    #about p {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 1rem;
        padding: 0 10px;
    }
}