/* Animations for LED Marquee */
@keyframes led-scroll {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}
.animate-led-scroll {
  animation: led-scroll 30s linear infinite;
}
.animate-led-scroll:hover {
  animation-play-state: paused;
}

/* Infinite Brand Marquee Scroll */
@keyframes brand-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.animate-brand-scroll {
  animation: brand-scroll 45s linear infinite;
}
.animate-brand-scroll:hover {
  animation-play-state: paused;
}

/* Glassmorphism Panel */
.glass-panel {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.4);
}
.glass-panel-dark {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Dropdown Hover Settings */
.nav-item-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu {
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
}
/* Transparent bridge to prevent menu from closing when cursor crosses the gap */
.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -24px;
  left: -10px;
  right: -10px;
  height: 24px;
  background: transparent;
}

/* Chevron Arrow Rotation Micro-animation */
.nav-item-dropdown:hover svg {
  transform: rotate(180deg);
}
.nav-item-dropdown svg {
  transition: transform 0.25s ease-in-out;
}

/* ============================================================== */
/* ALFA REKLAMCILIK - İLERİ TABELA & ÜRETİM KONSOLU (SHOWCASE)   */
/* ============================================================== */
.hero-showcase-console {
  width: 100%;
  max-width: 580px;
  background: #090d16;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(239, 127, 26, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.15);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s ease;
}
.showcase-console-bar {
  background: #060b13;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: #cbd5e1;
  gap: 8px;
}
.showcase-live-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  font-weight: 800;
  overflow: hidden;
  white-space: nowrap;
}
.showcase-live-tag .dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 8px #22c55e;
  animation: liveDotPulse 1.5s infinite;
  flex-shrink: 0;
}
@keyframes liveDotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}
.badge-uhd {
  background: linear-gradient(135deg, #EF7F1A 0%, #d96c14 50%, #6B212C 100%);
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.8px;
  padding: 3px 8px;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(239, 127, 26, 0.4);
  flex-shrink: 0;
}
.showcase-title-text {
  color: #f1f5f9;
  font-weight: 700;
  font-size: 0.8rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.showcase-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 250px;
  background: #020617;
  overflow: hidden;
}
.showcase-panel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  overflow: hidden;
  background-color: #0b1120;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
#panel-kutu { background-image: url('../assets/images/kutu-harf-tabela-imalat.jpg'); }
#panel-totem { background-image: url('../assets/images/totem-tabela-imalat.jpg'); }
#panel-arac { background-image: url('../assets/images/arac-giydirme-kaplama.jpg'); }
#panel-bayrak { background-image: url('../assets/images/bayrak-flama-imalat.jpg'); }
#panel-cnc { background-image: url('../assets/images/fiber-lazer-cnc-kesim.jpg'); }

.showcase-panel.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}
.showcase-panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 1;
}
.showcase-hud-overlay {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
  z-index: 5;
  gap: 8px;
}
.hud-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 4px 9px;
  border-radius: 4px;
  letter-spacing: 0.4px;
}
.hud-chip-rec {
  color: #ef4444;
}
.hud-blink-dot {
  width: 7px;
  height: 7px;
  background: #ef4444;
  border-radius: 50%;
  box-shadow: 0 0 6px #ef4444;
  animation: liveDotPulse 1.2s infinite;
}
.hud-chip-specs {
  color: #38bdf8;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}
.showcase-desc-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(2, 6, 23, 0.92) 50%, rgba(2, 6, 23, 0.98) 100%);
  padding: 24px 14px 10px 14px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  z-index: 6;
}
.showcase-desc-title {
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 800;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.3px;
}
.showcase-desc-sub {
  color: #94a3b8;
  font-size: 0.68rem;
  margin-top: 2px;
}
.showcase-interactive-toggle {
  pointer-events: auto;
  background: rgba(239, 127, 26, 0.2);
  border: 1px solid #EF7F1A;
  color: #ffedd5;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 4px 9px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.showcase-interactive-toggle:hover {
  background: #EF7F1A;
  color: #ffffff;
}
/* Blueprint CAD Grid Overlay for Totem */
.blueprint-grid-overlay {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(56, 189, 248, 0.08) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(56, 189, 248, 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}
/* Laser Cutting Beam Effect */
.laser-beam-trace {
  position: absolute;
  top: 45%;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, #EF7F1A 45%, #ffffff 50%, #EF7F1A 55%, transparent 100%);
  box-shadow: 0 0 14px #EF7F1A, 0 0 24px #EF7F1A;
  animation: laserSweep 3.5s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes laserSweep {
  0% { transform: translateY(-40px) scaleX(0.4); opacity: 0.3; }
  50% { transform: translateY(0px) scaleX(1); opacity: 1; }
  100% { transform: translateY(40px) scaleX(0.7); opacity: 0.8; }
}
/* Neon LED Backlight Halo for Kutu Harf */
.neon-glow-halo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70%;
  height: 60%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(239, 127, 26, 0.45) 0%, rgba(107, 33, 44, 0.3) 50%, transparent 75%);
  filter: blur(20px);
  pointer-events: none;
  animation: neonPulse 2.8s infinite alternate;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.neon-glow-halo.is-lit {
  opacity: 1;
}
@keyframes neonPulse {
  0% { transform: translate(-50%, -50%) scale(0.95); opacity: 0.6; }
  100% { transform: translate(-50%, -50%) scale(1.15); opacity: 1; }
}
/* 5 Showcase Bottom Navigation Tabs */
.showcase-tabs-bar {
  background: #060b13;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
}
.showcase-tab-btn {
  background: rgba(255, 255, 255, 0.05);
  color: #94a3b8;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px 3px;
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  transition: all 0.2s ease;
  line-height: 1.15;
  text-align: center;
  white-space: nowrap;
}
.showcase-tab-btn .tab-ico {
  font-size: 0.95rem;
}
.showcase-tab-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
}
.showcase-tab-btn.active {
  background: linear-gradient(135deg, #6B212C 0%, #EF7F1A 100%);
  color: #ffffff;
  border-color: #EF7F1A;
  box-shadow: 0 4px 12px rgba(239, 127, 26, 0.35);
}
/* Mobile Adjustments */
@media (max-width: 640px) {
  .showcase-console-bar {
    padding: 8px 10px;
  }
  .showcase-title-text {
    display: none;
  }
  .showcase-tabs-bar {
    padding: 4px;
    gap: 3px;
  }
  .showcase-tab-btn {
    font-size: 0.6rem;
    padding: 6px 1px;
    border-radius: 6px;
  }
  .showcase-tab-btn .tab-ico {
    font-size: 0.82rem;
  }
  .hud-chip-specs {
    display: none;
  }
  .showcase-desc-bar {
    padding: 16px 8px 8px 8px;
  }
  .showcase-desc-title {
    font-size: 0.72rem;
  }
  .showcase-desc-sub {
    font-size: 0.58rem;
  }
}

/* ============================================================== */
/* DYNAMIC HUD & MOTION LAYERS FOR SHOWCASE PANELS                */
/* ============================================================== */

/* 1. CNC / Lazer Cutting Machine Dynamic Motion */
.cnc-laser-system {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 4;
}

/* Moving Laser Toolhead along cutting path */
.cnc-toolhead {
  position: absolute;
  width: 24px;
  height: 24px;
  transform: translate(-50%, -50%);
  animation: cncToolpath 6s ease-in-out infinite;
}

@keyframes cncToolpath {
  0% { top: 64%; left: 38%; }
  25% { top: 58%; left: 54%; }
  50% { top: 68%; left: 70%; }
  75% { top: 62%; left: 50%; }
  100% { top: 64%; left: 38%; }
}

/* Intense Laser Plasma Cutting Point */
.cnc-laser-point {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 14px;
  transform: translate(-50%, -50%);
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 12px 6px #ff7700, 0 0 25px 12px #ff3300, 0 0 50px 20px rgba(255, 170, 0, 0.8);
  animation: laserFlicker 0.12s infinite alternate;
}

@keyframes laserFlicker {
  0% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.92; }
  100% { transform: translate(-50%, -50%) scale(1.15); opacity: 1; }
}

/* Laser Vertical Cutting Beam */
.cnc-vertical-beam {
  position: absolute;
  bottom: 50%;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 90px;
  background: linear-gradient(to top, rgba(255, 255, 255, 1) 0%, rgba(255, 110, 0, 0.8) 40%, rgba(56, 189, 248, 0.5) 80%, transparent 100%);
  box-shadow: 0 0 8px #ff7700;
  pointer-events: none;
}

/* Flying Sparks Burst Animation */
.cnc-spark-fountain {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.cnc-spark {
  position: absolute;
  background: #ffe066;
  border-radius: 50%;
  box-shadow: 0 0 6px #ff6600;
  opacity: 0;
}

.cnc-spark:nth-child(1) { width: 3px; height: 3px; animation: sparkBurst1 0.8s ease-out infinite; }
.cnc-spark:nth-child(2) { width: 2px; height: 2px; animation: sparkBurst2 0.7s ease-out 0.15s infinite; }
.cnc-spark:nth-child(3) { width: 4px; height: 4px; animation: sparkBurst3 0.9s ease-out 0.3s infinite; }
.cnc-spark:nth-child(4) { width: 3px; height: 3px; animation: sparkBurst4 0.65s ease-out 0.05s infinite; }
.cnc-spark:nth-child(5) { width: 2px; height: 2px; animation: sparkBurst5 0.75s ease-out 0.25s infinite; }
.cnc-spark:nth-child(6) { width: 3px; height: 3px; animation: sparkBurst6 0.85s ease-out 0.4s infinite; }

@keyframes sparkBurst1 {
  0% { transform: translate(0, 0) scale(1); opacity: 1; }
  100% { transform: translate(-45px, 25px) scale(0.2); opacity: 0; }
}
@keyframes sparkBurst2 {
  0% { transform: translate(0, 0) scale(1); opacity: 1; }
  100% { transform: translate(-30px, 35px) scale(0.2); opacity: 0; }
}
@keyframes sparkBurst3 {
  0% { transform: translate(0, 0) scale(1); opacity: 1; }
  100% { transform: translate(-60px, 15px) scale(0.2); opacity: 0; }
}
@keyframes sparkBurst4 {
  0% { transform: translate(0, 0) scale(1); opacity: 1; }
  100% { transform: translate(-25px, 45px) scale(0.2); opacity: 0; }
}
@keyframes sparkBurst5 {
  0% { transform: translate(0, 0) scale(1); opacity: 1; }
  100% { transform: translate(-50px, 30px) scale(0.2); opacity: 0; }
}
@keyframes sparkBurst6 {
  0% { transform: translate(0, 0) scale(1); opacity: 1; }
  100% { transform: translate(-35px, 20px) scale(0.2); opacity: 0; }
}

/* Glowing Hot Molten Seam Trace */
.cnc-kerf-path {
  position: absolute;
  top: 56%;
  left: 36%;
  width: 44%;
  height: 14%;
  border: 1px dashed rgba(255, 110, 0, 0.6);
  border-radius: 4px;
  box-shadow: 0 0 12px rgba(255, 80, 0, 0.45);
  pointer-events: none;
  animation: kerfGlow 2s infinite alternate;
}
@keyframes kerfGlow {
  0% { opacity: 0.4; }
  100% { opacity: 0.95; }
}

/* 2. Kutu Harf Shimmer Sweep & Halo */
.shimmer-sweep {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.15) 35%, rgba(255, 230, 150, 0.35) 45%, rgba(255, 255, 255, 0.15) 55%, transparent 70%);
  background-size: 200% 100%;
  animation: shimmerMove 3.5s linear infinite;
  pointer-events: none;
  mix-blend-mode: overlay;
}
@keyframes shimmerMove {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* 3. Totem Radar & Stress Sensor Vectors */
.radar-sweep-layer {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.radar-sweep-beam {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 140px;
  background: linear-gradient(90deg, transparent 0%, rgba(56, 189, 248, 0.25) 80%, rgba(56, 189, 248, 0.7) 100%);
  transform: skewX(-20deg);
  animation: radarScan 4s linear infinite;
}
@keyframes radarScan {
  0% { left: -160px; }
  100% { left: 110%; }
}
.stress-sensor-node {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #38bdf8;
  border: 1px solid #ffffff;
  box-shadow: 0 0 8px #38bdf8;
  animation: sensorPulse 1.8s infinite;
}
@keyframes sensorPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.6); opacity: 0.4; }
}

/* 4. Araç Giydirme Scanning Laser Contour */
.wrap-scan-laser {
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, #22c55e 30%, #ffffff 50%, #22c55e 70%, transparent 100%);
  box-shadow: 0 0 12px #22c55e, 0 0 25px rgba(34, 197, 94, 0.8);
  animation: wrapScan 3.2s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes wrapScan {
  0% { top: 20%; opacity: 0.7; }
  50% { top: 55%; opacity: 1; }
  100% { top: 85%; opacity: 0.8; }
}
.wrap-grid-lines {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(34, 197, 94, 0.06) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(34, 197, 94, 0.06) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

/* 5. Dijital Baskı Carriage Sweeping Motion */
.print-carriage-beam {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 12px;
  background: linear-gradient(90deg, rgba(56, 189, 248, 0.3) 0%, #38bdf8 50%, rgba(255, 255, 255, 0.9) 70%, rgba(56, 189, 248, 0.3) 100%);
  box-shadow: 0 0 14px #38bdf8, 0 0 28px rgba(56, 189, 248, 0.6);
  animation: printCarriageSweep 3.6s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes printCarriageSweep {
  0% { left: 8%; }
  100% { left: 90%; }
}
.print-spray-glow {
  position: absolute;
  top: 30%;
  bottom: 25%;
  width: 60px;
  background: radial-gradient(ellipse at center, rgba(56, 189, 248, 0.3) 0%, rgba(239, 127, 26, 0.2) 50%, transparent 80%);
  animation: sprayFollow 3.6s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes sprayFollow {
  0% { left: 5%; }
  100% { left: 86%; }
}

/* 6. Bayrak İmalatı Fabric Wind Ripple */
.flag-wind-ripple {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 20%, rgba(255, 255, 255, 0.18) 35%, rgba(0, 0, 0, 0.1) 50%, rgba(255, 255, 255, 0.22) 65%, transparent 80%);
  background-size: 200% 200%;
  animation: flagWave 4s ease-in-out infinite alternate;
  pointer-events: none;
  mix-blend-mode: overlay;
  z-index: 3;
}
@keyframes flagWave {
  0% { background-position: 0% 0%; }
  100% { background-position: 100% 100%; }
}

