/* =========================================
   CONFIGURACIÓN GENERAL
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    min-height: 100vh;

    background: #020307;

    color: #ffffff;

    font-family:
        Arial,
        Helvetica,
        sans-serif;
}


/* =========================================
   NAVEGACIÓN
========================================= */

.navbar {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 80px;

    padding: 10px 5%;

    display: flex;

    align-items: center;

    justify-content: space-between;

    background:
        rgba(0, 0, 0, 0.78);

    backdrop-filter: blur(12px);

    -webkit-backdrop-filter: blur(12px);

    border-bottom:
        1px solid rgba(255, 255, 255, 0.05);

    z-index: 1000;
}


.brand {
    display: flex;

    align-items: center;
}


.brand img {
    display: block;

    width: auto;

    height: 55px;
}


.nav-links {
    display: flex;

    align-items: center;

    gap: 35px;
}


.nav-links a {
    color: #ffffff;

    text-decoration: none;

    font-size: 14px;

    letter-spacing: 2px;

    transition: 0.3s ease;
}


.nav-links a:hover {
    color: #35adff;
}


/* =========================================
   HERO
========================================= */

.hero {
    min-height: 100vh;

    display: flex;

    align-items: center;

    justify-content: center;

    text-align: center;

    padding:
        120px 20px 70px;

    background:
        radial-gradient(
            circle at center,
            rgba(0, 130, 255, 0.25),
            transparent 45%
        ),
        #020307;
}


.hero-content {
    width: 100%;

    max-width: 1000px;
}


.hero-location {
    margin-bottom: 25px;

    color: #49b8ff;

    font-size: 13px;

    letter-spacing: 5px;
}


.hero h1 {
    font-size:
        clamp(4rem, 12vw, 9rem);

    font-weight: 300;

    letter-spacing: 18px;

    margin-right: -18px;

    line-height: 1;

    text-shadow:
        0 0 15px rgba(0, 160, 255, 0.8),
        0 0 40px rgba(0, 100, 255, 0.5);
}


.hero-subtitle {
    margin-top: 12px;

    font-size:
        clamp(1rem, 3vw, 1.6rem);

    letter-spacing: 12px;
}


.hero-description {
    margin-top: 35px;

    color: #d7d7d7;

    font-size: 1.2rem;

    line-height: 1.6;
}


.hero-button {
    display: inline-block;

    margin-top: 40px;

    padding: 16px 35px;

    border:
        1px solid #35adff;

    border-radius: 30px;

    color: #ffffff;

    text-decoration: none;

    letter-spacing: 2px;

    transition: 0.3s ease;
}


.hero-button:hover {
    background: #159cff;

    box-shadow:
        0 0 20px
        rgba(21, 156, 255, 0.8);
}


/* =========================================
   ESTRUCTURA DE SECCIONES
========================================= */

.events-section,
.ticket-section,
.info-section,
.contact-section {
    padding:
        110px 5%;
}


.section-heading {
    width: 100%;

    max-width: 800px;

    margin:
        0 auto 60px;

    text-align: center;
}


.section-label {
    margin-bottom: 15px;

    color: #35adff;

    font-size: 13px;

    letter-spacing: 5px;
}


.section-heading h2 {
    font-size:
        clamp(2rem, 5vw, 4rem);

    font-weight: 300;

    letter-spacing: 4px;

    line-height: 1.15;
}


.section-heading p {
    margin-top: 20px;

    color: #bdbdbd;

    line-height: 1.6;
}


/* =========================================
   CARRUSEL
========================================= */

.events-carousel {
    position: relative;

    width: 100%;

    max-width: 1200px;

    margin: auto;

    display: flex;

    align-items: center;

    justify-content: center;
}


.event-card {
    width: 100%;

    max-width: 1100px;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);

    background: #070b13;

    border:
        1px solid
        rgba(50, 160, 255, 0.3);

    box-shadow:
        0 0 40px
        rgba(0, 100, 255, 0.15);

    overflow: hidden;
}


.event-image {
    min-width: 0;

    background: #000000;
}


.event-image img {
    display: block;

    width: 100%;

    height: 100%;

    min-height: 550px;

    object-fit: cover;
}


.event-info {
    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;

    padding: 50px;
}


.event-date {
    color: #35adff;

    font-size: 14px;

    letter-spacing: 4px;
}


.event-info h3 {
    margin-top: 15px;

    font-size:
        clamp(3rem, 6vw, 5rem);

    letter-spacing: 4px;

    line-height: 1;
}


.event-type {
    margin-top: 12px;

    letter-spacing: 5px;
}


.event-location {
    margin-top: 20px;

    color: #999999;

    font-size: 14px;

    letter-spacing: 1px;
}


.event-button {
    margin-top: 40px;

    padding: 15px 30px;

    border:
        none;

    border-radius: 30px;

    background: #159cff;

    color: #ffffff;

    font-size: 14px;

    letter-spacing: 1px;

    cursor: pointer;

    transition: 0.3s ease;
}


.event-button:hover {
    transform: scale(1.05);

    box-shadow:
        0 0 25px
        rgba(21, 156, 255, 0.7);
}


/* FLECHAS */

.carousel-button {
    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    width: 50px;

    height: 50px;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 0;

    border:
        1px solid
        rgba(50, 170, 255, 0.6);

    border-radius: 50%;

    background:
        rgba(0, 0, 0, 0.75);

    color: #ffffff;

    font-size: 24px;

    cursor: pointer;

    z-index: 10;

    transition: 0.3s ease;
}


.carousel-button:hover {
    background: #159cff;

    box-shadow:
        0 0 20px
        rgba(21, 156, 255, 0.7);
}


.carousel-prev {
    left: -25px;
}


.carousel-next {
    right: -25px;
}


/* PUNTOS */

.carousel-dots {
    display: flex;

    justify-content: center;

    align-items: center;

    gap: 10px;

    margin-top: 30px;
}


.carousel-dot {
    width: 9px;

    height: 9px;

    padding: 0;

    border:
        none;

    border-radius: 50%;

    background: #555555;

    cursor: pointer;

    transition: 0.3s ease;
}


.carousel-dot.active {
    background: #159cff;

    box-shadow:
        0 0 10px
        rgba(21, 156, 255, 0.8);

    transform: scale(1.3);
}


/* =========================================
   TICKETS
========================================= */

.ticket-section {
    background:
        radial-gradient(
            circle at center,
            rgba(0, 100, 255, 0.12),
            transparent 55%
        );
}


.ticket-container {
    width: 100%;

    max-width: 1100px;

    margin: auto;

    display: grid;

    grid-template-columns:
        1.5fr
        1fr;

    gap: 30px;

    align-items: start;
}


/* =========================================
   OPCIONES DE ENTRADA
========================================= */

.ticket-options {
    display: flex;

    flex-direction: column;

    gap: 12px;
}


.ticket-option {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        auto
        auto;

    align-items: center;

    gap: 25px;

    padding: 20px;

    background: #070b13;

    border:
        1px solid
        rgba(50, 160, 255, 0.25);

    transition:
        border-color 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


.ticket-option:hover {
    border-color:
        rgba(50, 160, 255, 0.7);

    box-shadow:
        0 0 20px
        rgba(0, 120, 255, 0.08);

    transform: translateX(5px);
}


.ticket-description h3 {
    font-size: 18px;

    letter-spacing: 2px;
}


.ticket-description p {
    margin-top: 5px;

    color: #888888;

    font-size: 13px;
}


.ticket-price {
    color: #35adff;

    font-size: 20px;

    white-space: nowrap;
}


/* =========================================
   CANTIDAD
========================================= */

.quantity {
    display: flex;

    align-items: center;

    justify-content: center;

    gap: 12px;
}


.quantity button {
    width: 34px;

    height: 34px;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 0;

    border:
        1px solid
        #35adff;

    border-radius: 50%;

    background: transparent;

    color: #ffffff;

    font-size: 19px;

    line-height: 1;

    cursor: pointer;

    transition: 0.25s ease;
}


.quantity button:hover {
    background: #159cff;

    box-shadow:
        0 0 12px
        rgba(21, 156, 255, 0.5);
}


.quantity span {
    min-width: 22px;

    text-align: center;

    font-weight: bold;
}


/* =========================================
   RESUMEN
========================================= */

.ticket-summary {
    padding: 30px;

    background: #070b13;

    border:
        1px solid
        rgba(50, 160, 255, 0.4);

    box-shadow:
        0 0 30px
        rgba(0, 100, 255, 0.1);
}


.ticket-summary h3 {
    margin-bottom: 25px;

    font-size: 18px;

    letter-spacing: 3px;
}


#summary-items {
    min-height: 100px;

    color: #bbbbbb;

    line-height: 1.8;
}


.empty-summary {
    color: #777777;
}


.summary-item {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    padding: 5px 0;
}


.summary-item span:last-child {
    color: #ffffff;

    white-space: nowrap;
}


.summary-total {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    margin-top: 25px;

    padding-top: 20px;

    border-top:
        1px solid #222222;

    font-size: 18px;
}


.summary-total strong {
    color: #35adff;

    font-size: 25px;

    white-space: nowrap;
}


.checkout-button {
    width: 100%;

    margin-top: 30px;

    padding: 16px;

    border:
        none;

    border-radius: 30px;

    background: #159cff;

    color: #ffffff;

    font-size: 14px;

    font-weight: bold;

    letter-spacing: 1px;

    cursor: pointer;

    transition: 0.3s ease;
}


.checkout-button:hover:not(:disabled) {
    transform: scale(1.02);

    box-shadow:
        0 0 25px
        rgba(21, 156, 255, 0.7);
}


.checkout-button:disabled {
    background: #333333;

    color: #777777;

    cursor: not-allowed;

    box-shadow: none;
}


/* =========================================
   INFORMACIÓN
========================================= */

.info-section {
    background:
        linear-gradient(
            rgba(0, 20, 40, 0.8),
            rgba(0, 0, 0, 0.9)
        );
}


/* =========================================
   CONTACTO
========================================= */

.contact-section {
    text-align: center;
}


.contact-content {
    max-width: 800px;

    margin: auto;
}


.contact-section h2 {
    margin-bottom: 35px;

    font-size:
        clamp(2rem, 5vw, 3rem);

    font-weight: 300;

    letter-spacing: 3px;
}


.contact-details {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 30px;
}


.contact-details p {
    color: #cfcfcf;

    line-height: 1.8;
}


.contact-details strong {
    color: #ffffff;
}


/* =========================================
   FOOTER
========================================= */

footer {
    padding: 30px;

    border-top:
        1px solid
        rgba(255, 255, 255, 0.1);

    color: #777777;

    font-size: 13px;

    text-align: center;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 900px) {

    .ticket-container {
        grid-template-columns: 1fr;
    }


    .contact-details {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 768px) {

    /* NAVEGACIÓN */

    .navbar {
        height: 70px;

        padding:
            10px 20px;
    }


    .brand img {
        height: 45px;
    }


    .nav-links {
        display: none;
    }


    /* HERO */

    .hero {
        min-height: 90vh;

        padding:
            110px 20px 60px;
    }


    .hero h1 {
        letter-spacing: 8px;

        margin-right: -8px;
    }


    .hero-subtitle {
        letter-spacing: 5px;
    }


    /* EVENTOS */

    .events-carousel {
        padding:
            0 10px;
    }


    .event-card {
        grid-template-columns: 1fr;
    }


    .event-image img {
        width: 100%;

        height: auto;

        min-height: 0;

        max-height: 650px;

        object-fit: cover;
    }


    .event-info {
        padding: 45px 20px;
    }


    .carousel-button {
        width: 40px;

        height: 40px;

        font-size: 18px;
    }


    .carousel-prev {
        left: -5px;
    }


    .carousel-next {
        right: -5px;
    }


    /* TICKETS */

    .events-section,
    .ticket-section,
    .info-section,
    .contact-section {
        padding:
            80px 20px;
    }


    .ticket-option {
        grid-template-columns:
            1fr auto;

        gap: 15px;
    }


    .ticket-price {
        justify-self: end;
    }


    .quantity {
        grid-column:
            1 / -1;

        justify-content: flex-end;
    }


    .ticket-summary {
        padding: 25px 20px;
    }


    /* CONTACTO */

    .contact-details {
        grid-template-columns: 1fr;

        gap: 25px;
    }

}


@media (max-width: 480px) {

    .hero-location {
        font-size: 10px;

        letter-spacing: 3px;
    }


    .hero h1 {
        font-size: 3.6rem;

        letter-spacing: 5px;

        margin-right: -5px;
    }


    .hero-subtitle {
        font-size: 0.9rem;

        letter-spacing: 3px;
    }


    .section-heading h2 {
        font-size: 2rem;
    }


    .ticket-option {
        padding: 16px;
    }


    .ticket-description h3 {
        font-size: 16px;
    }


    .ticket-price {
        font-size: 18px;
    }


    .event-info h3 {
        font-size: 3rem;
    }

}