/* Estadio Page Specific Styles */

/* Hero Section */
.estadio-hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    color: var(--white);
    overflow: hidden;
    margin-top: 0;
    padding-top: var(--header-height);
    background-color: #000;
}

.estadio-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: 0;
    transform: scale(1);
    transition: transform 10s ease-out;
}

.estadio-hero:hover .estadio-bg-img {
    transform: scale(1.05);
}

.estadio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.3) 20%),
        linear-gradient(to right, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.65) 40%, rgba(0, 0, 0, 0.4) 70%, rgba(0, 0, 0, 0.25) 100%),
        linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, transparent 30%);
    z-index: 1;
}

.estadio-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin-left: 5%;
    padding-right: 20px;
    animation: fadeUp 1s ease-out;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.estadio-badge {
    display: inline-block;
    background: rgba(243, 106, 33, 0.2);
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 8px 18px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    backdrop-filter: blur(10px);
}

.estadio-hero-title {
    font-size: clamp(3rem, 5vw, 5.5rem);
    line-height: 1.1;
    margin-bottom: 24px;
    font-weight: 900;
    text-shadow:
        2px 2px 8px rgba(0, 0, 0, 0.8),
        0 4px 12px rgba(0, 0, 0, 0.6);
}

.estadio-hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 40px;
    max-width: 650px;
    line-height: 1.8;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
    font-weight: 400;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, #ff8c42 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
    letter-spacing: 1px;
}

/* Main Section */
.estadio-main-section {
    padding: 80px 0;
    background: linear-gradient(to bottom, #fafafa 0%, #ffffff 100%);
}

.estadio-description-wrapper {
    max-width: 900px;
    margin: 40px auto 0;
}

/* Info Card */
.estadio-info-card {
    background: var(--white);
    padding: 50px;
    border-radius: 24px;
    box-shadow:
        0 15px 50px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(243, 106, 33, 0.1);
    border-top: 5px solid var(--primary);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.estadio-info-card:hover {
    transform: translateY(-5px);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(243, 106, 33, 0.2);
}

.info-card-header {
    margin-bottom: 40px;
}

.info-card-badge {
    display: inline-block;
    background: rgba(243, 106, 33, 0.1);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.estadio-info-card h2 {
    font-size: 2.2rem;
    margin-bottom: 0;
    color: var(--dark);
    font-weight: 900;
    letter-spacing: -0.5px;
}

.info-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.info-feature {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, rgba(243, 106, 33, 0.8) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--white);
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    stroke-width: 2.5;
}

.feature-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 6px;
}

.feature-content p {
    font-size: 1rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.5;
}

/* Description Card */
.estadio-description-card {
    background: linear-gradient(135deg, var(--dark) 0%, #1a1a1a 100%);
    padding: 50px;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.estadio-description-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(243, 106, 33, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(30%, -30%);
}

.description-content {
    position: relative;
    z-index: 1;
}

.description-badge {
    display: inline-block;
    background: rgba(243, 106, 33, 0.2);
    border: 1px solid rgba(243, 106, 33, 0.4);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.estadio-description-card h3 {
    font-size: 2rem;
    margin-bottom: 24px;
    font-weight: 900;
    color: var(--white);
}

.estadio-description-card p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    text-align: justify;
}

.description-features {
    margin-top: 35px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.description-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

.description-feature-item svg {
    width: 20px;
    height: 20px;
    stroke: var(--primary);
    stroke-width: 3;
    flex-shrink: 0;
}

/* Gallery Collage Section */
.estadio-gallery-section {
    padding: 80px 0;
    background: linear-gradient(to bottom, #ffffff 0%, #fafafa 100%);
}

.gallery-section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.gallery-section-header .section-label {
    display: inline-block;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.gallery-section-header h2 {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--dark);
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.gallery-section-header p {
    font-size: 1.15rem;
    color: var(--text-light);
    line-height: 1.7;
}

.gallery-collage {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    grid-auto-rows: 250px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    cursor: pointer;
    background: var(--dark);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeInUp 0.6s ease-out backwards;
}



@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gallery-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 50px rgba(243, 106, 33, 0.3);
    z-index: 10;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover img {
    transform: scale(1.15);
}

.gallery-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom,
            transparent 0%,
            rgba(0, 0, 0, 0.3) 50%,
            rgba(0, 0, 0, 0.7) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: flex-end;
    padding: 20px;
    pointer-events: none;
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-item-icon {
    width: 50px;
    height: 50px;
    background: rgba(243, 106, 33, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-item-icon {
    transform: scale(1);
}

.gallery-item-icon svg {
    width: 24px;
    height: 24px;
}

/* Lightbox Modal */
.lightbox-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: lightboxFadeIn 0.4s ease;
}

@keyframes lightboxFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.lightbox-info {
    margin-top: 20px;
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10001;
    backdrop-filter: blur(10px);
}

.lightbox-close:hover {
    background: rgba(243, 106, 33, 0.9);
    border-color: var(--primary);
    transform: rotate(90deg);
}

.lightbox-close svg {
    width: 24px;
    height: 24px;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10001;
    backdrop-filter: blur(10px);
}

.lightbox-nav:hover {
    background: rgba(243, 106, 33, 0.9);
    border-color: var(--primary);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

.lightbox-nav svg {
    width: 28px;
    height: 28px;
}

/* Map Section */
.estadio-map-section {
    padding: 80px 0;
    background: var(--white);
}

.map-section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.map-section-header .section-label {
    display: inline-block;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.map-section-header h2 {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--dark);
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.map-section-header p {
    font-size: 1.15rem;
    color: var(--text-light);
    line-height: 1.7;
}

.estadio-map-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

.map-wrapper {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    position: relative;
}

.map-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 16px;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
    pointer-events: none;
    z-index: 1;
}

.map-wrapper iframe {
    display: block;
    width: 100%;
    height: 450px;
    border: none;
}

.map-info-card {
    background: linear-gradient(135deg, #fafafa 0%, var(--white) 100%);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-left: 4px solid var(--primary);
}

.map-info-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 20px;
}

.map-address {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 0;
}

/* Responsive */
@media (max-width: 1024px) {

    .estadio-main-grid,
    .estadio-map-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .info-features-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .description-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1024px) {
    .gallery-collage {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 15px;
    }


}

@media (max-width: 768px) {
    .estadio-hero {
        height: 100vh;
        min-height: 100vh;
        justify-content: center;
        align-items: center;
    }

    .estadio-hero-content {
        margin: 0 auto;
        padding: 0 20px;
        padding-right: 20px;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        max-width: 100%;
    }

    .estadio-badge {
        text-align: center;
    }

    .estadio-hero-title {
        text-align: center;
    }

    .estadio-hero-subtitle {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .estadio-info-card,
    .estadio-description-card {
        padding: 35px 25px;
    }

    .estadio-gallery-section {
        padding: 60px 0;
    }

    .gallery-section-header {
        margin-bottom: 40px;
    }

    .gallery-section-header h2 {
        font-size: 2.2rem;
    }

    .gallery-collage {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 12px;
        grid-auto-rows: 180px;
    }



    .lightbox-close {
        top: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
    }

    .lightbox-nav {
        width: 50px;
        height: 50px;
    }

    .lightbox-prev {
        left: 15px;
    }

    .lightbox-next {
        right: 15px;
    }

    .lightbox-content img {
        max-height: 75vh;
    }

    .map-wrapper iframe {
        height: 350px;
    }

    .map-section-header h2 {
        font-size: 2.2rem;
    }
}