@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Montserrat:wght@600;700&display=swap');

/* Mobile-first venue page redesign */
.venue-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 1rem 3rem;
}

/* Venue Header */
.venue-header {
    margin-bottom: 2rem;
}

.venue-header-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.venue-logo {
    background: #0f0f16;
    border: 1px solid #242430;
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    max-width: 180px;
}

.venue-logo img {
    max-width: 100%;
    max-height: 100px;
    object-fit: contain;
}

.venue-logo img.logo-invert {
    filter: invert(1) brightness(1.1);
}

.venue-logo-placeholder {
    color: #6b7280;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.venue-info h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    letter-spacing: 0.05em;
    margin: 0 0 0.5rem;
    color: #fff;
}

.venue-address {
    color: #9ca3af;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.venue-location-link {
    display: inline-block;
    color: #00E5FF;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.venue-location-link:hover {
    text-decoration: underline;
}

.venue-description-section {
    margin-bottom: 2rem;
}

.venue-description-section .venue-header-content {
    max-width: 720px;
}

.venue-description {
    color: #d1d5db;
    line-height: 1.6;
    font-size: 0.95rem;
}

.venue-cta-btn {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.6rem 1.25rem;
    background: transparent;
    border: 2px solid #00E5FF;
    color: #00E5FF;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.venue-cta-btn:hover {
    background: rgba(0, 229, 255, 0.15);
}

.venue-cta-text {
    margin-top: 1rem;
    color: #f472b6;
    font-weight: 600;
}

/* Main Content: Seating + Showroom Grid */
.venue-main-content {
    margin-bottom: 2rem;
}

.venue-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.section-heading {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #00E5FF;
    margin: 0 0 0.75rem;
}

.seating-section { order: 1; }
.showroom-section { order: 2; }

/* Image containers - modal triggers */
.image-container {
    display: block;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #242430;
    min-height: 44px;
    min-width: 44px;
    transition: box-shadow 0.3s ease;
    touch-action: manipulation;
}

.image-container img {
    width: 100%;
    height: auto;
    display: block;
    vertical-align: middle;
}

.image-container::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
}

/* Neon hover - desktop only */
@media (hover: hover) {
    .image-container:hover {
        box-shadow:
            0 0 15px rgba(0, 255, 255, 0.6),
            0 0 30px rgba(255, 0, 255, 0.4),
            0 0 45px rgba(0, 255, 255, 0.3);
    }
    .image-container::after {
        content: '🔍';
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 2rem;
        opacity: 0;
        background: rgba(0, 0, 0, 0.2);
        transition: opacity 0.2s;
    }
    .image-container:hover::after {
        opacity: 0.8;
    }
}

.showroom-section .image-container + .image-container {
    margin-top: 0.75rem;
}

/* Parent venue: child showrooms grid */
.venue-parent-gallery {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.venue-child-venues-section {
    margin-bottom: 2rem;
}

.venue-child-venues-section .section-heading {
    margin-bottom: 1rem;
}

.venue-child-venues-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.venue-child-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #0f0f16;
    border: 1px solid #242430;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
    min-height: 44px;
}

.venue-child-card:hover {
    border-color: #00E5FF;
    box-shadow: 0 0 12px rgba(0, 229, 255, 0.25);
}

.venue-child-card-logo {
    flex-shrink: 0;
    width: 80px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #15151c;
    border-radius: 8px;
    padding: 0.5rem;
}

.venue-child-card-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.venue-child-card-logo img.logo-invert {
    filter: invert(1) brightness(1.1);
}

.venue-child-card-placeholder {
    flex-shrink: 0;
    width: 80px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #15151c;
    border-radius: 8px;
    font-size: 0.75rem;
    color: #6b7280;
    text-align: center;
    padding: 0.25rem;
}

.venue-child-card-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
}

.venue-child-card-title {
    font-weight: 600;
    font-size: 1rem;
    color: #fff;
}

.venue-child-card-cta {
    font-size: 0.85rem;
    color: #00E5FF;
}

.venue-child-card:hover .venue-child-card-cta {
    text-decoration: underline;
}

@media (min-width: 600px) {
    .venue-child-venues-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Two-column layout: main + sidebar */
.venue-layout {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.venue-main {
    min-width: 0;
}

/* Sidebar: shows + amenities */
.venue-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.venue-sidebar-block {
    margin-bottom: 0;
}

/* Shows in sidebar - compact cards */
.venue-shows-section {
    padding: 0;
    margin-bottom: 0;
}

.venue-shows-heading {
    margin-bottom: 1rem;
}

.venue-sidebar-shows {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.venue-sidebar-show-card {
    display: flex;
    gap: 0.75rem;
    padding: 0;
    background: #0f0f16;
    border: 1px solid #242430;
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
    min-height: 44px;
}

.venue-sidebar-show-card:hover {
    border-color: #00E5FF;
    box-shadow: 0 0 12px rgba(0, 229, 255, 0.25);
}

.venue-sidebar-show-card img {
    width: 100px;
    min-width: 100px;
    height: 70px;
    object-fit: cover;
    flex-shrink: 0;
}

.venue-sidebar-show-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.25rem;
    padding: 0.5rem 0.75rem 0.5rem 0;
    min-width: 0;
}

.venue-sidebar-show-title {
    font-weight: 600;
    font-size: 0.95rem;
    color: #fff;
    line-height: 1.2;
    text-align: center;
}

.venue-sidebar-show-cta-text {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: -0.2rem;
    text-align: center;
    display: block;
}
/* Cycle CTA colors from SCS logo */
.venue-sidebar-shows .venue-sidebar-show-card:nth-child(4n+1) .venue-sidebar-show-cta-text { color: #E200FF; }
.venue-sidebar-shows .venue-sidebar-show-card:nth-child(4n+2) .venue-sidebar-show-cta-text { color: #00E5FF; }
.venue-sidebar-shows .venue-sidebar-show-card:nth-child(4n+3) .venue-sidebar-show-cta-text { color: #FFD700; }
.venue-sidebar-shows .venue-sidebar-show-card:nth-child(4n+4) .venue-sidebar-show-cta-text { color: #00FFFF; }
.venue-sidebar-shows .venue-sidebar-show-card:nth-child(4n+2) .venue-sidebar-show-cta-text {
    animation: card-cta-pulse 2s ease-in-out infinite;
}

.venue-sidebar-show-price {
    font-size: 0.85rem;
    color: #00E5FF;
    text-align: center;
    display: block;
}

.venue-sidebar-show-cta {
    font-size: 0.8rem;
    font-weight: 600;
    color: #9ca3af;
    margin-top: 0.15rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}
.venue-sidebar-show-cta .card-button-icon {
    font-size: 0.95rem;
    margin-left: 0.3rem;
    color: #ffffff;
}
.venue-sidebar-show-card:hover .venue-sidebar-show-cta .card-button-icon {
    color: inherit;
}

.venue-sidebar-show-card:hover .venue-sidebar-show-cta {
    color: #00E5FF;
}

/* Sidebar amenities - compact list */
.venue-sidebar .amenities-section .section-heading {
    margin-bottom: 0.75rem;
}

.venue-sidebar .directions-btn {
    margin-top: 0.25rem;
}

.venue-sidebar-amenities {
    list-style: none;
    margin: 0 0 1rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.venue-sidebar-amenity {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0.5rem 0.75rem;
    padding: 0.6rem 0.75rem;
    background: #0f0f16;
    border: 1px solid #242430;
    border-radius: 8px;
    font-size: 0.9rem;
}

.venue-sidebar-amenity .amenity-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00E5FF;
}

.venue-sidebar-amenity .amenity-icon .material-icons {
    font-size: 20px;
}

.venue-sidebar-amenity .amenity-icon-image,
.venue-sidebar-amenity .venue-icon-image {
    width: 20px;
    height: 20px;
}

.venue-sidebar-amenity .amenity-title {
    font-weight: 600;
    color: #fff;
}

.venue-sidebar-amenity .amenity-desc {
    width: 100%;
    color: #9ca3af;
    font-size: 0.85rem;
    line-height: 1.4;
    margin-left: 0;
    padding-left: 2.25rem;
    box-sizing: border-box;
}

/* Legacy amenities grid (kept for any other use) */
.amenities-section .section-heading {
    margin-bottom: 1rem;
}

.amenities-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.amenity-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: #0f0f16;
    border: 1px solid #242430;
    border-radius: 10px;
}

.amenity-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00E5FF;
}

.amenity-icon .material-icons {
    font-size: 24px;
}

.amenity-icon-image {
    width: 24px;
    height: 24px;
}

.amenity-content h3 {
    font-size: 1rem;
    margin: 0 0 0.25rem;
}

.amenity-content p {
    color: #9ca3af;
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}

.directions-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    min-height: 44px;
    background: transparent;
    border: 2px solid #00E5FF;
    color: #00E5FF;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.directions-btn:hover {
    background: rgba(0, 229, 255, 0.15);
}

/* Map */
.venue-map-section {
    margin-bottom: 2rem;
}

.embed-frame {
    position: relative;
    padding-top: 56.25%;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #242430;
}

.embed-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* Parent context (compact footer) */
.venue-parent-context {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #1f2937;
}

.parent-context-inner {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.parent-context-inner img {
    height: 56px;
    width: auto;
    object-fit: contain;
}

.parent-context-inner img.logo-invert {
    filter: invert(1) brightness(1.1);
}

.parent-context-label {
    color: #9ca3af;
    font-size: 0.9rem;
}

.parent-context-inner p {
    color: #6b7280;
    font-size: 0.85rem;
    margin: 0.5rem 0 0;
    line-height: 1.5;
}

/* Modal */
.venue-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
}

.venue-modal.open {
    opacity: 1;
    visibility: visible;
}

.venue-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid #333;
    border-radius: 8px;
    color: #fff;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    z-index: 10;
}

.venue-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.venue-modal-content {
    max-width: 95vw;
    max-height: 95vh;
    padding: 1rem;
}

.venue-modal-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow:
        0 0 20px rgba(0, 255, 255, 0.3),
        0 0 40px rgba(255, 0, 255, 0.2);
}

/* Tablet */
@media (min-width: 600px) {
    .venue-page {
        padding: 2rem 1.5rem 3rem;
    }

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

/* Desktop: two-column layout */
@media (min-width: 900px) {
    .venue-header-content {
        flex-direction: row;
        align-items: flex-start;
    }

    .venue-logo {
        min-height: 140px;
        max-width: 200px;
    }

    .venue-logo img {
        max-height: 120px;
    }

    .venue-info h1 {
        font-size: 2.2rem;
    }

    .venue-layout {
        display: grid;
        grid-template-columns: 1fr minmax(300px, 360px);
        gap: 2.5rem;
        align-items: start;
    }

    .venue-sidebar {
        position: sticky;
        top: 1.5rem;
    }

    .venue-grid {
        flex-direction: row;
        gap: 2rem;
    }

    .seating-section,
    .showroom-section {
        flex: 1;
    }

    .amenities-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
