/* =========================================================
   GÜMÜŞTAŞ DÜĞÜN & DAVET SALONU - YUMUŞAK & PRESTİJLİ TASARIM
========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@600;700&family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500;1,600&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg-main: #fbfbf9;
  --bg-card: #ffffff;
  --text-primary: #1e293b;
  --text-muted: #64748b;
  --primary-green: #0f766e;
  --primary-emerald: #059669;
  --accent-gold: #c6923c;
  --border-soft: rgba(226, 232, 240, 0.85);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: #fbf9f5;
  /* LÜKS SALON & İPEK IŞILTISI ARKA PLANI (Luxury Ambient Silk & Warm Light) */
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(253, 244, 215, 0.45) 0%, transparent 45%),
    radial-gradient(circle at 85% 35%, rgba(236, 253, 245, 0.5) 0%, transparent 50%),
    radial-gradient(circle at 20% 75%, rgba(254, 243, 199, 0.35) 0%, transparent 45%),
    radial-gradient(circle at 85% 90%, rgba(209, 250, 229, 0.4) 0%, transparent 50%);
  background-attachment: fixed;
  color: var(--text-primary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.font-serif-title {
  font-family: 'Playfair Display', Georgia, serif;
}

.font-handwriting {
  font-family: 'Dancing Script', cursive;
  letter-spacing: 0.02em;
}

/* ================= YUMUŞAK GÖLGELER VE KART GEÇİŞLERİ ================= */
.soft-card {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 1.5rem;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.03);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.soft-card:hover {
  transform: translateY(-3px);
  border-color: rgba(5, 150, 105, 0.3);
  box-shadow: 0 16px 32px -4px rgba(5, 150, 105, 0.08);
}

/* ================= HERO SLIDER STYLES ================= */
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), transform 6s linear;
  transform: scale(1.06);
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.4);
  transition: all 0.3s ease;
  cursor: pointer;
}

.slider-dot.active {
  width: 32px;
  background-color: #25D366;
}

/* ================= YÜZEN WHATSAPP BUTONU ================= */
.floating-whatsapp {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  background: #25D366;
  color: white;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
}

.floating-whatsapp:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.5);
}

/* ================= GALERİ KARTI VE HOVER ================= */
.gallery-card {
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
  transition: all 0.4s ease;
}

.gallery-card img {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-card:hover img {
  transform: scale(1.06);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-card:hover .gallery-overlay {
  opacity: 1;
}

/* ================= CUSTOM SCROLLBAR ================= */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f8faf9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* ================= ACTIVE NAV SPY STYLE (Alandan Alana Geçince) ================= */
.nav-item.active-nav {
  background-color: #ffffff;
  color: #047857 !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
  font-weight: 700;
}

.mobile-nav-item.active-nav {
  background-color: #ecfdf5 !important;
  color: #047857 !important;
  font-weight: 700;
}

/* ================= OYUN KARTI (CARD STACK) EFEKTİ ================= */
.card-deck-container {
  position: relative;
  width: 100%;
  max-width: 440px;
  height: 480px;
  margin: 0 auto;
  perspective: 1200px;
  user-select: none;
}

.deck-card {
  position: absolute;
  inset: 0;
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.18), 0 0 0 1px rgba(226, 232, 240, 0.9);
  transition: transform 0.65s cubic-bezier(0.25, 1, 0.35, 1), opacity 0.5s ease;
  cursor: pointer;
  z-index: 1;
  opacity: 0;
  transform: translateY(-50px) scale(0.8) rotate(0deg);
  pointer-events: none;
}

.deck-card[data-pos="0"] {
  z-index: 40;
  transform: translateY(0) scale(1) rotate(0deg);
  opacity: 1;
  pointer-events: auto;
}

.deck-card[data-pos="1"] {
  z-index: 30;
  transform: translateY(-14px) scale(0.95) rotate(3deg);
  opacity: 0.9;
  pointer-events: none;
}

.deck-card[data-pos="2"] {
  z-index: 20;
  transform: translateY(-26px) scale(0.90) rotate(-2.5deg);
  opacity: 0.78;
  pointer-events: none;
}

.deck-card[data-pos="3"] {
  z-index: 10;
  transform: translateY(-38px) scale(0.86) rotate(1.5deg);
  opacity: 0.60;
  pointer-events: none;
}

.deck-card.swapping {
  transform: translate(110%, -15px) rotate(18deg) scale(0.92) !important;
  opacity: 0 !important;
  z-index: 50 !important;
}

/* ================= HABER ŞERİDİ (INFINITE MARQUEE TICKER) ================= */
@keyframes marqueeScroll {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

.marquee-container {
  display: flex;
  overflow: hidden;
  user-select: none;
  position: relative;
  width: 100%;
}

.marquee-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: marqueeScroll 35s linear infinite;
  will-change: transform;
}

.marquee-container:hover .marquee-track {
  animation-play-state: paused;
}
