﻿/* URGENT FIXES FOR INSPIRE PICTURES */

/* 1. Fix loader animation - center spinner properly */
.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #0a0a0a;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.3s ease;
}

.film-countdown {
    position: relative;
    width: 130px;
    height: 130px;
    align-items: center;
    justify-content: center;
}

.countdown-circle {
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.countdown-number {
    font-size: 120px;
    fill: #FF8500;
    font-family: 'Bebas Neue', sans-serif;
    font-weight: bold;
    dominant-baseline: central;
    text-anchor: middle;
    opacity: 0;
    transform: scale(1);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.countdown-circle.active,
.countdown-number.active {
    opacity: 1;
    transform: scale(1);
}

.loader-container.hide {
    opacity: 0;
    pointer-events: none;
}
/* 2. Remove Film Frame Border Effect completely */
.film-perforations {
    display: none !important;
}

/* 3. Fix header margin - start from top */
.navbar {
    position: fixed;
    top: 0 !important;
    left: 0;
    right: 0;
    padding: 15px 40px !important;
    margin-top: 0 !important;
    background: linear-gradient(180deg, rgba(10,10,10,0.95) 0%, rgba(10,10,10,0.8) 100%);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.hero-section {
    padding-top: 80px !important; /* Account for fixed navbar */
    margin-top: 0 !important;
}

/* 4. Remove director-viewfinder near logo */
.logo-container .director-viewfinder {
    display: none !important;
}

/* 5. Center logo in camera viewfinder */
.hero-video-placeholder {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.hero-video-placeholder img {
    max-width: 150px !important;
    opacity: 0.6 !important;
    filter: brightness(1.2);
}

.camera-viewfinder {
    position: relative;
    width: 100%;
    max-width: 500px;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #0a0a0a 0%, #132545 100%);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(255, 133, 0, 0.2);
}

.viewfinder-frame {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

/* 6. Fix clapperboard design - FORCE OVERRIDE */
.director-slate {
    display: inline-block !important;
    background: #1a1a1a !important;
    border: 3px solid #FF8500 !important;
    border-radius: 8px !important;
    padding: 20px 35px !important;
    margin-bottom: 30px !important;
    position: relative !important;
    transform: none !important;
    box-shadow: 0 15px 40px rgba(255, 133, 0, 0.3) !important;
    min-width: 280px !important;
}

.director-slate::before {
    content: '' !important;
    position: absolute !important;
    top: -25px !important;
    left: -3px !important;
    right: -3px !important;
    height: 25px !important;
    background: repeating-linear-gradient(
        45deg,
        #1a1a1a 0px,
        #1a1a1a 10px,
        #FF8500 10px,
        #FF8500 15px,
        #fff 15px,
        #fff 20px,
        #1a1a1a 20px,
        #1a1a1a 30px
    ) !important;
    transform-origin: bottom !important;
    transform: rotateX(-15deg) !important;
    border: 3px solid #FF8500 !important;
    border-bottom: none !important;
    border-radius: 8px 8px 0 0 !important;
}

.slate-top {
    display: flex !important;
    justify-content: space-between !important;
    gap: 60px !important;
    margin-bottom: 15px !important;
    font-size: 14px !important;
    letter-spacing: 3px !important;
    color: #FF8500 !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
}

.slate-numbers {
    display: flex !important;
    justify-content: space-between !important;
    gap: 60px !important;
    font-size: 36px !important;
    font-family: 'Bebas Neue', sans-serif !important;
    color: #ffffff !important;
    text-shadow: 0 2px 10px rgba(255, 133, 0, 0.8) !important;
}

.slate-numbers span {
    background: rgba(255, 133, 0, 0.1) !important;
    padding: 8px 20px !important;
    border-radius: 4px !important;
    border: 2px solid #FF8500 !important;
    min-width: 80px !important;
    text-align: center !important;
}

/* Additional improvements */
.rec-indicator {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #ff0000;
    font-size: 14px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
    animation: pulse 1.5s infinite;
}

.rec-indicator::before {
    content: '';
    width: 10px;
    height: 10px;
    background: #ff0000;
    border-radius: 50%;
    animation: blink 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.timecode {
    position: absolute;
    bottom: 20px;
    right: 20px;
    color: #FF8500;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    letter-spacing: 1px;
}

/* Viewfinder corners */
.corner {
    position: absolute;
    width: 30px;
    height: 30px;
    border: 2px solid #FF8500;
}

.corner.tl {
    top: 10px;
    left: 10px;
    border-right: none;
    border-bottom: none;
}

.corner.tr {
    top: 10px;
    right: 10px;
    border-left: none;
    border-bottom: none;
}

.corner.bl {
    bottom: 10px;
    left: 10px;
    border-right: none;
    border-top: none;
}

.corner.br {
    bottom: 10px;
    right: 10px;
    border-left: none;
    border-top: none;
}
