@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg-primary: #0A0E17;
  --bg-secondary: #0F1622;
  --bg-card: #151D2A;
  --gold-primary: #C5A059;
  --gold-light: #E5C378;
  --gold-dark: #9A7B38;
  --text-main: #F3F4F6;
  --text-muted: #9CA3AF;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-main);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: 'Outfit', sans-serif;
}

/* Özel Kaydırma Çubuğu */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: #232F42;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold-primary);
}

/* Glassmorphism ve Lüks Kart Efektleri */
.glass-nav {
  background: rgba(10, 14, 23, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(197, 160, 89, 0.15);
}

.glass-card {
  background: rgba(21, 29, 42, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover {
  border-color: rgba(197, 160, 89, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(197, 160, 89, 0.1);
}

.glass-search-box {
  background: rgba(15, 22, 34, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(197, 160, 89, 0.3);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

/* Altın Metin & Gradient */
.text-gold-gradient {
  background: linear-gradient(135deg, #FFF3D1 0%, #C5A059 50%, #9A7B38 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bg-gold-gradient {
  background: linear-gradient(135deg, #D4AF37 0%, #C5A059 100%);
}

.bg-gold-gradient:hover {
  background: linear-gradient(135deg, #E5C378 0%, #D4AF37 100%);
}

/* Altın Çerçeve Glow Efekti */
.gold-border-glow {
  position: relative;
}
.gold-border-glow::after {
  content: '';
  position: absolute;
  inset: -1px;
  background: linear-gradient(135deg, rgba(197, 160, 89, 0.6), transparent, rgba(197, 160, 89, 0.2));
  border-radius: inherit;
  z-index: -1;
}

/* Noktalı Harita & Arka Plan Desenleri */
.dotted-pattern {
  background-image: radial-gradient(rgba(197, 160, 89, 0.25) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* Hero Bölümü Villa Görseli Karartma */
.hero-overlay {
  background: linear-gradient(180deg, rgba(10, 14, 23, 0.4) 0%, rgba(10, 14, 23, 0.7) 60%, rgba(10, 14, 23, 1) 100%),
              linear-gradient(90deg, rgba(10, 14, 23, 0.8) 0%, transparent 60%);
}

/* Buton Animasyonları */
.btn-gold {
  background: linear-gradient(135deg, #C5A059 0%, #9A7B38 100%);
  color: #0A0E17;
  font-weight: 600;
  border: 1px solid rgba(255, 243, 209, 0.3);
  transition: all 0.3s ease;
}
.btn-gold:hover {
  background: linear-gradient(135deg, #E5C378 0%, #C5A059 100%);
  box-shadow: 0 0 25px rgba(197, 160, 89, 0.4);
  transform: translateY(-1px);
}

.btn-outline-gold {
  border: 1px solid rgba(197, 160, 89, 0.5);
  color: #C5A059;
  background: rgba(197, 160, 89, 0.05);
  transition: all 0.3s ease;
}
.btn-outline-gold:hover {
  background: rgba(197, 160, 89, 0.15);
  border-color: #C5A059;
  color: #FFF3D1;
}

/* Pulsing Play Button */
@keyframes pulse-ring {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 0; }
  100% { transform: scale(0.95); opacity: 0; }
}
.pulse-ring::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid #C5A059;
  animation: pulse-ring 2s infinite cubic-bezier(0.4, 0, 0.6, 1);
}

/* Logo Shine Efekti */
.logo-shine {
  position: relative;
  overflow: hidden;
}

.logo-shine::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -150%;
  width: 50%;
  height: 200%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.45) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(30deg);
  pointer-events: none;
  z-index: 10;
  animation: logo-shine-animation 5s infinite ease-in-out;
}

/* Mouse ile üzerine gelindiğinde hızlı tetikleme */
a:hover .logo-shine::after,
.logo-shine:hover::after {
  animation: logo-shine-animation 0.9s ease-out;
}

@keyframes logo-shine-animation {
  0% {
    left: -150%;
  }
  50% {
    left: 150%;
  }
  100% {
    left: 150%;
  }
}

/* Hero Slider Arka Plan Shine Efekti */
.slider-shine {
  position: relative;
}

.slider-shine::after {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.08) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  pointer-events: none;
  z-index: 2;
  animation: slider-shine-animation 8s infinite ease-in-out;
}

@keyframes slider-shine-animation {
  0% {
    left: -150%;
  }
  30% {
    left: 150%;
  }
  100% {
    left: 150%;
  }
}

/* Yapay Zeka Danışmanı (Chatbot) Stilleri */
@keyframes ai-glow {
  0%, 100% {
    box-shadow: 0 4px 20px rgba(10, 14, 23, 0.5), 0 0 15px rgba(197, 160, 89, 0.25);
  }
  50% {
    box-shadow: 0 4px 25px rgba(10, 14, 23, 0.6), 0 0 25px rgba(197, 160, 89, 0.5);
  }
}

#open-ai-chat {
  animation: ai-glow 3s infinite ease-in-out;
}

#ai-chat-messages::-webkit-scrollbar {
  width: 4px;
}
#ai-chat-messages::-webkit-scrollbar-track {
  background: transparent;
}
#ai-chat-messages::-webkit-scrollbar-thumb {
  background: rgba(197, 160, 89, 0.2);
  border-radius: 10px;
}
#ai-chat-messages::-webkit-scrollbar-thumb:hover {
  background: rgba(197, 160, 89, 0.4);
}
