/* =========================================================
   CELLAR // POUR & PAIR — Şarap Eşleştirme Flip-Kart Destesi
   Namespace: .wcs-cellar
   ========================================================= */

html, body { margin: 0; padding: 0; }

.wcs-cellar {
  --wcs-accent: #c9a24b;
  position: relative;
  width: 100%;
  min-height: 100svh;
  padding: clamp(64px, 9vw, 110px) clamp(20px, 5vw, 72px) clamp(48px, 7vw, 84px);
  overflow: hidden;
  background: #0b0906;
  color: #f4ede1;
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
  box-sizing: border-box;
}
.wcs-cellar * { box-sizing: border-box; }

/* ---------- Arkaplan video ---------- */
.wcs-cellar__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.wcs-cellar__bgvideo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) brightness(0.62);
}
.wcs-cellar__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 9, 6, 0.88) 0%, rgba(11, 9, 6, 0.5) 30%, rgba(11, 9, 6, 0.55) 70%, rgba(11, 9, 6, 0.94) 100%);
}

/* ---------- Başlık ---------- */
.wcs-cellar__head {
  position: relative;
  z-index: 2;
  max-width: 620px;
  margin: 0 auto clamp(36px, 5vw, 56px);
  text-align: center;
}
.wcs-cellar__kicker {
  font-size: 11px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--wcs-accent);
  margin-bottom: 14px;
}
.wcs-cellar__title {
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(1.9rem, 4.2vw, 3.1rem);
}
.wcs-cellar__desc {
  margin: 0;
  color: rgba(244, 237, 225, 0.72);
  font-size: 0.98rem;
  line-height: 1.6;
}

/* ---------- Kart destesi ---------- */
.wcs-cellar__deck {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 26px);
}

.wcs-cellar__card {
  perspective: 1400px;
  aspect-ratio: 3 / 4;
}

.wcs-cellar__cardface {
  position: relative;
  width: 100%;
  height: 100%;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  transform-style: preserve-3d;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  -webkit-tap-highlight-color: transparent;
  border-radius: 14px;
}
.wcs-cellar__card.is-flipped .wcs-cellar__cardface {
  transform: rotateY(180deg);
}
.wcs-cellar__cardface:focus-visible {
  outline: 2px solid var(--wcs-accent);
  outline-offset: 4px;
}

.wcs-cellar__face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
}
.wcs-cellar__face--front {
  align-items: flex-end;
}
.wcs-cellar__face--front img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.wcs-cellar__cardface:hover .wcs-cellar__face--front img {
  transform: scale(1.05);
}
.wcs-cellar__frontmeta {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 16px 14px;
  background: linear-gradient(180deg, rgba(11, 9, 6, 0) 0%, rgba(11, 9, 6, 0.9) 78%);
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-align: left;
}
.wcs-cellar__name {
  font-family: Georgia, serif;
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  color: #f4ede1;
}
.wcs-cellar__region {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--wcs-accent);
}

.wcs-cellar__face--back {
  transform: rotateY(180deg);
  background: linear-gradient(160deg, #1c1610 0%, #100c08 100%);
  border: 1px solid rgba(201, 162, 75, 0.35);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(18px, 3vw, 30px);
  gap: 10px;
}
.wcs-cellar__backlabel {
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--wcs-accent);
}
.wcs-cellar__backnote {
  font-family: Georgia, serif;
  font-size: clamp(0.95rem, 1.7vw, 1.2rem);
  line-height: 1.5;
  color: #f4ede1;
}
.wcs-cellar__backregion {
  font-size: 0.78rem;
  color: rgba(244, 237, 225, 0.6);
}

/* ---------- İpucu ---------- */
.wcs-cellar__hint {
  position: relative;
  z-index: 2;
  margin: clamp(24px, 4vw, 36px) auto 0;
  text-align: center;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244, 237, 225, 0.5);
  transition: opacity 0.5s ease;
}
.wcs-cellar__hint.is-hidden {
  opacity: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .wcs-cellar__deck {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .wcs-cellar__deck {
    grid-template-columns: 1fr;
    max-width: 360px;
  }
  .wcs-cellar__card {
    aspect-ratio: 4 / 3;
  }
}

/* ---------- Azaltılmış hareket ---------- */
@media (prefers-reduced-motion: reduce) {
  .wcs-cellar__cardface {
    transition: none;
  }
  .wcs-cellar__cardface:hover .wcs-cellar__face--front img {
    transform: none;
  }
  .wcs-cellar__hint {
    transition: none;
  }
}
