/* Sophisticated Cinema-Tech Elements */

/* Film Grain Texture for Sections */
.section {
    position: relative;
}

.section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, transparent 20%, rgba(255,255,255,0.003) 21%, rgba(255,255,255,0.003) 34%, transparent 35%, transparent),
        linear-gradient(0deg, rgba(255,255,255,0.001) 50%, transparent 50%);
    background-size: 8px 8px, 2px 2px;
    opacity: 0.4;
    pointer-events: none;
    z-index: 1;
}

/* Geometric Film Strip Accents */
.film-strip-divider {
    height: 3px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(240, 80, 48, 0.3) 5%, 
        rgba(240, 80, 48, 0.6) 50%, 
        rgba(240, 80, 48, 0.3) 95%, 
        transparent 100%);
    position: relative;
    margin: 60px 0;
    overflow: hidden;
}

.film-strip-divider::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: film-scan 4s ease-in-out infinite;
}

@keyframes film-scan {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: -100%; }
}

/* Perforated Edge Patterns */
.perforated-edge {
    position: relative;
    margin: 40px 0;
}

.perforated-edge::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: 
        radial-gradient(circle at 10px 1px, transparent 2px, rgba(240, 80, 48, 0.3) 2px, rgba(240, 80, 48, 0.3) 3px, transparent 3px),
        linear-gradient(90deg, rgba(240, 80, 48, 0.1) 0%, rgba(240, 80, 48, 0.3) 50%, rgba(240, 80, 48, 0.1) 100%);
    background-size: 20px 2px, 100% 2px;
}

.perforated-edge::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: 
        radial-gradient(circle at 10px 1px, transparent 2px, rgba(240, 80, 48, 0.3) 2px, rgba(240, 80, 48, 0.3) 3px, transparent 3px),
        linear-gradient(90deg, rgba(240, 80, 48, 0.1) 0%, rgba(240, 80, 48, 0.3) 50%, rgba(240, 80, 48, 0.1) 100%);
    background-size: 20px 2px, 100% 2px;
}

/* Cinematic Lighting Effects */
.spotlight-section {
    position: relative;
    overflow: hidden;
}

.spotlight-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.08) 0%, rgba(212, 175, 55, 0.02) 40%, transparent 70%);
    transform: rotate(-15deg);
    z-index: 1;
    pointer-events: none;
}

/* Lens Flare Animation on Hover */
.lens-flare-hover {
    position: relative;
    overflow: hidden;
}

.lens-flare-hover::after {
    content: '';
    position: absolute;
    top: 20%;
    right: -10%;
    width: 20%;
    height: 60%;
    background: radial-gradient(ellipse at center, 
        rgba(212, 175, 55, 0.4) 0%, 
        rgba(212, 175, 55, 0.2) 30%, 
        rgba(255, 255, 255, 0.1) 50%, 
        transparent 70%);
    opacity: 0;
    transform: scale(0.8) rotate(25deg);
    transition: all 0.6s ease;
    pointer-events: none;
    z-index: 2;
}

.lens-flare-hover:hover::after {
    opacity: 1;
    transform: scale(1) rotate(25deg);
}

/* Cinema Aspect Ratio Containers */
.aspect-cinema {
    aspect-ratio: 2.35 / 1; /* Cinemascope */
    overflow: hidden;
    border-radius: 8px;
    position: relative;
}

.aspect-widescreen {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 8px;
    position: relative;
}

/* Seat Map Data Visualization */
.cinema-data-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(12px, 1fr));
    gap: 2px;
    max-width: 300px;
    margin: 20px 0;
}

.cinema-seat {
    aspect-ratio: 1;
    border-radius: 2px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.cinema-seat.occupied {
    background: rgba(37, 34, 51, 0.8);
}

.cinema-seat.available {
    background: rgba(240, 80, 48, 0.4);
}

.cinema-seat.premium {
    background: rgba(212, 175, 55, 0.6);
}

.cinema-seat:hover {
    transform: scale(1.2);
    z-index: 10;
    position: relative;
}

/* Film Timeline for Company Journey */
.film-timeline {
    position: relative;
    padding: 40px 0;
}

.film-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, 
        transparent 0%, 
        rgba(240, 80, 48, 0.6) 20%, 
        rgba(240, 80, 48, 0.8) 50%, 
        rgba(240, 80, 48, 0.6) 80%, 
        transparent 100%);
    transform: translateX(-50%);
}

.timeline-event {
    position: relative;
    margin: 30px 0;
    padding: 0 60px;
}

.timeline-event::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 12px;
    height: 12px;
    background: var(--brand-orange);
    border: 3px solid rgba(10, 15, 28, 1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

/* Progress Bars with Film Loading Style */
.film-progress {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.film-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(240, 80, 48, 0.8) 0%, 
        rgba(212, 175, 55, 0.9) 50%, 
        rgba(240, 80, 48, 0.8) 100%);
    border-radius: 3px;
    position: relative;
    transition: width 0.8s ease;
}

.film-progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: -30px;
    width: 30px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: film-loading 2s ease-in-out infinite;
}

@keyframes film-loading {
    0% { left: -30px; }
    100% { left: 100%; }
}

/* Monospace Tech Display */
.cinema-tech-display {
    font-family: 'Courier New', monospace;
    background: rgba(255, 77, 31, 0.05);
    border: 1px solid rgba(255, 77, 31, 0.2);
    padding: 15px 20px;
    border-radius: 6px;
    color: var(--brand-orange);
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.cinema-tech-display::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(240, 80, 48, 0.1), transparent);
    animation: tech-scan 3s ease-in-out infinite;
}

@keyframes tech-scan {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: -100%; }
}

/* Depth of Field Blur for Backgrounds */
.depth-blur {
    filter: blur(0.5px);
    transition: filter 0.3s ease;
}

.depth-blur:hover {
    filter: blur(0px);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .film-strip-divider {
        margin: 30px 0;
    }
    
    .perforated-edge {
        margin: 20px 0;
    }
    
    .spotlight-section::before {
        left: 10%;
        width: 80%;
    }
    
    .cinema-data-grid {
        max-width: 200px;
    }
}