/* ==========================================================================
   DERYAL YAPI İNŞAAT - Modern, Estetik & Kurumsal Tasarım Sistemi (v2.0)
   Minimalist Mimari Tipografi & Lüks Obsidian Arayüzü
   ========================================================================== */

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

:root {
  --primary-dark: #070a11;
  --secondary-dark: #0d131f;
  --card-dark: #121a2a;
  --card-hover: #172237;
  
  --border-light: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(212, 175, 55, 0.4);
  
  --accent-gold: #c8aa7a;
  --accent-gold-light: #e6d3b5;
  --accent-gold-dark: #a28352;
  --accent-gold-glow: rgba(200, 170, 122, 0.18);
  
  --text-main: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #8899ac;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--primary-dark);
  color: var(--text-main);
  overflow-x: hidden;
  line-height: 1.65;
  letter-spacing: -0.01em;
}

/* Modern Minimalist Başlık Tipografisi (Kaba Değil, Şık ve Estetik Sans) */
h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  letter-spacing: -0.025em;
  font-weight: 600;
  color: #ffffff;
}

h1 {
  font-weight: 700;
  line-height: 1.12;
}

h2 {
  font-weight: 600;
  line-height: 1.25;
}

/* Özel Akıcı Scrollbar */
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}
::-webkit-scrollbar-track {
  background: #070a11;
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-gold);
}

/* Glassmorphism & Panel Stilleri */
.glass-panel {
  background: rgba(13, 19, 31, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-light);
}

.glass-card {
  background: rgba(18, 26, 42, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-light);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover {
  background: rgba(23, 34, 55, 0.85);
  border-color: rgba(200, 170, 122, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.7), 0 0 20px -5px var(--accent-gold-glow);
}

.glass-input {
  background: rgba(10, 15, 25, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  transition: all 0.2s ease;
}
.glass-input:focus {
  border-color: var(--accent-gold);
  background: rgba(13, 19, 31, 0.95);
  outline: none;
  box-shadow: 0 0 0 3px rgba(200, 170, 122, 0.15);
}

/* Modern & Estetik Altın Butonlar */
.btn-gold {
  background: linear-gradient(135deg, #d4af37 0%, #b89552 100%);
  color: #080b12;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.2);
}
.btn-gold:hover {
  background: linear-gradient(135deg, #e5ca68 0%, #c8aa7a 100%);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.35);
  transform: translateY(-2px);
}
.btn-gold:active {
  transform: translateY(0);
}

.btn-outline-gold {
  border: 1px solid rgba(200, 170, 122, 0.4);
  color: var(--accent-gold-light);
  font-weight: 500;
  transition: all 0.25s ease;
  background: rgba(200, 170, 122, 0.03);
}
.btn-outline-gold:hover {
  border-color: var(--accent-gold);
  background: rgba(200, 170, 122, 0.12);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -5px rgba(0, 0, 0, 0.5);
}

/* Lüks Altın & Metalik Gradyan Metinler */
.text-gold-gradient {
  background: linear-gradient(135deg, #ffffff 0%, #ecd6b8 45%, #c8aa7a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gold {
  color: var(--accent-gold);
}

.bg-gold {
  background-color: var(--accent-gold);
}

.border-gold {
  border-color: var(--accent-gold);
}

/* Akıcı Animasyonlar */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
  animation: fadeIn 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.05); }
}

.glow-subtle {
  animation: pulseGlow 5s infinite ease-in-out;
}

/* Hero Arka Plan & Atmosfer Efektleri */
.hero-gradient-overlay {
  background: linear-gradient(180deg, rgba(7, 10, 17, 0.55) 0%, rgba(7, 10, 17, 0.88) 70%, #070a11 100%);
}

.hero-radial-glow {
  background: radial-gradient(circle at 50% 25%, rgba(200, 170, 122, 0.12) 0%, transparent 65%);
}

/* Proje Kartı Görsel Efektleri */
.project-card-image {
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.project-card:hover .project-card-image {
  transform: scale(1.05);
}

/* Modern Status Rozetleri */
.status-badge-tamamlanan {
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.25);
  font-weight: 600;
}

.status-badge-devam_eden {
  background: rgba(245, 158, 11, 0.12);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.25);
  font-weight: 600;
}

.status-badge-planlanan {
  background: rgba(59, 130, 246, 0.12);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.25);
  font-weight: 600;
}

/* Floating WhatsApp Butonu */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 99;
  background: #25D366;
  color: white;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.35);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.whatsapp-float:hover {
  transform: scale(1.08) rotate(4deg);
  box-shadow: 0 15px 30px rgba(37, 211, 102, 0.5);
}

/* Toast Bildirim Kutusu */
#toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  padding: 14px 20px;
  border-radius: 12px;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  animation: slideInRight 0.3s ease forwards;
  max-width: 400px;
  backdrop-filter: blur(12px);
}

.toast.success {
  background: rgba(15, 44, 28, 0.95);
  border: 1px solid #10b981;
}

.toast.error {
  background: rgba(44, 15, 15, 0.95);
  border: 1px solid #ef4444;
}

.toast.info {
  background: rgba(20, 33, 61, 0.95);
  border: 1px solid var(--accent-gold);
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Sayı Sayaçları Tipografisi */
.counter-animate {
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
}

/* ==========================================================================
   APPLE VISIONOS LİQUİD GLASS & DİNAMİK AURORA MESH MOTORU (v3.0 ULTRA)
   ========================================================================== */

/* Canlı ve Hareketli Sıvı Arka Plan (Liquid Aurora Mesh Canvas) */
.liquid-bg-container {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  background: radial-gradient(circle at 50% 50%, #060a14 0%, #020408 100%);
}

/* Arka Plan İnce Apple Matris Işık Doku Deseni */
.liquid-bg-container::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    radial-gradient(rgba(212, 175, 55, 0.08) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: 0 0, 20px 20px;
  opacity: 0.8;
}

/* 5 Bağımsız Hareket Eden Yüksek Luma Sıvı Işık Küreleri */
.liquid-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  -webkit-filter: blur(100px);
  will-change: transform;
  mix-blend-mode: screen;
}

.liquid-orb-1 {
  width: 750px;
  height: 750px;
  background: radial-gradient(circle, rgba(218, 165, 32, 0.48) 0%, rgba(184, 134, 11, 0.22) 50%, transparent 75%);
  top: -15%;
  right: -10%;
  animation: orbMovement1 18s infinite alternate ease-in-out;
}

.liquid-orb-2 {
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.42) 0%, rgba(37, 99, 235, 0.25) 50%, transparent 75%);
  bottom: -20%;
  left: -10%;
  animation: orbMovement2 22s infinite alternate ease-in-out;
}

.liquid-orb-3 {
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(52, 211, 153, 0.38) 0%, rgba(5, 150, 105, 0.18) 55%, transparent 75%);
  top: 30%;
  left: 20%;
  animation: orbMovement3 16s infinite alternate ease-in-out;
}

.liquid-orb-4 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(192, 132, 252, 0.38) 0%, rgba(126, 34, 206, 0.2) 50%, transparent 75%);
  bottom: 15%;
  right: 15%;
  animation: orbMovement4 20s infinite alternate ease-in-out;
}

.liquid-orb-5 {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.45) 0%, rgba(217, 119, 6, 0.2) 50%, transparent 70%);
  top: 55%;
  left: 45%;
  animation: orbMovement5 15s infinite alternate ease-in-out;
}

@keyframes orbMovement1 {
  0% { transform: translate(0, 0) scale(1) rotate(0deg); }
  50% { transform: translate(-140px, 90px) scale(1.2) rotate(90deg); }
  100% { transform: translate(-80px, 160px) scale(0.88) rotate(180deg); }
}

@keyframes orbMovement2 {
  0% { transform: translate(0, 0) scale(1) rotate(0deg); }
  50% { transform: translate(160px, -120px) scale(1.18) rotate(-90deg); }
  100% { transform: translate(90px, -70px) scale(0.92) rotate(-180deg); }
}

@keyframes orbMovement3 {
  0% { transform: translate(0, 0) scale(0.9); }
  50% { transform: translate(110px, -90px) scale(1.25); }
  100% { transform: translate(-90px, 80px) scale(0.95); }
}

@keyframes orbMovement4 {
  0% { transform: translate(0, 0) scale(1.15); }
  50% { transform: translate(-120px, -100px) scale(0.82); }
  100% { transform: translate(80px, -50px) scale(1.1); }
}

@keyframes orbMovement5 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-100px, 110px) scale(1.22); }
  100% { transform: translate(110px, -90px) scale(0.9); }
}

/* ==========================================================================
   APPLE SPECULAR LİQUİD GLASS BİLEŞENLERİ (VisionOS Dokusu)
   ========================================================================== */

/* Ana Liquid Glass Panelleri - Parlayan Kenar ve Cam Işıltısı */
.liquid-glass-panel {
  position: relative;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.03) 35%, rgba(200, 170, 122, 0.05) 70%, rgba(13, 22, 40, 0.5) 100%), rgba(10, 16, 30, 0.68);
  backdrop-filter: blur(36px) saturate(220%) brightness(108%);
  -webkit-backdrop-filter: blur(36px) saturate(220%) brightness(108%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-top: 1px solid rgba(255, 255, 255, 0.32);
  box-shadow: 
    0 30px 60px -15px rgba(0, 0, 0, 0.75),
    0 0 25px -5px rgba(200, 170, 122, 0.15),
    inset 0 1.5px 1px 0 rgba(255, 255, 255, 0.38),
    inset 0 -1px 2px 0 rgba(0, 0, 0, 0.4);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Liquid Glass Kartları - İç Kartlar */
.liquid-glass-card {
  position: relative;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.10) 0%, rgba(255, 255, 255, 0.02) 50%, rgba(200, 170, 122, 0.06) 100%), rgba(14, 22, 38, 0.58);
  backdrop-filter: blur(28px) saturate(210%);
  -webkit-backdrop-filter: blur(28px) saturate(210%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 
    0 16px 36px -10px rgba(0, 0, 0, 0.55),
    inset 0 1px 1px 0 rgba(255, 255, 255, 0.25);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.liquid-glass-card:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.04) 40%, rgba(200, 170, 122, 0.15) 100%), rgba(18, 28, 48, 0.82);
  border-color: rgba(200, 170, 122, 0.55);
  border-top-color: rgba(255, 255, 255, 0.45);
  transform: translateY(-3px);
  box-shadow: 
    0 28px 55px -12px rgba(0, 0, 0, 0.8),
    0 0 30px -4px rgba(200, 170, 122, 0.35),
    inset 0 1px 2px 0 rgba(255, 255, 255, 0.4);
}

/* Sıvı Cam Girdiler & Metin Alanları */
.liquid-glass-input {
  background: rgba(6, 10, 20, 0.72);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  box-shadow: 
    inset 0 2px 5px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.liquid-glass-input:focus {
  background: rgba(10, 18, 36, 0.95);
  border-color: var(--accent-gold);
  border-top-color: rgba(255, 255, 255, 0.4);
  outline: none;
  box-shadow: 
    0 0 0 3px rgba(200, 170, 122, 0.3),
    0 0 20px rgba(200, 170, 122, 0.25),
    inset 0 1px 2px rgba(0, 0, 0, 0.35);
}

/* Liquid Header & Sidebar */
.liquid-glass-header {
  background: linear-gradient(180deg, rgba(15, 22, 38, 0.82) 0%, rgba(8, 12, 22, 0.78) 100%);
  backdrop-filter: blur(40px) saturate(230%);
  -webkit-backdrop-filter: blur(40px) saturate(230%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.liquid-glass-sidebar {
  background: linear-gradient(180deg, rgba(12, 18, 32, 0.8) 0%, rgba(6, 10, 18, 0.76) 100%);
  backdrop-filter: blur(36px) saturate(220%);
  -webkit-backdrop-filter: blur(36px) saturate(220%);
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 10px 0 40px rgba(0, 0, 0, 0.4);
}

/* Apple Tarzı Parlayan Cam Sekme Butonları */
.liquid-tab-btn {
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

.liquid-tab-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  transform: translateX(3px);
}

.liquid-tab-active {
  background: linear-gradient(135deg, rgba(200, 170, 122, 0.3) 0%, rgba(200, 170, 122, 0.12) 100%) !important;
  border: 1px solid rgba(200, 170, 122, 0.55) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.4) !important;
  color: #ffffff !important;
  box-shadow: 
    0 10px 28px -4px rgba(200, 170, 122, 0.38),
    inset 0 1px 1.5px rgba(255, 255, 255, 0.4) !important;
}

/* Bento Izgara Başlık Vurguları */
.bento-section-title {
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.01em;
}

/* Three.js 3D Canvas Katman Stilleri */
#three-hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  mix-blend-mode: screen;
  transform: translateZ(0);
  will-change: transform;
}

#three-subpage-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: screen;
  opacity: 0.85;
}

#three-admin-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.75;
}

