@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@300;400;600;700;800&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

:root {
  --color-bg-dark: #040812; /* Çok daha derin, lüks bir lacivert/siyah */
  --color-bg-card: rgba(16, 25, 45, 0.65); /* Daha net cam efekti için */
  --color-primary: #D4AF37; /* Klasik Altın */
  --color-primary-light: #F9E596; 
  --color-text-main: #FFFFFF; 
  --color-text-muted: #94A3B8; 
  
  --color-border: rgba(212, 175, 55, 0.25);
  --color-border-light: rgba(255, 255, 255, 0.08);
  
  --shadow-gold: 0 10px 40px -10px rgba(212, 175, 55, 0.5);
  --shadow-glass: 0 20px 40px -10px rgba(0, 0, 0, 0.7);
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background-color: var(--color-bg-dark);
  color: var(--color-text-main);
  font-family: var(--font-body);
  line-height: 1.7;
  overflow-x: hidden;
  max-width: 100vw;
}

.menu-toggle { display: none; }

/* Tipografi ve Altın Parlama Efektleri (Gradient Text) */
h1, h2, h3, h4, h5 { font-family: var(--font-heading); font-weight: 700; }

.text-gold-gradient {
  background: linear-gradient(to right, #BF953F, #FCF6BA, #B38728, #FBF5B7, #AA771C);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 200% auto;
  animation: shine 5s linear infinite;
}
@keyframes shine { to { background-position: 200% center; } }

a { text-decoration: none; color: inherit; transition: var(--transition-smooth); }

/* Glassmorphism & Soft Shadows */
.glass-panel {
  background: var(--color-bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--color-border-light);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  box-shadow: var(--shadow-glass);
  position: relative;
  overflow: hidden;
}
/* İçeriden altın renkli yumuşak parlama */
.glass-panel::after {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  box-shadow: inset 0 0 40px rgba(212, 175, 55, 0.05); pointer-events: none;
}

/* Lüks Butonlar */
.btn {
  display: inline-flex; justify-content: center; align-items: center; gap: 10px;
  padding: 16px 36px; border-radius: 50px; /* Modern hap şeklinde */
  font-family: var(--font-heading); font-weight: 600; font-size: 1.05rem;
  letter-spacing: 1px; cursor: pointer; transition: var(--transition-smooth); border: none;
}

.btn-primary {
  background: linear-gradient(135deg, #CF9D2A 0%, #A3791B 100%);
  color: #000;
  box-shadow: var(--shadow-gold);
  border: 1px solid #E5C05E;
}
.btn-primary:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(212, 175, 55, 0.6);
  filter: brightness(1.15);
}

.btn-outline {
  background: rgba(212, 175, 55, 0.05);
  color: var(--color-primary-light);
  border: 1px solid var(--color-primary);
  backdrop-filter: blur(5px);
}
.btn-outline:hover {
  background: var(--color-primary); color: #000; transform: translateY(-5px);
}

/* Floating WhatsApp Butonu */
.whatsapp-float {
  position: fixed; width: 60px; height: 60px; bottom: 40px; right: 40px;
  background-color: #25d366; color: #FFF; border-radius: 50px;
  text-align: center; font-size: 35px; line-height: 60px;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
  z-index: 9999;
  animation: pulse-green 2s infinite cubic-bezier(0.66, 0, 0, 1);
  transition: all 0.3s ease;
}
.whatsapp-float:hover { transform: scale(1.1) rotate(10deg); color:#fff; }
@keyframes pulse-green {
  to { box-shadow: 0 0 0 20px rgba(37, 211, 102, 0); }
}

/* Header & Nav */
header {
  position: fixed; top: 0; width: 100%; padding: 25px 6%;
  display: flex; justify-content: space-between; align-items: center;
  z-index: 1000; transition: var(--transition-smooth);
}
header.scrolled {
  background: rgba(4, 8, 18, 0.95); backdrop-filter: blur(15px);
  padding: 15px 6%; border-bottom: 1px solid var(--color-border-light);
}

.logo { font-family: var(--font-heading); font-size: 1.6rem; font-weight: 800; letter-spacing: 2px; }

.nav-links { display: flex; gap: 35px; list-style: none; }
.nav-links li a { font-size: 0.95rem; font-weight: 500; letter-spacing: 1px; color: var(--color-text-muted); text-transform: uppercase;}
.nav-links li a:hover, .nav-links li a.active { color: var(--color-primary); text-shadow: 0 0 15px rgba(212,175,55,0.5); }

/* Parallax Hero Section (Zengin Arka Plan) */
.hero {
  min-height: 100vh; display: flex; align-items: center; padding: 0 6%; position: relative;
  /* Lüks bina/mimari arka plan placeholder'ı */
  background: radial-gradient(circle at center, rgba(4,8,18,0.3) 0%, #040812 100%), 
              url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?q=80&w=2070&auto=format&fit=crop') center/cover fixed;
}
.hero-content {
  max-width: 900px; z-index: 10; margin-top: 100px;
}
.hero-tag {
  display: inline-block; padding: 8px 20px; border-radius: 30px;
  background: rgba(212, 175, 55, 0.15); color: var(--color-primary-light);
  font-size: 0.9rem; font-weight: 600; letter-spacing: 2px; margin-bottom: 25px;
  border: 1px solid var(--color-border); text-transform: uppercase;
}
.hero h1 { font-size: 5rem; line-height: 1.1; margin-bottom: 30px; letter-spacing: -1px;}
.hero p { font-size: 1.3rem; color: #CBD5E1; margin-bottom: 50px; font-weight:300; max-width: 700px; line-height:1.8;}
.hero-buttons { display: flex; gap: 25px; }

/* Dinamik İstatistik Bölümü */
.stats-section {
  display: flex; justify-content: space-around; flex-wrap: wrap; gap: 30px;
  margin-top: -80px; position: relative; z-index: 20; padding: 0 6%;
}
.stat-box {
  background: linear-gradient(145deg, #0f1525, #080b14);
  padding: 40px 30px; border-radius: 20px; width: 100%; max-width: 300px; text-align: center;
  border: 1px solid rgba(255,255,255,0.05); box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}
.stat-number { font-size: 3.5rem; font-family: var(--font-heading); font-weight: 800; color: var(--color-primary); line-height: 1; margin-bottom: 15px;}
.stat-label { color: var(--color-text-muted); font-size: 1rem; text-transform: uppercase; letter-spacing: 1px; }

/* Standart Sections */
section { padding: 120px 6%; }
.section-title { text-align: center; font-size: 3.2rem; margin-bottom: 80px; }
.section-title span { display: block; font-size: 1.1rem; color: var(--color-primary); text-transform: uppercase; letter-spacing: 4px; margin-bottom: 15px; font-weight: 600; }

/* İlan Kartı Lüksleştirmesi (Hover'da görselin büyümesi vb.) */
.ilan-card { border-radius: 16px; overflow: hidden; background: #0f1525; }
.ilan-img-wrapper { overflow: hidden; border-bottom: 3px solid var(--color-primary); }
.ilan-img-wrapper img { width: 100%; height: 250px; object-fit: cover; transition: transform 0.7s ease; }
.ilan-card:hover .ilan-img-wrapper img { transform: scale(1.1); }
.ilan-card:hover { transform: translateY(-15px) !important; box-shadow: 0 30px 60px rgba(0,0,0,0.8), 0 0 30px rgba(212,175,55,0.1) !important; }

/* Zengin ve Dolu Dolu Footer */
.luxury-footer {
  background: #02040A; border-top: 1px solid rgba(212,175,55,0.2); padding: 80px 6% 30px 6%;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 50px; margin-bottom: 60px; }
.footer-col h4 { color: var(--color-text-main); font-size: 1.2rem; margin-bottom: 25px; position:relative; padding-bottom:10px; }
.footer-col h4::after { content:''; position:absolute; left:0; bottom:0; width:40px; height:2px; background:var(--color-primary); }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 15px; }
.footer-links a { color: var(--color-text-muted); transition: 0.3s; display:flex; align-items:center; gap:10px;}
.footer-links a:hover { color: var(--color-primary); transform: translateX(5px); }
.social-icons { display: flex; gap: 15px; margin-top:20px; }
.social-icons a { display:inline-flex; align-items:center; justify-content:center; width:40px; height:40px; border-radius:50%; background:rgba(255,255,255,0.05); color:var(--color-primary); transition:0.3s; }
.social-icons a:hover { background:var(--color-primary); color:#000; transform:translateY(-3px); }

/* Animasyonlar */
.fade-in-up { opacity: 0; transform: translateY(40px); transition: all 1s cubic-bezier(0.16, 1, 0.3, 1); }
.fade-in-up.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }

/* Google Ads Placeholder Optimizasyonu */
.ad-container {
  width: 100%; background: repeating-linear-gradient(45deg, rgba(255,255,255,0.02), rgba(255,255,255,0.02) 10px, rgba(0,0,0,0.2) 10px, rgba(0,0,0,0.2) 20px);
  border: 1px dashed rgba(212,175,55,0.3); border-radius: 12px; display: flex; justify-content: center; align-items: center; color: #64748B;
}

@media (max-width: 992px) {
  .hero h1 { font-size: 3.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
.rehber-layout { grid-template-columns: 1fr 350px; }

/* ================= MOBİL & TABLET EKRAN UYUMU ================= */
@media (max-width: 900px) {
  /* Hamburger Menü (Üç Çizgi) Optimizasyonları */
  .menu-toggle { display: block; font-size: 2rem; color: var(--color-primary); cursor: pointer; }
  /* Mobil Performans İyileştirmeleri (Kasmayı engeller) */
  .hero, .hero-subpage { background-attachment: scroll !important; } /* Sabit Parallax mobilde kasar */
  .glass-panel, header.scrolled { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; } 
  .glass-panel { background: rgba(16, 25, 45, 0.95) !important; }
  
  #main-header { flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: center; padding: 15px 5%; background: var(--color-bg-dark); border-bottom: 1px solid rgba(212,175,55,0.15); }
  .logo { margin-bottom: 0; }
  
  .nav-links { display: none; width: 100%; flex-direction: column; text-align: center; gap: 5px; margin-top: 15px; padding-top:15px; border-top:1px solid rgba(255,255,255,0.05); }
  .nav-links.active { display: flex; }

  /* Hero ve Başlıklar (Ekrana sığdır) */
  .hero { padding: 180px 5% 80px 5%; }
  .hero h1, .hero-subpage h1 { font-size: 2.2rem !important; }
  
  /* Elemanların yerlerini koruyarak mobil düzen - İlanlar Yan Yana */
  #ilan-grid { grid-template-columns: 1fr; }
  .stats-section { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-top: 40px; }
  .stat-card { padding: 20px; }
  .stat-number { font-size: 2.2rem; }
  
  /* Rehber ve Footer */
  .rehber-layout { grid-template-columns: 1fr !important; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; gap: 30px; }
  .footer-col { display: flex; flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .hero h1, .hero-subpage h1 { font-size: 1.8rem !important; }
  .stats-section { grid-template-columns: 1fr; }
  .calculator-container { padding: 0 15px !important; }
  .calc-form, .calc-result { padding: 25px 15px !important; }
}

/* Alt Sayfalar İçin Kapak (Parallax) */
.hero-subpage {
  position: relative;
  padding: 160px 5% 80px 5%;
  text-align: center;
  background-color: var(--color-bg-dark);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  border-bottom: 2px solid var(--color-primary);
  margin-bottom: 40px;
}
.hero-subpage::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(4, 8, 18, 0.85); /* Gece mavisi lüks filtre */
  z-index: 1;
}
.hero-subpage > * {
  position: relative;
  z-index: 2;
}
