/**
 * Tickets Page Styles
 * Elegant ticket center styling matching the symphony theme
 */

/* ========================================
   HERO SECTION
   ======================================== */
.tickets-hero {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 80px;
}

.tickets-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(135deg, rgba(26, 26, 46, 0.95) 0%, rgba(15, 15, 35, 0.98) 100%),
        url('../img/shroom.jpg') center/cover no-repeat;
    z-index: 1;
}

.tickets-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 2;
}

.tickets-hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 2rem;
    max-width: 800px;
}

.tickets-hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    color: var(--color-gold);
    margin-bottom: 1rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.tickets-hero-content .hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
    letter-spacing: 1px;
}

/* ========================================
   MAIN CONTENT
   ======================================== */
.tickets-content {
    background: var(--color-bg-dark);
    padding: 4rem 0;
}

.tickets-content .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header .section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: var(--color-gold);
    margin-bottom: 0.75rem;
}

.section-header .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    font-weight: 300;
}

/* ========================================
   TICKET PROVIDERS
   ======================================== */
.ticket-providers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.provider-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.5rem;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(197, 161, 90, 0.2);
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.provider-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(197, 161, 90, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.provider-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-gold);
    box-shadow: 0 15px 40px rgba(197, 161, 90, 0.2);
}

.provider-card:hover::before {
    opacity: 1;
}

.provider-card.provider-featured {
    background: linear-gradient(145deg, rgba(197, 161, 90, 0.15) 0%, rgba(197, 161, 90, 0.05) 100%);
    border-color: rgba(197, 161, 90, 0.4);
}

.provider-badge {
    position: absolute;
    top: 0;
    right: 1.5rem;
    background: var(--color-gold);
    color: var(--color-bg-dark);
    padding: 0.25rem 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 0 0 8px 8px;
}

.provider-logo {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0.75rem;
    flex-shrink: 0;
}

.provider-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: brightness(1.1);
}

.provider-info {
    flex: 1;
}

.provider-info h3 {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.provider-info p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin: 0;
}

.provider-arrow {
    color: var(--color-gold);
    font-size: 1.25rem;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.provider-card:hover .provider-arrow {
    opacity: 1;
    transform: translateX(5px);
}

/* ========================================
   TICKET CENTER GRID
   ======================================== */
.ticket-center-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

@media (max-width: 900px) {
    .ticket-center-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Media Frame */
.center-media {
    text-align: center;
}

.media-frame {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.media-frame video,
.media-frame .fallback-image {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16/10;
    object-fit: cover;
}

.media-frame .fallback-image {
    display: none;
}

.media-caption {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-top: 1rem;
    font-style: italic;
}

/* Info Cards */
.center-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-card {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.5rem;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(197, 161, 90, 0.15);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.info-card:hover {
    border-color: rgba(197, 161, 90, 0.3);
    transform: translateX(5px);
}

.info-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-gold) 0%, #d4a94c 100%);
    border-radius: 12px;
    flex-shrink: 0;
}

.info-icon i {
    font-size: 1.25rem;
    color: var(--color-bg-dark);
}

.info-content h4 {
    color: var(--color-gold);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-content p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    line-height: 1.6;
}

.info-content .hours-detail {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0.5rem 0;
}

.info-content .hours-note {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.info-link {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.info-link:hover {
    color: var(--color-gold);
}

/* ========================================
   MAP SECTION
   ======================================== */
.map-section {
    margin-bottom: 4rem;
}

.map-container {
    max-width: 100%;
}

.map-frame {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(197, 161, 90, 0.2);
}

.map-frame iframe {
    display: block;
    filter: grayscale(30%) contrast(1.1);
    transition: filter 0.3s ease;
}

.map-frame:hover iframe {
    filter: grayscale(0%) contrast(1);
}

/* ========================================
   CTA SECTION
   ======================================== */
.tickets-cta {
    text-align: center;
    padding: 3rem;
    background: linear-gradient(145deg, rgba(197, 161, 90, 0.1) 0%, rgba(197, 161, 90, 0.05) 100%);
    border: 1px solid rgba(197, 161, 90, 0.2);
    border-radius: 20px;
}

.cta-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--color-gold);
    margin-bottom: 0.75rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.cta-content .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* ========================================
   FRAME CORNERS (Reuse from main styles)
   ======================================== */
.media-frame .frame-corner,
.map-frame .frame-corner {
    position: absolute;
    width: 30px;
    height: 30px;
    border: 2px solid var(--color-gold);
    z-index: 10;
    pointer-events: none;
}

.media-frame .frame-corner-tl,
.map-frame .frame-corner-tl {
    top: 10px;
    left: 10px;
    border-right: none;
    border-bottom: none;
}

.media-frame .frame-corner-tr,
.map-frame .frame-corner-tr {
    top: 10px;
    right: 10px;
    border-left: none;
    border-bottom: none;
}

.media-frame .frame-corner-bl,
.map-frame .frame-corner-bl {
    bottom: 10px;
    left: 10px;
    border-right: none;
    border-top: none;
}

.media-frame .frame-corner-br,
.map-frame .frame-corner-br {
    bottom: 10px;
    right: 10px;
    border-left: none;
    border-top: none;
}

/* ========================================
   SECTION DIVIDER
   ======================================== */
.section-divider {
    padding: 3rem 0;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
    .tickets-hero {
        min-height: 40vh;
    }
    
    .tickets-content {
        padding: 2rem 0;
    }
    
    .ticket-providers {
        grid-template-columns: 1fr;
    }
    
    .provider-card {
        padding: 1.25rem;
    }
    
    .info-card {
        padding: 1.25rem;
    }
    
    .tickets-cta {
        padding: 2rem 1.5rem;
    }
    
    .map-frame iframe {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .provider-logo {
        width: 55px;
        height: 55px;
    }
    
    .info-icon {
        width: 45px;
        height: 45px;
    }
    
    .info-icon i {
        font-size: 1rem;
    }
}
