﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: #fff;
}

/* HEADER */
.header {
    position: sticky;
    top: 0;
    background: #fff;
    border-bottom: 1px solid #ddd;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: auto;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: clamp(40px, 6vw, 64px); /* un poco más visible */
    width: auto;
}

/* NAV */
.header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

    .header-actions a {
        text-decoration: none;
        color: #000;
        font-size: 14px;
        display: flex;
        align-items: center;
    }

.divider {
    color: #999;
    font-size: 14px;
}

.header-icon {
    width: 18px;
    height: 18px;
    margin-right: 6px;
    object-fit: contain;
}



/* CAROUSEL */
.carousel {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 1;
    min-height: 180px;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    height: 100%;
    transition: transform 0.4s ease;
}

.carousel-item {
    min-width: 100%;
}

    .carousel-item img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        pointer-events: none;
    }

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: clamp(28px, 4vw, 36px);
    height: clamp(28px, 4vw, 36px);
    font-size: clamp(16px, 2.5vw, 22px);
    background: rgba(255,255,255,0.75);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.prev {
    left: clamp(6px, 2vw, 12px);
}

.next {
    right: clamp(6px, 2vw, 12px);
}

@media (max-width: 480px) {
    .carousel-btn {
        opacity: 0.3;
    }
}


.carousel-dots {
    text-align: center;
    margin: 10px 0;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ccc;
    display: inline-block;
    margin: 0 4px;
}

    .dot.active {
        background: #000;
    }

/* FILTROS */
.filters {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 16px;
    display: grid;
    grid-template-columns: 2fr 1.2fr 1.2fr 1fr auto;
    gap: 12px;
    align-items: end;
}

/* Cada filtro */
.filter-item {
    display: flex;
    flex-direction: column;
}

    /* Labels */
    .filter-item label {
        font-size: 12px;
        font-weight: 600;
        margin-bottom: 6px;
        color: #555;
        min-height: 16px;
    }

    /* Inputs y selects */
    .filter-item input,
    .filter-item select {
        height: 38px;
        padding: 6px 10px;
        border-radius: 6px;
        border: 1px solid #ccc;
        font-size: 14px;
        box-sizing: border-box;
        width: 100%;
    }

/* Botón */
.filter-btn {
    display: flex;
    align-items: flex-end;
}

.search-btn {
    width: 42px;
    height: 38px;
    background: #0095ff;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 900px) {
    .filters {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .filter-btn {
        grid-column: span 3;
        justify-content: flex-end;
    }
}

@media (max-width: 600px) {
    .filters {
        grid-template-columns: 1fr;
    }

    .filter-btn {
        justify-content: stretch;
    }

    .search-btn {
        width: 100%;
    }
}

/* EVENTOS */
.events-grid {
    max-width: 1200px;
    margin: auto;
    padding: 0 16px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* RESPONSIVE GRID */
@media (max-width: 992px) {
    .events-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .events-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .filters {
        grid-template-columns: 1fr 1fr;
    }

    .search-btn {
        grid-column: span 2;
        width: 100%;
    }
}

/* EVENT CARD */
.event-card {
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
    .event-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 6px 16px rgba(0,0,0,0.15);
    }

.event-flyer {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    background-color: #eee;
    background-size: contain;
    background-position: center;
    overflow: hidden;
    max-height: 220px;
    background-repeat: no-repeat;
}

.event-info {
    padding: 12px;
}

    .event-info h4 {
        margin-bottom: 6px;
    }

.meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
}

.soldout-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

    .soldout-overlay img {
        width: auto;
        height: auto;
        max-height: 100%;
        object-fit: contain;
    }

/* PAGINACIÓN */
.pagination {
    text-align: center;
    margin: 20px 0;
}

    .pagination button {
        padding: 6px 10px;
        margin: 0 4px;
        border: none;
        background: #eee;
        cursor: pointer;
    }

        .pagination button.active {
            background: #0095ff;
            color: #fff;
        }


/* FOOTER */
.footer {
    background: #fff;
    border-top: 1px solid #e5e5e5;
    font-size: 13px;
    color: #666;
}

/* GRID 6 COLUMNAS */
.footer-container {
    max-width: 1200px;
    margin: auto;
    padding: 30px 20px;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1.3fr 1.3fr 1.6fr;
    gap: 30px;
}

/* LOGO */
/*.footer-logo {
    height: 34px;
    width: auto;
    opacity: 0.8;
}*/

/* TITULOS */
.footer h5 {
    font-size: 13px;
    font-weight: 600; /* negrita como mockup */
    color: #222;
    margin-bottom: 8px;
}

/* LINKS */
.footer a {
    display: block;
    text-decoration: none;
    color: #666;
    margin-bottom: 6px;
    font-weight: 400;
}

    .footer a:hover {
        text-decoration: underline;
        color: #000;
    }

/* ICONOS REDES */
.social-icons {
    display: flex;
    gap: 10px;
}

    .social-icons img {
        width: 28px;
        height: 28px;
    }

/* CONTACTO INLINE (ICONO + TEXTO) */
.footer-inline {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
}

    .footer-inline img {
        width: 14px;
        height: 14px;
    }

/* FOOTER BOTTOM */
.footer-bottom {
    border-top: 1px solid #e5e5e5;
    text-align: center;
    padding: 10px;
    font-size: 12px;
    color: #777;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: repeat(3, 1fr);
        row-gap: 24px;
    }
}

@media (max-width: 600px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }

    .footer-inline {
        justify-content: center;
    }
}
