/* ===================== Base ===================== */
:root {
  --ink: #101312;
  --gold: #a98657;
  --goldlight: #c9a876;
  --sand: #f4f1ea;
  --deep: #1c231f;
}

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

::selection {
  background: var(--gold);
  color: #fff;
}

/* Thin custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--sand);
}
::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 8px;
}

/* ===================== Header ===================== */
#site-header {
  transition: background-color 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}
#site-header.scrolled {
  background-color: rgba(16, 19, 18, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.nav-link {
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 1px;
  background: var(--goldlight);
  transition: width 0.35s ease;
}
.nav-link:hover::after {
  width: 100%;
}

/* ===================== Hero (Kayan Görsel Şeridi) ===================== */
#hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  background: var(--ink);
}

.hero-marquee-track {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  width: max-content;
  animation: hero-marquee-scroll 55s linear infinite;
  will-change: transform;
}

.hero-marquee-group {
  display: flex;
  flex-shrink: 0;
}

.hero-marquee-item {
  flex-shrink: 0;
  width: 32vw;
  min-width: 320px;
  height: 100vh;
  min-height: 640px;
  padding: 0 3px;
}

.hero-marquee-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.02);
}

@keyframes hero-marquee-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Slow down / pause on hover for a more premium feel */
#hero:hover .hero-marquee-track {
  animation-play-state: paused;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 5;
  background: linear-gradient(
    180deg,
    rgba(10, 12, 11, 0.62) 0%,
    rgba(10, 12, 11, 0.38) 30%,
    rgba(10, 12, 11, 0.4) 60%,
    rgba(10, 12, 11, 0.78) 100%
  );
}

.scroll-indicator {
  animation: bounce-soft 2.2s infinite;
}
@keyframes bounce-soft {
  0%, 100% { transform: translateY(0); opacity: 0.6; }
  50% { transform: translateY(10px); opacity: 1; }
}

/* ===================== Reveal Animation ===================== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1.in-view { transition-delay: 0.12s; }
.reveal-delay-2.in-view { transition-delay: 0.24s; }
.reveal-delay-3.in-view { transition-delay: 0.36s; }
.reveal-delay-4.in-view { transition-delay: 0.48s; }

/* ===================== Product Cards ===================== */
.product-card {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}
.product-card img {
  transition: transform 0.9s ease;
}
.product-card:hover img {
  transform: scale(1.08);
}
.product-card .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16,19,18,0) 30%, rgba(16,19,18,0.92) 100%);
}
.product-card .tag {
  transform: translateY(0);
  transition: transform 0.4s ease;
}
.product-card .more-link {
  opacity: 0;
  max-height: 0;
  transition: opacity 0.4s ease, max-height 0.4s ease, margin 0.4s ease;
}
.product-card:hover .more-link {
  opacity: 1;
  max-height: 40px;
  margin-top: 8px;
}

/* ===================== Buttons ===================== */
.btn-gold {
  background: var(--gold);
  color: #fff;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.btn-gold:hover {
  background: #8f6e45;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(169, 134, 87, 0.35);
}

.btn-outline {
  border: 1px solid rgba(255,255,255,0.6);
  color: #fff;
  transition: all 0.3s ease;
}
.btn-outline:hover {
  background: #fff;
  color: var(--ink);
}

.btn-outline-dark {
  border: 1px solid rgba(16,19,18,0.25);
  color: var(--ink);
  transition: all 0.3s ease;
}
.btn-outline-dark:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

/* ===================== Stats ===================== */
.stat-number {
  font-family: 'Playfair Display', serif;
}

/* ===================== Mobile menu ===================== */
#mobile-menu {
  transform: translateX(100%);
  transition: transform 0.4s ease;
}
#mobile-menu.open {
  transform: translateX(0);
}

/* ===================== Section Labels ===================== */
.section-label {
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
}

/* ===================== Form ===================== */
.field-input {
  background: transparent;
  border-bottom: 1px solid rgba(16,19,18,0.25);
  transition: border-color 0.3s ease;
}
.field-input:focus {
  outline: none;
  border-color: var(--gold);
}

/* Toast */
#toast {
  transform: translateY(30px);
  opacity: 0;
  transition: all 0.4s ease;
  pointer-events: none;
}
#toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* Lightbox */
#lightbox {
  transition: opacity 0.3s ease;
}

@media (max-width: 768px) {
  #hero { min-height: 560px; }
}
