/* ==========================================================================
   Hero Slider Styling — Sanatizi (Açık, Ferah & Lüks Estetik)
   ========================================================================== */

.hero-slider {
  position: relative;
  width: 100%;
  min-height: 520px;
  background: #fdfbf7;
  background: linear-gradient(180deg, #fdfbf7 0%, #f7f3ea 100%);
  color: #141311;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Micro-Pattern Overlay */
.hero-slider__pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(20, 19, 17, 0.06) 1.2px, transparent 1.2px);
  background-size: 24px 24px;
  pointer-events: none;
  opacity: 0.85;
}

/* Soft Ambient Glow Orbs */
.hero-slider__ambient-glow {
  position: absolute;
  top: -15%;
  right: -10%;
  width: min(650px, 60vw);
  height: min(650px, 60vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(233, 205, 148, 0.28) 0%, rgba(247, 237, 214, 0.12) 50%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  animation: floatOrb 18s ease-in-out infinite alternate;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-40px, 50px) scale(1.08); }
}

/* Viewport & Track */
.hero-slider__viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.hero-slider__track {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  width: 100%;
}

/* Slide Item */
.hero-slider__slide {
  grid-column: 1 / -1;
  grid-row: 1 / -1;
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.65s;
  z-index: 1;
}

.hero-slider__slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 2;
}

.hero-slider__container {
  width: min(84rem, calc(100% - 4rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
  padding: 4rem 0 5rem;
}

/* Slide Content */
.hero-slider__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 2;
}

.hero-slider__slide.is-active .hero-slider__badge {
  animation: heroSlideUp 0.6s 0.1s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero-slider__slide.is-active .hero-slider__title {
  animation: heroSlideUp 0.7s 0.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero-slider__slide.is-active .hero-slider__desc {
  animation: heroSlideUp 0.7s 0.3s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero-slider__slide.is-active .hero-slider__actions {
  animation: heroSlideUp 0.7s 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero-slider__slide.is-active .hero-slider__visual {
  animation: heroFadeScale 0.8s 0.25s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes heroSlideUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes heroFadeScale {
  from { opacity: 0; transform: translateY(30px) scale(0.94); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Eyebrow Badge */
.hero-slider__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(201, 154, 75, 0.3);
  box-shadow: 0 4px 14px -3px rgba(20, 19, 17, 0.05);
  margin-bottom: 1.4rem;
}

.hero-slider__badge-icon {
  color: #c99a4b;
  display: flex;
  align-items: center;
}

.hero-slider__badge-text {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #4a4742;
  text-transform: uppercase;
}

/* Title & Highlight */
.hero-slider__title {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: clamp(2.2rem, 4.4vw, 3.8rem);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.03em;
  color: #141311;
  margin: 0 0 1.2rem;
}

.hero-slider__highlight,
.hero-slider__title mark {
  background: linear-gradient(135deg, #a47625 0%, #c99a4b 50%, #dfb768 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #a47625;
  background-color: transparent;
  padding: 0;
}

/* Description */
.hero-slider__desc {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.68;
  color: #4f4c46;
  max-width: 38rem;
  margin: 0 0 2.2rem;
}

/* Action Buttons */
.hero-slider__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.6rem;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s var(--ease-spring, ease-out);
}

.hero-btn--primary {
  background: #141311;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 24px -6px rgba(20, 19, 17, 0.35);
}

.hero-btn--primary:hover {
  background: #24221e;
  border-color: rgba(233, 205, 148, 0.5);
  color: #eed6aa;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -6px rgba(20, 19, 17, 0.45);
}

.hero-btn--secondary {
  background: rgba(255, 255, 255, 0.7);
  color: #141311;
  border: 1px solid rgba(20, 19, 17, 0.1);
  box-shadow: 0 4px 14px -3px rgba(20, 19, 17, 0.05);
}

.hero-btn--secondary:hover {
  background: #ffffff;
  border-color: rgba(201, 154, 75, 0.4);
  transform: translateY(-2px);
}

/* Floating Glass Visual Card */
.hero-slider__visual {
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.hero-card-glass {
  position: relative;
  width: 100%;
  max-width: 25rem;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(20, 19, 17, 0.08);
  border-radius: 22px;
  padding: 2rem 1.8rem;
  box-shadow: 0 24px 50px -15px rgba(20, 19, 17, 0.08), 0 0 0 1px rgba(255, 255, 255, 0.8);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-card-glass:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px -15px rgba(20, 19, 17, 0.12);
}

.hero-card-glass__glow {
  position: absolute;
  top: -30%;
  right: -30%;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(233, 205, 148, 0.35) 0%, transparent 70%);
  filter: blur(30px);
  pointer-events: none;
}

.hero-card-glass__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.8rem;
}

.hero-card-glass__chip {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  background: #141311;
  color: #eed6aa;
}

.hero-card-glass__status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #3b82f6;
}

.hero-card-glass__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3b82f6;
  box-shadow: 0 0 8px #3b82f6;
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.hero-card-glass__metrics {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.8rem;
}

.hero-metric-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(20, 19, 17, 0.06);
}

.hero-metric-item__val {
  font-family: 'Manrope', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: #141311;
  letter-spacing: -0.02em;
}

.hero-metric-item__lbl {
  font-size: 0.82rem;
  font-weight: 500;
  color: #5d5952;
}

.hero-card-glass__footer {
  font-size: 0.82rem;
  font-style: italic;
  color: #8c867a;
  text-align: center;
}

/* Controls Bar */
.hero-slider__controls {
  position: absolute;
  bottom: 1.8rem;
  left: 50%;
  transform: translateX(-50%);
  width: min(84rem, calc(100% - 4rem));
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 10;
  pointer-events: auto;
}

.hero-slider__counter {
  font-family: 'Manrope', monospace, sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: #141311;
  letter-spacing: 0.05em;
  min-width: 50px;
}
.hero-slider__counter-sep { color: rgba(20, 19, 17, 0.3); margin: 0 0.2rem; }
.hero-slider__counter-total { color: rgba(20, 19, 17, 0.5); }

.hero-slider__progress-bar {
  flex: 1 1 auto;
  max-width: 14rem;
  height: 3px;
  background: rgba(20, 19, 17, 0.1);
  border-radius: 2px;
  margin: 0 1.5rem;
  overflow: hidden;
}

.hero-slider__progress-fill {
  width: 0%;
  height: 100%;
  background: #c99a4b;
  border-radius: 2px;
}

.hero-slider__arrows {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-slider__arrow {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(20, 19, 17, 0.1);
  color: #141311;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(20, 19, 17, 0.04);
  transition: all 0.2s ease;
}

.hero-slider__arrow:hover {
  background: #ffffff;
  border-color: #c99a4b;
  color: #c99a4b;
  transform: translateY(-1px);
}

.hero-slider__arrow svg {
  display: block;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-slider__arrow--prev:hover svg {
  transform: translateX(-2px);
}

.hero-slider__arrow--next:hover svg {
  transform: translateX(2px);
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
  .hero-slider { min-height: auto; padding: 2rem 0 4rem; }
  .hero-slider__container { grid-template-columns: 1fr; gap: 2rem; padding: 2rem 0 3.5rem; }
  .hero-slider__visual { display: none; }
  .hero-slider__controls { position: relative; bottom: auto; left: auto; transform: none; margin: 1rem auto 0; }
}
