/* Dark Shadow VFX Website Styles */

/* Dark Theme Variables */
:root {
    --glitch-intensity: 0.03;
    --darkness-level: 0.15;
    --shadow-spread: 10px;
    --eerie-glow: rgba(255, 30, 30, 0.4);
}

/* Global Styles */
:root {
    --primary-color: #000;
    --secondary-color: #fff;
    --accent-color: #333;
    --font-primary: 'Montserrat', sans-serif;
    --font-barcode: 'Libre Barcode 39 Text', cursive;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Mysterious overlay for the whole page */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9000;
    animation: colorInvert 20s infinite, vignettePulse 12s infinite ease-in-out;
    mix-blend-mode: overlay;
    box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.7);
}

/* Subtle text distortion for all text elements */
h1, h2, h3, p, .section-title, .tagline, .mission-statement, nav ul li a {
    position: relative;
    animation: textShadowFlicker 8s infinite alternate ease-in-out;
}

@keyframes textShadowFlicker {
    0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
        text-shadow: 0 0 1px rgba(0,0,0,0.1), 0 0 0 rgba(255,0,0,0);
    }
    20%, 24%, 55% {
        text-shadow: 0 0 1px rgba(255,0,0,0.3), 0 0 3px rgba(255,0,0,0.3);
    }
}

/* Legacy text shadow - keeping for reference */
text-shadow {
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.7);
    animation: textDistort 7s infinite alternate ease-in-out;
}

@keyframes textDistort {
    0%, 100% {
        text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.7);
    }
    50% {
        text-shadow: -1px -1px 1px rgba(255, 0, 0, 0.4), 1px 1px 1px rgba(0, 0, 0, 0.7);
    }
}

/* Body styles */
body {
    font-family: var(--font-primary);
    background-color: var(--secondary-color); /* White background */
    color: var(--primary-color);
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
    animation: screenShake 30s infinite cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
    opacity: 1; /* Fully visible */
}

/* Initially hide all content until splash screen fades away */
/* header, section, footer, .barcode-background, .page-loader {
    opacity: 0;
    transition: opacity 2s ease;
}

body.content-visible header,
body.content-visible section,
body.content-visible footer,
body.content-visible .barcode-background,
body.content-visible .page-loader {
    opacity: 1;
} */

/* Add depth effect to elements when the spotlight passes over them */
.portfolio-item, .section-title, nav ul li a, .client-logo, .logo, .barcode-divider {
    transition: filter 0.3s ease, transform 0.3s ease;
}

.spotlight-active .portfolio-item:hover,
.spotlight-active .section-title:hover,
.spotlight-active nav ul li a:hover,
.spotlight-active .client-logo:hover,
.spotlight-active .logo:hover,
.spotlight-active .barcode-divider:hover {
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.5));
    transform: translateZ(10px);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Barcode Background Animation */
.barcode-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    opacity: 0.05;
    background-image: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 15px,
        #000 15px,
        #000 16px,
        transparent 16px,
        transparent 30px,
        #000 30px,
        #000 31px,
        transparent 31px,
        transparent 60px
    );
    animation: fadeBarcode 20s infinite alternate, moveBarcode 60s linear infinite, occasionalGlitch 30s infinite;
    background-size: 200% 200%;
}

@keyframes fadeBarcode {
    0% {
        opacity: 0.02;
    }
    50% {
        opacity: 0.05;
    }
    100% {
        opacity: 0.02;
    }
}

@keyframes moveBarcode {
    0% {
        background-position: 0% 0%;
    }
    25% {
        background-position: 25% 10%;
    }
    50% {
        background-position: 50% 0%;
    }
    75% {
        background-position: 25% -10%;
    }
    100% {
        background-position: 0% 0%;
    }
}

/* Screen Shake Animation */
@keyframes screenShake {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    10% {
        transform: translate(-2px, -2px) rotate(-0.5deg);
    }
    20% {
        transform: translate(2px, 2px) rotate(0.5deg);
    }
    30% {
        transform: translate(-1px, 1px) rotate(-0.25deg);
    }
    40% {
        transform: translate(1px, -1px) rotate(0.25deg);
    }
    50% {
        transform: translate(-2px, 0) rotate(-0.5deg);
    }
    60% {
        transform: translate(0, 2px) rotate(0);
    }
    70% {
        transform: translate(2px, 0) rotate(0.5deg);
    }
    80% {
        transform: translate(0, -2px) rotate(0);
    }
    90% {
        transform: translate(-1px, -1px) rotate(-0.25deg);
    }
}

/* Color Inversion Animation */
@keyframes colorInvert {
    0%, 95%, 100% {
        filter: invert(0);
    }
    95.5%, 99.5% {
        filter: invert(1);
    }
}

/* Vignette Pulsing Animation */
@keyframes vignettePulse {
    0%, 100% {
        box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.7);
    }
    50% {
        box-shadow: inset 0 0 150px rgba(0, 0, 0, 0.9);
    }
}

/* Digital Glitch Animation */
@keyframes digitalGlitch {
    0%, 95%, 100% {
        clip-path: none;
        transform: none;
        opacity: 1;
    }
    96% {
        clip-path: polygon(0 0, 100% 0, 100% 25%, 0 25%);
        transform: translate(-10px, 0);
        opacity: 0.95;
    }
    97% {
        clip-path: polygon(0 25%, 100% 25%, 100% 50%, 0 50%);
        transform: translate(10px, 0);
    }
    98% {
        clip-path: polygon(0 50%, 100% 50%, 100% 75%, 0 75%);
        transform: translate(-5px, 0);
    }
    99% {
        clip-path: polygon(0 75%, 100% 75%, 100% 100%, 0 100%);
        transform: translate(5px, 0);
    }
}

/* Glitch effect for images in the portfolio */
.portfolio-image {
    animation: digitalGlitch 30s infinite;
}

/* Dark Ambient Animation */
@keyframes darkAmbient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes occasionalGlitch {
    0%, 98%, 100% {
        transform: translateX(0);
        opacity: 0.05;
    }
    98.2% {
        transform: translateX(10px);
        opacity: 0.07;
    }
    98.4% {
        transform: translateX(-5px);
        opacity: 0.03;
    }
    98.6% {
        transform: translateX(3px);
        opacity: 0.06;
    }
    98.8% {
        transform: translateX(0);
        opacity: 0.05;
    }
}

/* Header Styles */
header {
    padding: 40px 0;
    text-align: center;
}

.logo-container {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
    width: 600px;
    max-width: 100%;
}

.logo {
    max-width: 600px;
    height: auto;
    position: relative;
    animation: logoFlicker 15s infinite;
}

@keyframes logoFlicker {
    0%, 95%, 95.5%, 96%, 96.5%, 97%, 97.5%, 98%, 98.5%, 99%, 99.5%, 100% {
        opacity: 1;
        transform: none;
        filter: none;
    }
    95.1%, 96.1%, 97.1%, 98.1%, 99.1% {
        opacity: 0.8;
        transform: translateX(-2px);
        filter: drop-shadow(2px 0 1px rgba(255,0,0,0.5));
    }
    95.3%, 96.3%, 97.3%, 98.3%, 99.3% {
        opacity: 0.9;
        transform: translateX(2px);
        filter: drop-shadow(-2px 0 1px rgba(255,0,0,0.5));
    }
}

.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background-color: rgba(255, 0, 0, 0.8);
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.9);
    animation: scanAnimation 3s linear infinite;
    z-index: 10;
}

@keyframes scanAnimation {
    0% {
        left: 0;
        opacity: 0.7;
    }
    45% {
        opacity: 0.9;
    }
    55% {
        opacity: 0.9;
    }
    100% {
        left: 100%;
        opacity: 0;
    }
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 30px 0;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    display: block;
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 15px;
    overflow: hidden;
    border: 1px solid transparent;
}

/* Barcode styling for nav links */
nav ul li a:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.05) 2px,
        rgba(0, 0, 0, 0.05) 4px
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

/* Scanner line effect */
nav ul li a:after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 2px;
    height: 100%;
    background-color: rgba(255, 0, 0, 0.6);
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.8);
    transition: left 0.5s ease;
    z-index: 1;
}

/* Hover states */
nav ul li a:hover {
    background-color: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

nav ul li a:hover:before {
    opacity: 1;
}

nav ul li a:hover:after {
    animation: navScanAnimation 1s ease forwards;
}

@keyframes navScanAnimation {
    0% {
        left: -10%;
        opacity: 1;
    }
    100% {
        left: 110%;
        opacity: 0;
    }
}

/* Active state for navigation */
nav ul li a.active {
    background-color: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.15);
}

.tagline {
    font-size: 18px;
    font-style: italic;
    margin-top: 10px;
    opacity: 0.8;
}

/* Section Styles */
.section {
    padding: 80px 0;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 20px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.barcode-divider {
    height: 30px;
    background-image: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 5px,
        #000 5px,
        #000 6px,
        transparent 6px,
        transparent 10px
    );
    width: 200px;
    margin: 0 auto 40px;
    position: relative;
}

.barcode-divider:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #fff, transparent 10%, transparent 90%, #fff);
}

/* About Section */
.mission-statement {
    font-size: 22px;
    text-align: center;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-style: italic;
}

.description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 20px;
    font-size: 18px;
}

.centered-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    font-size: 16px;
}

/* Work Section */
.film-strip-container {
    position: relative;
    overflow: visible;
    width: 100%;
    padding: 20px 0 40px;
    margin: 20px 0;
}

.film-strip {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 30px 30px;
    margin: 0 40px;
    scrollbar-width: none;  /* For Firefox */
    -ms-overflow-style: none;  /* For Internet Explorer and Edge */
    perspective: 1000px;
}

.film-strip::-webkit-scrollbar {
    display: none;  /* For Chrome, Safari, and Opera */
}

.portfolio-item {
    flex: 0 0 220px;
    height: 320px;
    position: relative;
    border: none;
    overflow: hidden;
    transition: all 0.4s ease;
    transform: scale(0.95);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 2px;
    margin: 0 5px;
}

/* Film strip holes */
.portfolio-item:before, .portfolio-item:after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.7);
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.portfolio-item:before {
    top: -10px;
}

.portfolio-item:after {
    bottom: -10px;
}

.portfolio-item:hover {
    transform: scale(1) rotate(1deg);
    z-index: 5;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.portfolio-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center top;
    transition: transform 0.6s ease;
    position: relative;
}

.portfolio-image:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 70%, rgba(0, 0, 0, 0.7) 100%);
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-image {
    transform: scale(1.05);
}

.portfolio-item:hover .portfolio-image:before {
    opacity: 0.9;
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    color: white;
    padding: 15px;
    transform: translateY(0);
    transition: transform 0.4s ease;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 50%;
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
}

.portfolio-overlay h3 {
    font-size: 16px;
    margin: 0;
    font-weight: 500;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.nav-button {
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: absolute;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    top: 50%;
    transform: translateY(-50%);
}

.prev-button {
    left: 5px;
}

.next-button {
    right: 5px;
}

.nav-button:hover {
    background-color: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
}

/* Car Shot Section */
.car-shot-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 20px;
}

.car-shot-header {
    text-align: center;
    margin-bottom: 30px;
}

.car-shot-tagline {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.car-shot-tagline span {
    position: relative;
    z-index: 1;
    border-bottom: 2px solid rgba(255, 0, 0, 0.7);
}

.car-shot-tagline:before {
    content: '';
    position: absolute;
    left: -20px;
    top: 50%;
    height: 2px;
    width: 15px;
    background: #000;
    transform: translateY(-50%);
}

.car-shot-tagline:after {
    content: '';
    position: absolute;
    right: -20px;
    top: 50%;
    height: 2px;
    width: 15px;
    background: #000;
    transform: translateY(-50%);
}

.car-shot-text {
    max-width: 800px;
    margin: 0 auto;
    font-size: 17px;
    line-height: 1.7;
}

.car-shot-text p {
    margin-bottom: 20px;
}

.car-shot-text h4 {
    font-size: 22px;
    margin: 30px 0 20px;
    position: relative;
    display: inline-block;
    font-weight: 600;
}

.car-shot-text h4:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-image: linear-gradient(90deg, #000, transparent);
}

.car-shot-text strong {
    font-weight: 600;
}

.car-shot-text em {
    font-style: italic;
    color: rgba(0, 0, 0, 0.8);
}

.car-shot-cta {
    margin-top: 30px;
    padding: 20px;
    text-align: center;
    font-size: 20px;
    position: relative;
    background-color: rgba(0, 0, 0, 0.03);
    border-left: 3px solid rgba(255, 0, 0, 0.6);
}

.car-shot-cta:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 5px,
        rgba(0, 0, 0, 0.01) 5px,
        rgba(0, 0, 0, 0.01) 10px
    );
    pointer-events: none;
}

.car-shot-gallery {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.image-placeholder {
    width: 100%;
    max-width: 600px;
    height: 300px;
    background-color: rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.image-placeholder:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(0, 0, 0, 0.02) 10px,
        rgba(0, 0, 0, 0.02) 20px
    );
}

.placeholder-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.placeholder-text {
    font-size: 16px;
    color: rgba(0, 0, 0, 0.6);
}

@media (min-width: 992px) {
    .car-shot-content {
        grid-template-columns: 2fr 1fr;
        align-items: start;
    }
    
    .car-shot-header {
        grid-column: 1 / -1;
    }
}
/* Clients Section */
.client-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.client-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    background-color: rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    padding: 15px;
}

.company-logo {
    max-width: 90%;
    max-height: 80%;
    object-fit: contain;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
    transition: all 0.4s ease;
    opacity: 0.85;
}

.client-logo:hover .company-logo {
    filter: drop-shadow(0 8px 15px rgba(0, 0, 0, 0.5));
    transform: translateY(-5px);
    opacity: 1;
}

.client-logo:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background-color: rgba(255, 0, 0, 0.7);
    transition: width 0.5s ease;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
}

.client-logo:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 0;
    background-color: rgba(255, 0, 0, 0.6);
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.8);
    animation: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.client-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    background-color: rgba(0, 0, 0, 0.02);
}

.client-logo:hover:before {
    width: 100%;
}

.client-logo:hover:after {
    opacity: 1;
    animation: clientScanAnimation 1.5s linear 1;
}

@keyframes clientScanAnimation {
    0% {
        left: 0;
        height: 100%;
        opacity: 0.7;
    }
    100% {
        left: 100%;
        height: 100%;
        opacity: 0;
    }
}

/* Contact Section */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    font-family: var(--font-primary);
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.submit-button {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 40px 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-logo-img {
    max-width: 200px;
    height: auto;
}

.footer-info p {
    margin: 5px 0;
    font-size: 14px;
}

/* Vignette overlay */
.vignette-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 8000;
    box-shadow: inset 0 0 150px rgba(0, 0, 0, 0.8);
    mix-blend-mode: multiply;
    animation: darkenPulse 20s infinite alternate ease-in-out;
}

@keyframes darkenPulse {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.6;
    }
}

/* Flashlight effect */
.flashlight {
    position: fixed;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.25) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10;
    opacity: 0;
    mix-blend-mode: overlay;
    box-shadow: 0 0 30px 5px rgba(255, 255, 255, 0.3);
    filter: blur(3px);
    transition: opacity 1s ease, width 0.5s ease, height 0.5s ease;
}

/* Cursor spotlight effect */
.spotlight-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    pointer-events: none;
    z-index: 9990;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.spotlight-active .spotlight-overlay {
    opacity: 1;
}

.cursor-spotlight {
    position: fixed;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.2) 40%, transparent 80%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 15px 2px rgba(255, 255, 255, 0.25);
    mix-blend-mode: hard-light;
}

.flashlight.visible {
    opacity: 1;
}

.flashlight.primary {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    filter: blur(2px);
}

.flashlight.secondary {
    background: radial-gradient(circle, rgba(255, 230, 200, 0.2) 0%, transparent 65%);
}

/* Parallax movement classes */
.parallax-container {
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.parallax-element {
    transition: transform 0.1s ease-out, filter 0.1s ease-out;
    will-change: transform;
}

.parallax-deep {
    --depth: 0.04;  /* Moves more, appears deeper */
}

/* Special handling for company logos in parallax */
.client-logo.parallax-element {
    --depth: 0.06;  /* Extra deep movement for logos */
    transform-origin: center center;
}

.parallax-medium {
    --depth: 0.02;  /* Medium movement */
}

.parallax-shallow {
    --depth: 0.01;  /* Subtle movement, appears closer to surface */
}

/* Section Animation */
.section {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
    position: relative;
}

.section.animate {
    opacity: 1;
    transform: translateY(0);
}

.section.animate::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-image: linear-gradient(90deg, transparent, #000, transparent);
    animation: sectionScanLine 1.5s ease forwards;
    opacity: 0.5;
}

@keyframes sectionScanLine {
    0% {
        width: 0;
        left: 0;
    }
    100% {
        width: 100%;
        left: 0;
    }
}

/* Splash Screen */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 5vh;
    z-index: 10000; /* Higher than page-loader */
    opacity: 1;
    transition: opacity 2s ease;
    visibility: visible; /* Ensure splash is visible */
}

.splash-screen.hidden {
    opacity: 0;
    pointer-events: none;
}

.splash-content {
    text-align: center;
    max-width: 80%;
}

.splash-logo {
    max-width: 100%;
    height: auto;
    opacity: 0;
    animation: splashAppear 0.5s ease-out forwards, glow 1s ease-in-out infinite alternate 0.5s;
}

@keyframes splashAppear {
    0% {
        opacity: 0;
        transform: scale(0.98);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes glow {
    from {
        filter: drop-shadow(0 0 20px rgba(255, 30, 30, 0.3));
    }
    to {
        filter: drop-shadow(0 0 30px rgba(255, 30, 30, 0.5));
    }
}

/* Page Loading Animation */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.loaded {
    opacity: 0;
    visibility: hidden;
}

.barcode-loader {
    width: 200px;
    height: 100px;
    position: relative;
    overflow: hidden;
}

.barcode-loader::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 10px,
        #000 10px,
        #000 15px,
        transparent 15px,
        transparent 25px
    );
}

.barcode-loader::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background-color: rgba(255, 0, 0, 0.8);
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.8);
    animation: loaderScanAnimation 1.5s linear infinite;
}

@keyframes loaderScanAnimation {
    0% {
        left: 0;
    }
    100% {
        left: 100%;
    }
}

/* Responsive Styles */
@media (max-width: 992px) {
    .film-strip {
        margin: 0 20px;
    }
    
    .portfolio-item {
        flex: 0 0 200px;
        height: 300px;
    }
    
    .nav-button {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    nav ul {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    nav ul li {
        margin: 5px 10px;
    }
    
    .portfolio-item {
        flex: 0 0 180px;
        height: 260px;
    }
    
    .film-strip {
        padding: 20px 15px;
        margin: 0 10px;
    }
    
    .client-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}

@media (max-width: 576px) {
    .logo {
        max-width: 220px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .mission-statement {
        font-size: 18px;
    }
    
    .portfolio-item {
        flex: 0 0 180px;
        height: 120px;
    }
}
