/* css/showcase-slider.css — Master Full-Width Showcase Slider (100% Fully Responsive Layout) */

.showcase-slider-section {
  position: relative;
  width: 100%;
  height: 85vh;
  min-height: 650px;
  max-height: 900px;
  overflow: hidden;
  background: var(--color-bg-dark-alt);
  color: #ffffff;
}

/* Ambient background lights & hairline grid */
.showcase-slider-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 2;
}

.showcase-slider-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 60% 50% at 20% 30%, rgba(70,156,118,0.15) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 85% 80%, rgba(26,86,104,0.2) 0%, transparent 70%);
  pointer-events: none;
  z-index: 2;
}

/* ── Slider Track & Slides ────────────────────── */
.showcase-track {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}

.showcase-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), visibility 1.2s;
  z-index: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.showcase-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 3;
}

/* Slide Image Parallax Zoom */
.showcase-slide-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.12);
  transition: transform 9s cubic-bezier(0.25, 1, 0.5, 1), filter 1.2s ease;
  filter: brightness(0.7) contrast(1.08);
  z-index: 1;
}

.showcase-slide.active .showcase-slide-bg {
  transform: scale(1);
  filter: brightness(0.8) contrast(1.1);
}

/* Vignette Overlay */
.showcase-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(10, 33, 41, 0.95) 0%,
    rgba(10, 33, 41, 0.6) 50%,
    rgba(10, 33, 41, 0.25) 100%
  );
  z-index: 2;
}

/* ── Glassmorphic Content Card ───────────────── */
.showcase-content-wrap {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1280px;
  height: 100%;
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  align-items: center;
}

.showcase-glass-card {
  width: 100%;
  max-width: 600px;
  padding: 44px 48px;
  background: rgba(10, 33, 41, 0.68);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 
    0 40px 100px rgba(0, 0, 0, 0.7),
    0 1px 0 rgba(255, 255, 255, 0.08) inset;
  border-radius: 20px;
  transform: translateY(30px);
  opacity: 0;
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s, opacity 0.8s ease 0.3s;
}

.showcase-slide.active .showcase-glass-card {
  transform: translateY(0);
  opacity: 1;
}

/* Card Elements */
.showcase-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--color-accent);
  background: rgba(70, 156, 118, 0.12);
  border: 1px solid rgba(70, 156, 118, 0.3);
  padding: 6px 18px;
  border-radius: 30px;
  margin-bottom: 20px;
}

.showcase-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.showcase-title em {
  font-style: italic;
  color: var(--color-accent);
  font-family: var(--font-heading);
}

.showcase-desc {
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 24px;
}

.showcase-spec-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.showcase-spec-pill {
  font-size: 0.68rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 5px 14px;
  border-radius: 20px;
}

/* ── Floating Controls Panel (Bottom Right) ──── */
.showcase-controls-panel {
  position: absolute;
  bottom: 35px;
  right: 40px;
  z-index: 25;
  display: flex;
  align-items: center;
  gap: 20px;
  background: rgba(10, 33, 41, 0.65);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding: 10px 22px;
  border-radius: 50px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.showcase-nav-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.showcase-nav-btn:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(70, 156, 118, 0.4);
}

.showcase-counter {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  letter-spacing: 2px;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 6px;
  user-select: none;
}

.showcase-counter-current {
  color: var(--color-accent);
  font-weight: 600;
}

.showcase-counter-sep {
  opacity: 0.4;
  font-size: 0.85rem;
}

.showcase-counter-total {
  opacity: 0.6;
  font-size: 0.85rem;
}

/* Autoplay Progress Line */
.showcase-timer-bar {
  width: 50px;
  height: 2px;
  background: rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}

.showcase-timer-fill {
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  width: 0%;
  background: var(--color-accent);
}

.showcase-slider-section.playing .showcase-slide.active ~ .showcase-controls-panel .showcase-timer-fill,
.showcase-slider-section.playing .showcase-timer-fill {
  animation: showcaseProgress 6s linear infinite;
}

@keyframes showcaseProgress {
  0% { width: 0%; }
  100% { width: 100%; }
}

/* ── Thumbnail Dots Bar (Bottom Center) ──────── */
.showcase-dots-bar {
  position: absolute;
  bottom: 35px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  gap: 10px;
}

.showcase-dot {
  width: 32px;
  height: 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.25);
  border: none;
  cursor: pointer;
  transition: all 0.4s ease;
}

.showcase-dot.active {
  width: 60px;
  background: var(--color-accent);
  box-shadow: 0 0 14px rgba(70, 156, 118, 0.5);
}

/* ── 100% PERFECT RESPONSIVE MEDIA QUERIES (NO COLLAPSE) ────────── */
@media (max-width: 1024px) {
  .showcase-slider-section {
    height: 640px !important;
    min-height: 600px !important;
  }
  .showcase-glass-card {
    padding: 36px 32px;
    max-width: 520px;
  }
  .showcase-controls-panel {
    bottom: 25px;
    right: 30px;
    padding: 8px 18px;
  }
  .showcase-dots-bar {
    bottom: 25px;
  }
}

@media (max-width: 768px) {
  .showcase-slider-section {
    height: 650px !important;
    min-height: 580px !important;
  }
  .showcase-slide-overlay {
    background: linear-gradient(
      180deg,
      rgba(10, 33, 41, 0.82) 0%,
      rgba(10, 33, 41, 0.95) 100%
    );
  }
  .showcase-content-wrap {
    padding: 30px 16px 90px;
    justify-content: center;
    align-items: flex-start;
  }
  .showcase-glass-card {
    padding: 24px 20px;
    max-width: 100%;
    text-align: center;
    border-radius: 18px;
  }
  .showcase-badge {
    margin: 0 auto 14px;
    padding: 4px 14px;
    font-size: 0.65rem;
  }
  .showcase-title {
    font-size: clamp(1.5rem, 5vw, 2.2rem);
    margin-bottom: 12px;
  }
  .showcase-desc {
    font-size: 0.88rem;
    line-height: 1.55;
    margin-bottom: 16px;
  }
  .showcase-spec-pills {
    justify-content: center;
    gap: 6px;
    margin-bottom: 20px;
  }
  .showcase-spec-pill {
    font-size: 0.62rem;
    padding: 4px 10px;
  }
  .showcase-glass-card .btn {
    width: 100%;
    padding: 12px 20px;
    font-size: 0.78rem;
  }
  .showcase-controls-panel {
    bottom: 20px;
    right: 50%;
    transform: translateX(50%);
    padding: 8px 16px;
    gap: 12px;
  }
  .showcase-dots-bar {
    display: none;
  }
}

@media (max-width: 480px) {
  .showcase-slider-section {
    height: 600px !important;
    min-height: 550px !important;
  }
  .showcase-content-wrap {
    padding: 20px 12px 85px;
  }
  .showcase-glass-card {
    padding: 20px 14px;
    border-radius: 14px;
  }
  .showcase-title {
    font-size: 1.4rem;
    margin-bottom: 10px;
  }
  .showcase-desc {
    font-size: 0.82rem;
    margin-bottom: 14px;
  }
  .showcase-nav-btn {
    width: 38px;
    height: 38px;
  }
  .showcase-timer-bar {
    width: 30px;
  }
}
