/* Beverly Films - Music Videos Premium Cinematic Slider Styling */

body:not(.wp-admin) .slider.page-dark {
  background: 
    linear-gradient(rgba(3, 11, 15, 0.55), rgba(3, 11, 15, 0.95)),
    url("photos/musicvideos-bg.jpg?v=20260528-mv3") center center / cover no-repeat fixed !important;
  position: relative;
  overflow: hidden;
}

/* Digital viewfinder screen crop grid */
body:not(.wp-admin) .slider.page-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255, 138, 96, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 138, 96, 0.015) 1px, transparent 1px);
  background-size: 8rem 8rem;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.3));
  z-index: 1;
}

/* Orange & Teal Viewfinder Grid lines */
.cursor-v .absolute {
  background-color: rgba(255, 138, 96, 0.25) !important;
  box-shadow: 0 0 8px rgba(255, 138, 96, 0.3);
}

.cursor-h-wrapper .absolute {
  background-color: rgba(100, 196, 203, 0.25) !important;
  box-shadow: 0 0 8px rgba(100, 196, 203, 0.3);
}

.cursor-index, .cursor-total {
  font-family: IBMPlexMono, monospace;
  color: #ff8a60 !important;
  text-shadow: 0 0 6px rgba(255, 138, 96, 0.4);
}

/* Slide Production Cards */
.card-production {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  overflow: hidden;
  background: rgba(3, 11, 15, 0.82) !important; /* solid fallback for ultra-smooth 60fps */
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  /* GPU isolation */
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  will-change: transform;
}

.card-production::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(3, 11, 15, 0.1) 40%, rgba(3, 11, 15, 0.85) 95%);
  pointer-events: none;
  z-index: 2;
  transition: opacity 0.4s ease;
}

.card-production .image img {
  filter: saturate(0.9) contrast(1.05);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
}

/* Telemetry detail elements */
.card-production-client {
  font-family: IBMPlexMono, monospace !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  background: rgba(3, 11, 15, 0.4) !important;
  color: rgba(255, 138, 96, 0.95) !important;
  text-shadow: 0 0 6px rgba(255, 138, 96, 0.2);
}

.card-production-title {
  font-weight: 500 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  color: #fff !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

/* Small monospaced telemetry footer */
.card-production::before {
  content: "RESOL: 4K // CAM: RED // 23.976 FPS";
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-family: IBMPlexMono, monospace;
  font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 5;
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
  transform: translateY(-5px);
}

/* Hover production states */
.card-production:hover {
  border-color: rgba(255, 138, 96, 0.5) !important;
  box-shadow: 0 15px 35px rgba(255, 138, 96, 0.12);
  transform: translateY(-2px) translate3d(0, 0, 0);
  background: rgba(3, 11, 15, 0.9) !important;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.card-production:hover .image img {
  transform: scale(1.05);
  filter: saturate(1.1) contrast(1.1);
}

.card-production:hover::before {
  opacity: 0.75;
  transform: translateY(0);
}

.card-production-video {
  border-radius: 4px;
  filter: saturate(0.95) contrast(1.05);
}

.cursor-indicator {
  font-family: IBMPlexMono, monospace !important;
  color: #64c4cb !important;
  text-shadow: 0 0 8px rgba(100, 196, 203, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

/* GPU acceleration for sliding containers */
body:not(.wp-admin) .slider-items {
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

body:not(.wp-admin) .slider-item {
  transform: translate3d(0, 0, 0);
  will-change: transform;
}
