/* ══════════════════════════════════════════════
   ATHAR — Featured Spotlight Section
══════════════════════════════════════════════ */

/* ── Section shell ── */
.featured-section {
  background: linear-gradient(180deg, var(--dark-brown) 0%, #1a0c05 100%);
  padding: 80px 48px 90px;
  overflow: hidden;
  position: relative;
}

/* Subtle grain texture overlay */
.featured-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.6;
  z-index: 0;
}

/* ── Section header ── */
.featured-inner {
  max-width: 1080px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.fs-header {
  text-align: center;
  margin-bottom: 52px;
}

.fs-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--beige);
  margin: 10px 0 10px;
  text-shadow:
    1px 1px 0 rgba(20,10,3,0.7),
    2px 2px 0 rgba(20,10,3,0.5),
    3px 3px 8px rgba(0,0,0,0.4);
}

.fs-sub {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1rem;
  color: rgba(217,201,176,0.6);
}

/* ── Spotlight card ── */
.fs-spotlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(217,201,176,0.1);
  box-shadow:
    0 40px 100px rgba(0,0,0,0.5),
    0 0 0 1px rgba(184,146,74,0.08),
    inset 0 1px 0 rgba(255,255,255,0.04);
  min-height: 380px;
  position: relative;
}

/* ── Image side ── */
.fs-img-wrap {
  position: relative;
  overflow: hidden;
  background: #1a0c05;
}

/* Colour background fills even when no image */
.fs-img-bg {
  position: absolute;
  inset: 0;
  transition: background 0.6s ease;
  z-index: 0;
}

.fs-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: transform 0.7s cubic-bezier(0.16,1,0.3,1);
}

.fs-spotlight:hover .fs-img {
  transform: scale(1.04);
}

/* Gradient vignette over image */
.fs-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right,  transparent 55%, rgba(20,10,3,0.55) 100%),
    linear-gradient(to bottom, rgba(20,10,3,0.15) 0%, transparent 35%, transparent 65%, rgba(20,10,3,0.35) 100%);
  z-index: 2;
  pointer-events: none;
}

.fs-img-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

/* Category badge on image */
.fs-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  z-index: 3;
  font-family: 'Cinzel', serif;
  font-size: 0.58rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  padding: 6px 14px;
  border: 1px solid currentColor;
  border-radius: 50px;
  background: rgba(20,10,3,0.55);
  backdrop-filter: blur(8px);
  transition: color 0.5s ease, border-color 0.5s ease;
}

/* ── Info side ── */
.fs-info {
  background: rgba(255,255,255,0.025);
  backdrop-filter: blur(2px);
  padding: 44px 44px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  border-left: 1px solid rgba(217,201,176,0.07);
}

/* ── Countdown ring (top-right corner of info) ── */
.fs-ring-wrap {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fs-ring-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.fs-ring-track {
  fill: none;
  stroke: rgba(217,201,176,0.1);
  stroke-width: 1.5;
}

.fs-ring-prog {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-dasharray: 113.1;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 0.1s linear;
}

.fs-ring-logo {
  width: 22px;
  height: auto;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 0 4px rgba(184,146,74,0.4));
  opacity: 0.7;
  animation: logoFloat 3.5s ease-in-out infinite;
}

/* ── Item text ── */
.fs-cat {
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 10px;
  transition: color 0.5s ease;
}

.fs-name {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.2rem, 2.4vw, 1.7rem);
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--beige);
  line-height: 1.25;
  margin-bottom: 16px;
  text-shadow:
    1px 1px 0 rgba(20,10,3,0.6),
    2px 2px 6px rgba(0,0,0,0.4);
}

.fs-desc {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.02rem;
  line-height: 1.75;
  color: rgba(217,201,176,0.65);
  margin-bottom: 24px;
  flex: 1;
}

.fs-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.04em;
  margin-bottom: 28px;
  text-shadow:
    1px 1px 0 rgba(138,106,46,0.5),
    0 0 20px rgba(184,146,74,0.2);
}

/* ── Prev / Next controls ── */
.fs-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.fs-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(217,201,176,0.2);
  background: rgba(255,255,255,0.04);
  color: var(--sand);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  backdrop-filter: blur(4px);
}

.fs-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(184,146,74,0.1);
  transform: scale(1.08);
  box-shadow: 0 0 12px rgba(184,146,74,0.2);
}

.fs-btn:active {
  transform: scale(0.95);
}

.fs-counter {
  font-family: 'Cinzel', serif;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  color: rgba(217,201,176,0.4);
}

/* ── Slide transition animations ── */
@keyframes fsExitLeft {
  from { opacity: 1; transform: translateX(0) scale(1); }
  to   { opacity: 0; transform: translateX(-32px) scale(0.97); }
}
@keyframes fsExitRight {
  from { opacity: 1; transform: translateX(0) scale(1); }
  to   { opacity: 0; transform: translateX(32px) scale(0.97); }
}
@keyframes fsEnterRight {
  from { opacity: 0; transform: translateX(32px) scale(0.97); }
  to   { opacity: 1; transform: translateX(0) scale(1); }
}
@keyframes fsEnterLeft {
  from { opacity: 0; transform: translateX(-32px) scale(0.97); }
  to   { opacity: 1; transform: translateX(0) scale(1); }
}

.fs-exit-left  { animation: fsExitLeft  0.28s cubic-bezier(0.55,0,1,0.45) forwards; }
.fs-exit-right { animation: fsExitRight 0.28s cubic-bezier(0.55,0,1,0.45) forwards; }
.fs-enter-right { animation: fsEnterRight 0.45s cubic-bezier(0.16,1,0.3,1) both; animation-delay: 0.28s; }
.fs-enter-left  { animation: fsEnterLeft  0.45s cubic-bezier(0.16,1,0.3,1) both; animation-delay: 0.28s; }

/* direction=0: no slide, just fade */
@keyframes fsFade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ── Responsive ── */
@media (max-width: 780px) {
  .featured-section { padding: 60px 20px 70px; }

  .fs-spotlight {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .fs-img-wrap {
    aspect-ratio: 16/9;
    position: relative;
    min-height: 220px;
  }

  .fs-img {
    position: absolute;
  }

  .fs-img-wrap::after {
    background:
      linear-gradient(to bottom, transparent 55%, rgba(20,10,3,0.6) 100%);
  }

  .fs-info {
    padding: 28px 24px 28px;
    border-left: none;
    border-top: 1px solid rgba(217,201,176,0.07);
  }

  .fs-name { font-size: 1.25rem; }
  .fs-price { font-size: 1.5rem; margin-bottom: 20px; }
}
