/* Estilos adicionales para completar la apariencia de Boletia */

/* Main nav */
.c-main-nav {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(7, 11, 21, 0.96);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 35px rgba(2, 4, 10, 0.65);
}

.c-main-nav__container {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding: 0.65rem 2.5rem;
    display: grid;
    grid-template-columns: auto minmax(280px, 1fr) auto auto;
    align-items: center;
    gap: 1rem;
    color: #f8fafc;
}

.c-main-nav__brand {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: inherit;
    font-weight: 700;
    text-decoration: none;
}

.c-main-nav__logo {
    width: 128px;
    height: auto;
    display: block;
}

.c-main-nav__search {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.2rem 0.3rem 0.2rem 1.4rem;
    border-radius: 999px;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.08), rgba(55, 66, 88, 0.2));
    border: 1px solid rgba(248, 250, 252, 0.16);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.c-main-nav__search input {
    flex: 1;
    border: none;
    background: transparent;
    color: #f8fafc;
    font-size: 0.95rem;
    height: 48px;
}

.c-main-nav__search input:focus {
    outline: none;
}

.c-main-nav__search input::placeholder {
    color: rgba(248, 250, 252, 0.75);
}

.c-main-nav__search button {
    border: 1px solid rgba(248, 250, 252, 0.35);
    border-radius: 999px;
    width: 46px;
    height: 46px;
    background: rgba(255, 255, 255, 0.08);
    color: #f8fafc;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease;
}

.c-main-nav__search button:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-1px);
}

.c-main-nav__search button:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.6);
    outline-offset: 2px;
}

.c-main-nav__help {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: rgba(248, 250, 252, 0.88);
    text-decoration: none;
    font-weight: 500;
}

.c-main-nav__help i {
    font-size: 1rem;
}

.c-main-nav__actions {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem;
    border-radius: 999px;
    background: rgba(20, 28, 44, 0.85);
    border: 1px solid rgba(248, 250, 252, 0.12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.c-pill-button {
    border-radius: 999px;
    padding: 0.5rem 1.1rem;
    border: 1px solid rgba(248, 250, 252, 0.4);
    color: #f8fafc;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, border 0.2s ease;
    min-width: 135px;
    text-align: center;
}

.c-pill-button:hover {
    background: rgba(248, 250, 252, 0.12);
}

.c-pill-button.is-ghost {
    border-color: transparent;
    color: rgba(248, 250, 252, 0.85);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

@media (max-width: 1024px) {
    .c-main-nav__container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 0.75rem;
    }

    .c-main-nav__actions {
        justify-content: flex-end;
    }

    .c-main-nav__logo {
        width: 110px;
    }

    .c-main-nav__container {
        padding: 0.65rem 1.5rem;
    }
}

@media (max-width: 680px) {
    .c-main-nav__container {
        grid-template-columns: 1fr;
    }

    .c-main-nav__search {
        width: 100%;
    }

    .c-main-nav__actions {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .c-pill-button {
        flex: 1;
        text-align: center;
    }

    .c-main-nav__help {
        display: none;
    }

    .c-main-nav__search input {
        height: 42px;
        font-size: 0.95rem;
    }

    .c-main-nav__search button {
        width: 42px;
        height: 42px;
    }
}

/* Categories Section */
.c-categories-section {
    background-color: #f5f5f5;
    padding: 3rem 0;
    overflow: hidden;
}

.c-categories-carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.c-categories-wrapper {
    flex: 1;
    overflow: hidden;
}

.c-categories-list {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 1rem 0;
}

.c-categories-list::-webkit-scrollbar {
    display: none;
}

.c-category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    min-width: 120px;
    text-decoration: none;
    color: #1a1a1a;
    transition: transform 0.3s ease, color 0.3s ease;
}

.c-category-item:hover {
    transform: translateY(-5px);
    color: #ff6b6b;
}

.c-category-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid #6366f1;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    color: #6366f1;
    transition: all 0.3s ease;
}

.c-category-item:hover .c-category-icon {
    background-color: #6366f1;
    color: white;
    transform: scale(1.1);
}

.c-category-item span {
    font-size: 0.875rem;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.c-categories-arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #ddd;
    background-color: white;
    color: #666;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.c-categories-arrow:hover {
    background-color: #6366f1;
    border-color: #6366f1;
    color: white;
}

.c-categories-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .c-categories-arrow {
        display: none;
    }
    
    .c-category-icon {
        width: 60px;
        height: 60px;
    }
    
    .c-category-item {
        min-width: 100px;
    }
    
    .c-category-item span {
        font-size: 0.75rem;
    }
}

/* Fix para el layout */
body {
    margin: 0;
    background: #DFE2E6;
}

#__next {
    min-height: 100vh;
}

.c-layout--home {
    min-height: 100vh;
    background: #DFE2E6;
}

.c-top-events__wrapper .c-container {
    max-width: 100%;
    padding: 0;
}

/* Hero con imagen de fondo */
.c-top-events {
    position: relative;
    width: 100%;
    height: 600px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.c-top-events__slide {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.c-top-events__info {
    position: relative;
    z-index: 3;
    width: 100%;
}

.c-top-events__content {
    text-align: center;
    z-index: 2;
    padding: 2rem;
}

.c-top-events__date {
    display: inline-block;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 3px;
    margin-bottom: 1.5rem;
    padding: 0.8rem 2rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 2rem;
    backdrop-filter: blur(10px);
}

.c-top-events__title {
    font-size: 6rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.c-top-events__venue {
    font-size: 1.8rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

/* Botón primario */
.c-button.is-primary {
    display: inline-block;
    background: #FFFFFF;
    color: #21262B;
    padding: 1.2rem 3.5rem;
    border-radius: 3rem;
    font-weight: 700;
    font-size: 1.4rem;
    text-decoration: none;
    letter-spacing: 1px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.c-button.is-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

/* Mini navegación inferior */
.c-top-events__mini-nav {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    overflow: hidden;
    z-index: 10;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.c-top-events__mini-item {
    flex: 1 1 0;
    padding: 1.5rem 1rem;
    cursor: pointer;
    transition: background 0.3s;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    min-width: 0;
}

.c-top-events__mini-item:hover,
.c-top-events__mini-item.is-active {
    background: #6C5CE7;
}

.c-top-events__mini-item span {
    display: block;
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 0.4rem;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.c-top-events__mini-item small {
    font-size: 1rem;
    opacity: 0.75;
    white-space: nowrap;
    display: block;
}

/* Sección de eventos */
.c-events-section {
    padding: 6rem 2rem;
    background: #FFFFFF;
}

.c-container {
    max-width: 1400px;
    margin: 0 auto;
}

.c-section-title {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 4rem;
    color: #21262B;
}

.c-events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 3rem;
}

/* Tarjeta de evento */
.c-event-card {
    background: #FFFFFF;
    border-radius: 1.2rem;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    cursor: pointer;
    border: 1px solid #F0F1F3;
}

.c-event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.c-event-card__image {
    position: relative;
    height: 200px;
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.c-event-card__image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(12, 14, 20, 0) 30%, rgba(12, 14, 20, 0.55) 100%);
    z-index: 1;
    pointer-events: none;
}

.c-event-card__date {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background: #FFFFFF;
    color: #21262B;
    padding: 1rem 1.5rem;
    border-radius: 1rem;
    font-weight: 700;
    font-size: 1.4rem;
    text-align: center;
    line-height: 1.2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.c-event-card__content {
    padding: 2rem;
}

.c-event-card__title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #21262B;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.c-event-card__venue {
    font-size: 1.4rem;
    color: #8996A2;
    margin-bottom: 1.5rem;
}

.c-event-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid #F0F1F3;
}

.c-event-card__price {
    font-weight: 700;
    color: #6C5CE7;
    font-size: 1.6rem;
}

.c-event-card__category {
    font-size: 1.1rem;
    font-weight: 600;
    color: #8996A2;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Footer */
.c-footer {
    background: #21262B;
    color: #FFFFFF;
    padding: 6rem 2rem 3rem;
}

.c-footer__content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 4rem;
    margin-bottom: 4rem;
}

.c-footer__column h4 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.c-footer__column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.c-footer__column ul li {
    margin-bottom: 1.2rem;
}

.c-footer__column ul li a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.4rem;
    text-decoration: none;
    transition: color 0.3s;
}

.c-footer__column ul li a:hover {
    color: #FFFFFF;
}

.c-footer__bottom {
    text-align: center;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.c-footer__bottom p {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive */
@media screen and (max-width: 768px) {
    .c-top-events__title {
        font-size: 3.6rem;
    }
    
    .c-top-events__mini-nav {
        flex-direction: column;
    }
    
    .c-top-events__mini-item {
        min-width: 100%;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .c-events-grid {
        grid-template-columns: 1fr;
    }
    
    .c-section-title {
        font-size: 2.4rem;
    }
}

@media screen and (max-width: 900px) {
    .c-top-events {
        height: 480px;
    }

    .c-top-events__content {
        padding: 1.5rem;
    }

    .c-top-events__title {
        font-size: 3rem;
    }

    .c-top-events__venue {
        font-size: 1.4rem;
        margin-bottom: 1.6rem;
    }

    .c-button.is-primary {
        padding: 1rem 2.5rem;
        font-size: 1.2rem;
    }

    .c-events-section {
        padding: 3.5rem 1.5rem;
    }

    .c-section-title {
        margin-bottom: 2.2rem;
    }
}

@media screen and (max-width: 540px) {
    .c-main-nav__container {
        padding: 0.55rem 1rem;
    }

    .c-top-events {
        height: 360px;
    }

    .c-top-events__date {
        font-size: 0.9rem;
        padding: 0.6rem 1.2rem;
        letter-spacing: 1.5px;
    }

    .c-top-events__title {
        font-size: 2.2rem;
    }

    .c-top-events__venue {
        font-size: 1.1rem;
        margin-bottom: 1.2rem;
    }

    .c-button.is-primary {
        width: 100%;
        padding: 0.9rem 1.4rem;
        font-size: 1rem;
    }

    .c-event-card__image {
        height: 180px;
    }

    .c-event-card__title {
        font-size: 1.5rem;
    }

    .c-event-card__venue {
        font-size: 1.1rem;
    }

    .c-event-card__price {
        font-size: 1.3rem;
    }

    .c-event-card__category {
        font-size: 1rem;
    }

    .c-footer {
        padding: 3.5rem 1.5rem 2rem;
    }
}

/* Header sticky fix */
.c-header__container {
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

/* Search form position fix */
.c-search.is-menu {
    position: relative;
}
