/* ============================================================
   YOURSIDEFX — White Texture & Cinematic Enhancement Layer
   Injected on top of style.css
   ============================================================ */

/* ── Film Grain / Noise Texture Overlay ── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  mix-blend-mode: overlay;
  animation: grainShift 0.8s steps(1) infinite;
}

@keyframes grainShift {
  0%   { background-position: 0% 0%; }
  25%  { background-position: 30% 60%; }
  50%  { background-position: 70% 20%; }
  75%  { background-position: 50% 80%; }
  100% { background-position: 10% 40%; }
}

/* ── Section Dividers — white light seam ── */
.section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255,255,255,0.06) 20%,
    rgba(255,255,255,0.18) 50%,
    rgba(255,255,255,0.06) 80%,
    transparent 100%);
  pointer-events: none;
}

/* ── White shimmer sweep on cards ── */
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: -100%; right: auto;
  width: 60%;
  height: 100%;
  background: linear-gradient(105deg,
    transparent 40%,
    rgba(255,255,255,0.04) 50%,
    transparent 60%);
  transition: left 0.7s ease;
  z-index: 1;
  pointer-events: none;
}
.service-card:hover::before {
  left: 150%;
}

/* ── Stronger white border glow on card hover ── */
.service-card:hover {
  border-color: rgba(255, 255, 255, 0.15) !important;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.06),
    0 20px 60px rgba(0,0,0,0.7),
    0 0 40px rgba(255,255,255,0.03),
    inset 0 1px 0 rgba(255,255,255,0.1) !important;
}

/* ── White top-edge shimmer on glass cards ── */
.glass-card::before {
  background: linear-gradient(90deg,
    transparent,
    rgba(255,255,255,0.2),
    transparent) !important;
}

/* ── White highlight on nav logo mark ── */
.nav-logo-mark {
  background: linear-gradient(135deg, #ffffff, #d0d0d0) !important;
  box-shadow: 0 0 20px rgba(255,255,255,0.2);
}

/* ── Brighter nav links on hover ── */
.nav-links a:hover {
  color: #ffffff !important;
  text-shadow: 0 0 12px rgba(255,255,255,0.4);
}

/* ── White CTA button glow pulse ── */
.btn-primary {
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute;
  top: -50%; left: -60%;
  width: 40%;
  height: 200%;
  background: rgba(255,255,255,0.15);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
  pointer-events: none;
}
.btn-primary:hover::after {
  left: 130%;
}

/* ── Stat numbers — white glow ── */
.stat-num {
  color: #ffffff !important;
  text-shadow:
    0 0 20px rgba(255,255,255,0.5),
    0 0 60px rgba(255,255,255,0.15) !important;
}

/* ── Section titles — white luminance ── */
.section-title, .cta-title {
  color: #ffffff !important;
  text-shadow:
    0 0 30px rgba(255,255,255,0.3),
    0 0 80px rgba(255,255,255,0.08) !important;
}

/* ── Service title white ── */
.service-title {
  color: #ffffff !important;
  font-size: 18px !important;
  text-shadow: 0 0 15px rgba(255,255,255,0.2);
}

/* ── Process numbers white glow ── */
.process-num {
  color: #ffffff !important;
  text-shadow: 0 0 30px rgba(255,255,255,0.4);
  border-color: rgba(255,255,255,0.15) !important;
}

/* ── Portfolio cards — stronger overlay on hover ── */
.portfolio-card:hover .portfolio-overlay {
  background: linear-gradient(to top,
    rgba(0,0,0,0.92) 0%,
    rgba(0,0,0,0.5) 50%,
    transparent 100%);
}
.portfolio-title {
  color: #ffffff !important;
  text-shadow: 0 2px 20px rgba(0,0,0,0.8);
}

/* ── White scroll indicator ── */
.hero-scroll-indicator {
  border-color: rgba(255,255,255,0.3) !important;
}

/* ── Testimonial card shimmer border ── */
.testimonial-card {
  border: 1px solid rgba(255,255,255,0.06) !important;
  background: rgba(255,255,255,0.025) !important;
}
.testimonial-card:hover {
  border-color: rgba(255,255,255,0.12) !important;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.08) !important;
}

/* ── White tinted hero headline outline word ── */
.hero-headline .line-outline {
  -webkit-text-stroke: 1.5px rgba(255,255,255,0.5) !important;
  text-shadow: 0 0 40px rgba(255,255,255,0.08);
}

/* ── Subtle white scanline effect on hero ── */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(255,255,255,0.007) 2px,
    rgba(255,255,255,0.007) 4px
  );
  pointer-events: none;
  z-index: 4;
}

/* ── White section label ── */
.section-label {
  color: rgba(255,255,255,0.5) !important;
  letter-spacing: 0.35em;
}

/* ── Footer brand desc ── */
.footer-col-title {
  color: rgba(255,255,255,0.7) !important;
}

/* ── Availability badge white pulse ring ── */
.hero-availability {
  border-color: rgba(255,255,255,0.1) !important;
  background: rgba(255,255,255,0.03) !important;
}

/* ── Reveal animation — white-tinted fade up ── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1),
              transform 0.8s cubic-bezier(0.16,1,0.3,1);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ── Star rating gold ── */
.star { color: var(--gold); }

/* ── Hero subheading brighter ── */
.hero-subheading {
  color: rgba(255,255,255,0.6) !important;
}

/* ── White horizontal rule between process steps ── */
.process-step + .process-step {
  border-top: 1px solid rgba(255,255,255,0.04);
  padding-top: 40px;
  margin-top: 40px;
}

/* ── Stat grid dividers ── */
.stat-item + .stat-item {
  border-left: 1px solid rgba(255,255,255,0.05);
}

/* ── White scroll-progress bar at top ── */
#scrollProgressBar {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, rgba(255,255,255,0.2), rgba(255,255,255,0.9), rgba(201,168,76,0.8));
  z-index: 10001;
  transition: width 0.1s linear;
  box-shadow: 0 0 8px rgba(255,255,255,0.6);
}

/* ── VFX Scene label (shows current scene on scroll) ── */
#vfxSceneLabel {
  position: fixed;
  bottom: 32px;
  right: 32px;
  font-family: var(--font-mono, monospace);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.25);
  text-transform: uppercase;
  z-index: 9999;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
