/* ==========================================================================
   NİDA TEKEL — 120 FPS Ultra-Smooth High Performance CSS
   ========================================================================== */

:root {
  --color-gold: #d4af37;
  --color-gold-light: #fff6d6;
  --color-gold-dark: #aa7c11;
  --color-bg-dark: #070707;
  --color-card-dark: #121212;
}

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

html.lenis, html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

html, body {
  background-color: var(--color-bg-dark);
  color: #eaeaea;
  font-family: 'Plus Jakarta Sans', sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Luxury Typography */
.font-cinzel { font-family: 'Cinzel', serif; }
.font-editorial { font-family: 'Cormorant Garamond', Georgia, serif; }
.font-sans-modern { font-family: 'Plus Jakarta Sans', sans-serif; }

/* Gold Gradient Text */
.text-gold-gradient {
  background: linear-gradient(135deg, #fff6d6 0%, #d4af37 50%, #aa7c11 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Fast Solid Glassmorphism (Zero Shader Stall) */
.glass-panel {
  background: rgba(14, 14, 14, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Mobile Navigation Collapse Drawer (Solid Dark + Blur + Gold Border) */
@media (max-width: 767.98px) {
  .navbar-collapse {
    background: rgba(12, 12, 12, 0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 1.25rem;
    padding: 1.25rem;
    margin-top: 0.75rem;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.95), 0 0 25px rgba(212, 175, 55, 0.12);
  }

  .navbar-nav .nav-link {
    padding: 0.7rem 0.9rem;
    border-radius: 0.75rem;
    transition: all 0.25s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  }

  .navbar-nav .nav-link:hover,
  .navbar-nav .nav-link:active {
    background: rgba(212, 175, 55, 0.12);
    color: var(--color-gold) !important;
    padding-left: 1.2rem;
  }
}

/* Soft Vignette */
.vignette {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 10;
  background: radial-gradient(circle at 50% 50%, transparent 60%, rgba(0,0,0,0.7) 100%);
}

/* Fixed 3D Viewport Stage */
.stage-viewport {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  pointer-events: none;
  z-index: 15;
  perspective: 1200px;
  transform-style: preserve-3d;
}

/* Ambient Radial Orange/Amber Glow in Background - Pure High Performance Gradient (No filter:blur) */
.ambient-spotlight {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) translateZ(0);
  width: 650px;
  height: 650px;
  max-width: 95vw;
  max-height: 95vw;
  background: radial-gradient(circle, rgba(235, 120, 20, 0.22) 0%, rgba(212, 175, 55, 0.10) 35%, rgba(0, 0, 0, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  will-change: transform, opacity;
}

/* Bottle Specific Glow (Moves with bottle) - GPU Friendly */
.bottle-glow {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) translateZ(0);
  width: 320px;
  height: 520px;
  max-width: 85vw;
  background: radial-gradient(ellipse at center, rgba(255, 130, 0, 0.35) 0%, rgba(212, 175, 55, 0.18) 35%, rgba(0, 0, 0, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  will-change: transform, opacity;
}

.bottle-glow-tequila {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) translateZ(0);
  width: 280px;
  height: 440px;
  background: radial-gradient(ellipse at center, rgba(30, 110, 240, 0.28) 0%, rgba(212, 175, 55, 0.12) 40%, rgba(0, 0, 0, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  will-change: transform, opacity;
}

.bottle-glow-champagne {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) translateZ(0);
  width: 280px;
  height: 440px;
  background: radial-gradient(ellipse at center, rgba(255, 180, 50, 0.30) 0%, rgba(212, 175, 55, 0.12) 40%, rgba(0, 0, 0, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  will-change: transform, opacity;
}

/* Hardware Composited GPU Layers */
.gpu-actor {
  position: absolute;
  pointer-events: none;
  will-change: transform, opacity;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform-style: preserve-3d;
}

.gpu-actor img {
  display: block;
  user-select: none;
  -webkit-user-select: none;
  pointer-events: none;
  -webkit-user-drag: none;
  will-change: transform;
}

/* Glass Card with isolated hover */
.glass-card {
  background: rgba(20, 20, 20, 0.75);
  border: 1px solid rgba(212, 175, 55, 0.15);
  transition: border-color 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  transform-style: preserve-3d;
  will-change: transform;
}

.glass-card:hover {
  border-color: rgba(212, 175, 55, 0.45);
  box-shadow: 0 10px 30px -10px rgba(212, 175, 55, 0.15);
}

/* Category Card Specific */
.category-card {
  cursor: pointer;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.category-card:hover {
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: 0 12px 40px -8px rgba(212, 175, 55, 0.25);
}

.category-card:hover .bi {
  transform: scale(1.15);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.category-card .bi {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Category Card Image */
.category-img-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
}

.category-img {
  max-height: 110px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  filter: drop-shadow(0 4px 12px rgba(212, 175, 55, 0.15));
}

.category-card:hover .category-img {
  transform: scale(1.1);
  filter: drop-shadow(0 8px 20px rgba(212, 175, 55, 0.3));
}

/* Buttons */
.btn-gold {
  background: linear-gradient(135deg, #d4af37 0%, #aa7c11 100%);
  color: #000;
  font-weight: 700;
  border: none;
  border-radius: 9999px;
  padding: 0.6rem 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  transition: transform 0.15s ease, filter 0.15s ease;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.25);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.btn-gold:hover {
  color: #000;
  filter: brightness(1.1);
  transform: scale(1.02);
}

.btn-outline-gold {
  background: rgba(212, 175, 55, 0.1);
  color: #d4af37;
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 0.75rem;
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}
.btn-outline-gold:hover {
  background: #d4af37;
  color: #000;
}

/* Filter Pills */
.filter-btn {
  background: rgba(20, 20, 20, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #a0a0a0;
  border-radius: 0.75rem;
  padding: 0.5rem 1.2rem;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.filter-btn:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}
.filter-btn.active {
  background: linear-gradient(135deg, #d4af37 0%, #aa7c11 100%);
  color: #000;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.35);
}

/* Animations */
@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(6px);
  }
}

.animate-bounce {
  animation: bounce 2s infinite ease-in-out;
  display: inline-block;
}

/* Custom Luxury Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #070707;
}
::-webkit-scrollbar-thumb {
  background: #2a2517;
  border-radius: 4px;
  border: 1px solid rgba(212, 175, 55, 0.2);
}
::-webkit-scrollbar-thumb:hover {
  background: #d4af37;
}

/* ==========================================================================
   MOBILE CINEMATIC RESPONSIVE ENHANCEMENTS (< 768px)
   ========================================================================== */
@media (max-width: 767px) {
  .stage-viewport {
    perspective: 800px;
  }

  .ambient-spotlight {
    width: 300px;
    height: 300px;
  }

  .bottle-glow {
    width: 160px;
    height: 280px;
  }

  .bottle-glow-tequila,
  .bottle-glow-champagne {
    width: 140px;
    height: 240px;
  }

  /* Hide distracting clutter elements on mobile for pure luxury focus */
  #peanut-fg-1,
  #peanut-fg-4,
  #mixology-lime,
  #mixology-ice1 {
    display: none !important;
  }

  /* Elegant mobile bottle proportions */
  #bottle-whiskey {
    left: 50% !important;
    top: 60% !important;
  }
  #bottle-whiskey img {
    max-height: 38vh !important;
  }

  #bottle-tequila {
    left: 50% !important;
    top: 60% !important;
  }
  #bottle-tequila img {
    max-height: 36vh !important;
  }

  #bottle-champagne {
    left: 50% !important;
    top: 60% !important;
  }
  #bottle-champagne img {
    max-height: 34vh !important;
  }

  /* Single crystal glass accent */
  #mixology-glass {
    left: 20% !important;
    top: 70% !important;
  }
  #mixology-glass img {
    max-height: 90px !important;
  }

  /* Text positioned cleanly in upper area above bottles */
  #scene-text-1,
  #scene-text-2 {
    top: 28% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    padding: 0 1.25rem !important;
    width: 95% !important;
  }

  #scene-text-1 h2,
  #scene-text-2 h2 {
    font-size: 1.85rem !important;
    line-height: 1.2;
    margin-bottom: 0.35rem !important;
    text-shadow: 0 2px 25px rgba(0, 0, 0, 0.9), 0 0 50px rgba(0, 0, 0, 0.8);
  }

  #scene-text-1 p,
  #scene-text-2 p {
    font-size: 0.92rem !important;
    line-height: 1.4;
    text-shadow: 0 1px 15px rgba(0, 0, 0, 0.85);
  }

  #scene-text-1 span,
  #scene-text-2 span {
    font-size: 0.68rem !important;
    letter-spacing: 2px !important;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8);
  }
}

/* Footer Generous Spacing for Floating Bar */
.footer-spaced {
  padding-bottom: 7.5rem !important;
}

/* ==========================================================================
   FLOATING QUICK CONTACT ACTION BAR (Always Visible & Glassmorphic)
   ========================================================================== */
.floating-quick-bar {
  position: fixed;
  bottom: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1040;
  width: 94%;
  max-width: 780px;
  background: rgba(15, 15, 15, 0.90);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 9999px;
  padding: 0.5rem 1rem;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.85), 0 0 20px rgba(212, 175, 55, 0.15);
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  animation: floatBarIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.floating-quick-bar.hide-bar {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 30px);
}

@keyframes floatBarIn {
  from {
    opacity: 0;
    transform: translate(-50%, 40px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

.btn-whatsapp-glow {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff !important;
  border: none;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.45);
  transition: all 0.2s ease;
}

.btn-whatsapp-glow:hover {
  filter: brightness(1.15);
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.65);
}

.hover-gold:hover {
  border-color: rgba(212, 175, 55, 0.6) !important;
  color: #d4af37 !important;
}

/* ==========================================================================
   XRAFTWARE SIGNATURE
   ========================================================================== */
.creator {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 18px;
  border-radius: 50px;
  background: rgba(212, 175, 55, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.2);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.creator-text {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 600;
  transition: color 0.4s ease;
}

.logo-glow-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  
}

.brand-logo {
  height: 54px;
  width: auto !important;
  filter: brightness(0) invert(1) opacity(0.7);
  transition: all 0.5s ease;
  z-index: 2;
}

/* Hover Canlanma Efekti */
.creator:hover {
  background: rgba(212, 175, 55, 0.12);
  border-color: rgba(212, 175, 55, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.15);
}

.creator:hover .brand-logo {
  filter: brightness(0) invert(1) opacity(1) drop-shadow(0 0 8px rgba(102, 55, 212, 0.5));
  transform: scale(1.05);
}

.creator:hover .creator-text {
  color: #d4af37;
}

/* Parlama animasyonu */
.creator::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(5, 27, 223, 0.25),
    transparent
  );
  transition: 0.6s;
  z-index: 1;
}

.creator:hover::before {
  left: 100%;
}

@media (max-width: 768px) {
  .creator {
    width: auto;
    justify-content: center;
    padding: 6px 16px;
  }
}
