/* index4 — hero, about, spotlight, cta */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  color: #fff;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.2s ease, transform 6s linear;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(10, 20, 16, 0.32), transparent 70%),
    linear-gradient(180deg, rgba(10, 20, 16, 0.28) 0%, rgba(10, 20, 16, 0.12) 30%, rgba(10, 20, 16, 0.22) 65%, rgba(10, 20, 16, 0.6) 100%);
}

/* Açık katmanda yazılar okunaklı kalsın */
.hero-content {
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
}

.hero-kicker {
  background: rgba(10, 20, 16, 0.25);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 6rem 1.25rem 5rem;
  max-width: 820px;
}

.hero-kicker {
  display: inline-block;
  margin-bottom: 1.25rem;
  padding: 0.4rem 0.9rem;
  border: 1px solid rgba(168, 197, 176, 0.45);
  color: var(--sage);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}

.hero-brand {
  font-size: clamp(4.2rem, 12vw, 8.5rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 1rem;
  line-height: 0.92;
}

.hero-brand em {
  font-style: italic;
  color: var(--sage);
}

.hero-text {
  max-width: 420px;
  margin: 0 auto 1.75rem;
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 300;
}

.hero-meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin-bottom: 1.75rem;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.75);
}

.hero-meta .live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #7ddea8;
  display: inline-block;
  margin-right: 0.35rem;
  box-shadow: 0 0 0 0 rgba(125, 222, 168, 0.5);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  70% { box-shadow: 0 0 0 10px transparent; }
}

.hero-dots {
  position: absolute;
  z-index: 3;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.55rem;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transition: background var(--t), transform var(--t);
}

.hero-dot.is-active {
  background: var(--sage);
  transform: scale(1.25);
}

/* About — asimetrik kompozisyon */
.about {
  padding: 7rem 0;
  background:
    linear-gradient(180deg, var(--paper), var(--mist) 40%, var(--paper));
}

.about-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 4rem;
  align-items: center;
}

.about-visual {
  position: relative;
  min-height: 520px;
}

.about-visual .img-main {
  width: 78%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.about-visual .img-float {
  position: absolute;
  right: 0;
  bottom: 8%;
  width: 48%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 10px solid var(--paper);
  box-shadow: 0 20px 50px rgba(20, 32, 26, 0.15);
}

.about-visual .frame-note {
  position: absolute;
  left: 0;
  bottom: 0;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.about-copy h2 {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  margin-bottom: 1.25rem;
}

.about-copy p {
  color: var(--ink-soft);
  margin-bottom: 1rem;
  max-width: 38ch;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(31, 77, 58, 0.15);
}

.about-stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.85rem;
  color: var(--leaf);
  font-weight: 500;
}

.about-stats span {
  font-size: 0.82rem;
  color: var(--ink-soft);
}

/* Spotlight — şef seçimleri */
.spotlight {
  padding: 5.5rem 0;
  background: var(--night-2);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.spotlight::before {
  content: "";
  position: absolute;
  inset: auto -10% -40% auto;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168, 197, 176, 0.18), transparent 70%);
}

.spotlight-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1.5rem;
  margin-bottom: 2.75rem;
  position: relative;
}

.spotlight-head h2 {
  color: #fff;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  max-width: 12ch;
}

.spotlight-head p {
  color: rgba(255, 255, 255, 0.65);
  max-width: 28ch;
  font-size: 0.95rem;
}

/* Spotlight carousel */
.spotlight-carousel {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 0.5rem;
}

.spotlight-viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  touch-action: pan-x;
  scrollbar-width: none;
  cursor: grab;
  padding: 1.5rem 0 2rem;
  outline: none;
}

.spotlight-viewport::-webkit-scrollbar {
  display: none;
}

.spotlight-viewport.is-dragging,
.spotlight-viewport.is-jumping {
  cursor: grabbing;
  scroll-behavior: auto;
  scroll-snap-type: none;
}

.spotlight-track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  /* Ortaya hizalama JS ile; yan kartlar görünsün */
  padding-inline: 0;
}

.spot-card {
  flex: 0 0 clamp(220px, 28vw, 280px);
  scroll-snap-align: center;
  scroll-snap-stop: normal;
  padding: 1.6rem 1.5rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0.55;
  transform: scale(0.92);
  transition:
    background 0.4s var(--ease),
    border-color 0.4s var(--ease),
    opacity 0.4s var(--ease),
    transform 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}

.spot-card.is-center {
  opacity: 1;
  transform: scale(1.04);
  background: linear-gradient(160deg, rgba(58, 122, 92, 0.55), rgba(196, 165, 116, 0.22));
  border-color: rgba(196, 165, 116, 0.65);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
}

.spot-card.is-center .tag {
  color: #f0e2c8;
}

.spot-card.is-center .price {
  color: #fff;
}

.spot-card img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1.25rem;
  border: 2px solid rgba(168, 197, 176, 0.35);
  transition: border-color 0.4s var(--ease);
}

.spot-card.is-center img {
  border-color: var(--gold);
}

.spot-card .tag {
  display: inline-block;
  margin-bottom: 0.5rem;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.spot-card h3 {
  color: #fff;
  font-size: 1.45rem;
  margin-bottom: 0.4rem;
}

.spot-card p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.92rem;
  margin-bottom: 0.85rem;
}

.spot-card .price {
  color: var(--sage);
  font-weight: 600;
}

.spotlight-nav {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.06);
  transition: background var(--t), border-color var(--t), transform var(--t);
  z-index: 2;
}

.spotlight-nav:hover {
  background: rgba(168, 197, 176, 0.2);
  border-color: var(--sage);
  transform: scale(1.05);
}

/* CTA band */
.cta-band {
  position: relative;
  padding: 6rem 0;
  text-align: center;
  color: #fff;
  background:
    radial-gradient(ellipse at center, rgba(10, 20, 16, 0.5), rgba(10, 20, 16, 0.05) 65%),
    linear-gradient(120deg, rgba(10, 20, 16, 0.5), rgba(31, 77, 58, 0.28)),
    var(--cta-image, none) center / cover no-repeat;
}

.cta-band .container {
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.6);
}

.cta-band h2 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
  max-width: 16ch;
  margin: 0 auto 0.85rem;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.5rem;
}

@media (max-width: 900px) {
  .about-layout,
  .spotlight-head {
    grid-template-columns: 1fr;
    display: grid;
  }

  .spotlight-head {
    align-items: start;
  }

  .spotlight-carousel {
    grid-template-columns: 1fr;
    padding: 0;
  }

  .spotlight-nav {
    display: none;
  }

  .spotlight-viewport {
    padding: 1rem 0 1.5rem;
  }

  .spotlight-track {
    gap: 0.7rem;
    padding-inline: 0;
  }

  /* Telefonda daha küçük kart — sağ/sol komşular görünsün */
  .spot-card {
    flex: 0 0 56vw;
    max-width: 220px;
    padding: 1.15rem 1rem;
  }

  .spot-card.is-center {
    transform: scale(1.02);
  }

  .spot-card img {
    width: 72px;
    height: 72px;
    margin-bottom: 0.85rem;
  }

  .spot-card h3 {
    font-size: 1.15rem;
  }

  .spot-card p {
    font-size: 0.82rem;
  }

  .about-visual {
    min-height: 380px;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }
}

/* Kapalıyken durum noktası */
.hero-meta [data-open-status].is-closed .live {
  background: #e0a96d;
  animation: none;
}
