:root {
  --bg-color: #070707;
  --text-color: #f5f5f7;
  --text-muted: #86868b;
  --accent-color: #ff3366;
  --accent-glow: rgba(255, 51, 102, 0.4);
  --font-main: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --glass-bg: rgba(20, 20, 22, 0.6);
  --glass-border: rgba(255, 255, 255, 0.08);
  --transition-smooth: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.8s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.8s cubic-bezier(0.16, 1, 0.3, 1), color 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: var(--font-main);
  overflow-x: hidden;
  overscroll-behavior: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  cursor: none; /* Özel imleç devrede */
}

/* Arka plan ızgarası */
.architectural-grid {
  position: fixed; top:0; left:0; width:100vw; height:100vh;
  z-index: -1; pointer-events: none; opacity: 0.03;
}
.grid-line { position: absolute; background: #fff; }
.grid-line.horizontal { width: 100%; height: 1px; }
.grid-line.vertical { height: 100%; width: 1px; }

/* Özel İmleç */
.custom-cursor {
  position: fixed; top:0; left:0; width: 6px; height: 6px;
  background: var(--accent-color); border-radius: 50%;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%);
}
.custom-cursor-ring {
  position: fixed; top:0; left:0; width: 40px; height: 40px;
  margin-top: -20px; margin-left: -20px;
  border: 1px solid rgba(255,51,102,0.5); border-radius: 50%;
  pointer-events: none; z-index: 9998;
  scale: 1;
  transition: scale 0.3s, background 0.3s, border-color 0.3s;
}
.custom-cursor-ring.hovered {
  scale: 1.5;
  background: rgba(255,51,102,0.1);
  border-color: var(--accent-color);
}

/* Navigasyon */
.nav {
  position: fixed; top: 0; left: 0; width: 100%;
  padding: 2.5rem 4rem; display: flex; justify-content: space-between;
  align-items: center; z-index: 100; mix-blend-mode: difference;
}
.logo { font-weight: 800; font-size: 1.5rem; letter-spacing: 4px; }
.logo-light { font-weight: 300; opacity: 0.6; font-size: 0.9rem; letter-spacing: 2px;}
.menu { display: flex; align-items: center; gap: 15px; cursor: none; }
.menu-text { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 2px; }
.menu-icon { width: 30px; display: flex; flex-direction: column; gap: 6px; }
.line { width: 100%; height: 2px; background: #fff; transition: var(--transition-smooth); }
.menu:hover .line:first-child { transform: translateY(8px) rotate(45deg); }
.menu:hover .line:last-child { transform: translateY(-8px) rotate(-45deg); }

/* Progress Bar */
.progress-bar-container {
  position: fixed; bottom: 40px; left: 4rem; width: 200px; height: 2px;
  background: rgba(255,255,255,0.1); z-index: 100;
}
.progress-bar { height: 100%; width: 100%; transform: scaleX(0); transform-origin: left; background: var(--accent-color); transition: transform 0.1s; }

/* Ses Kontrol */
.audio-control {
  position: fixed; bottom: 30px; right: 4rem; z-index: 100;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  cursor: none; color: var(--text-muted); transition: var(--transition-smooth);
}
.audio-control:hover { border-color: #fff; color: #fff; transform: scale(1.1); }
.ses-dalga-1, .ses-dalga-2 { opacity: 0; transition: opacity 0.3s; }
.audio-control.ses-acik { color: var(--accent-color); border-color: var(--accent-color); }
.audio-control.ses-acik .ses-dalga-1 { opacity: 0.6; }
.audio-control.ses-acik .ses-dalga-2 { opacity: 1; }

/* Kaydırma Konteyneri */
.gallery-container {
  height: 100vh; width: 100vw;
  overflow-x: auto; overflow-y: hidden;
  display: flex;
  scrollbar-width: none;
}
.gallery-container::-webkit-scrollbar { display: none; }
.gallery-track { display: flex; height: 100%; }

/* Bölümler */
.gallery-item {
  position: relative; width: 100vw; height: 100vh;
  flex: 0 0 100vw; overflow: hidden;
  display: flex; align-items: center;
}

/* Görseller ve Parallax */
.img-wrapper { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
.img-wrapper img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.4; filter: grayscale(50%);
  transition: opacity 1.5s ease-out, filter 1.5s ease-out;
}
.gallery-item.gorunur .img-wrapper img { opacity: 0.8; filter: grayscale(0%); }

.overlay-gradient {
  position: absolute; top:0; left:0; width:100%; height:100%; z-index: 2;
  background: linear-gradient(90deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0) 100%);
}
.overlay-dark { position:absolute; top:0; left:0; width:100%; height:100%; z-index:2; background: rgba(0,0,0,0.6); }

/* İçerik Panelleri */
.content-overlay {
  position: relative; z-index: 10; padding: 4rem; max-width: 800px;
  opacity: 0; transform: translateY(40px) scale(0.95);
  transition: opacity 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) 0.4s, transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) 0.4s;
}
.gallery-item.gorunur .content-overlay { opacity: 1; transform: translateY(0) scale(1); }

.content-overlay.left { margin-left: 5vw; }
.content-overlay.right { margin-left: auto; margin-right: 5vw; text-align: right; }
.content-overlay.center { margin: 0 auto; text-align: center; }

/* Cam Efektleri (Glassmorphism) */
.glass-panel {
  background: var(--glass-bg); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border); border-radius: 20px; box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}
.glass-panel-dark {
  background: rgba(5,5,8,0.8); backdrop-filter: blur(30px);
  border-top: 1px solid rgba(255,255,255,0.1); border-bottom: 1px solid rgba(255,255,255,0.1);
  width: 100vw; max-width: 100%; padding: 6rem 10vw;
}

/* Tipografi */
.section-badge {
  display: inline-block; font-size: 0.8rem; letter-spacing: 3px;
  text-transform: uppercase; color: var(--accent-color); margin-bottom: 2rem;
  border-bottom: 1px solid var(--accent-glow); padding-bottom: 0.5rem;
}
h1, h2 { font-size: clamp(3rem, 5vw, 6rem); line-height: 1.05; font-weight: 700; letter-spacing: -2px; margin-bottom: 1.5rem; text-transform: uppercase;}
.huge-text { font-size: clamp(4rem, 8vw, 10rem); letter-spacing: -5px; }
.giant-text { font-size: clamp(5rem, 10vw, 12rem); line-height: 0.9; margin-bottom: 2rem; background: linear-gradient(180deg, #fff 0%, #666 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent;}
p { font-size: 1.25rem; line-height: 1.6; color: var(--text-muted); margin-bottom: 2.5rem; font-weight: 300; }

/* İstatistik Kutuları */
.stats-row { display: flex; gap: 3rem; margin-bottom: 3rem; }
.stat-box { display: flex; flex-direction: column; gap: 0.5rem; }
.stat-num { font-size: 3.5rem; font-weight: 300; color: #fff; font-variant-numeric: tabular-nums; }
.stat-label { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 2px; color: var(--accent-color); }

/* Butonlar */
.cta-button {
  display: inline-flex; align-items: center; gap: 1rem;
  padding: 1.2rem 3rem; border-radius: 50px; text-decoration: none;
  font-weight: 600; text-transform: uppercase; letter-spacing: 1px;
  cursor: none; transition: var(--transition-smooth); overflow: hidden; position: relative;
}
.primary-btn { background: #fff; color: #000; border: none; }
.primary-btn:hover { background: var(--accent-color); color: #fff; transform: scale(1.05); }
.icon-btn { background: transparent; border: 1px solid rgba(255,255,255,0.3); color: #fff; }
.icon-btn:hover { border-color: #fff; background: rgba(255,255,255,0.1); }

/* Feature List */
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 1rem; align-items: flex-end;}
.feature-list li { font-size: 1.5rem; display: flex; align-items: center; gap: 1rem; color: #fff;}
.feature-list span { font-size: 0.8rem; color: var(--accent-color); border: 1px solid var(--accent-color); padding: 0.2rem 0.5rem; border-radius: 10px;}

/* Etkileşimli Hotspotlar */
.interactive-hotspots { position: absolute; top:0; left:0; width:100%; height:100%; z-index: 5; pointer-events: none;}
.hotspot { position: absolute; pointer-events: auto; cursor: none; }
.hotspot-pulse { width: 20px; height: 20px; background: var(--accent-color); border-radius: 50%; box-shadow: 0 0 0 0 rgba(255,51,102,0.7); animation: pulse 2s infinite; }
.hotspot-tooltip {
  position: absolute; top: 30px; left: 50%; transform: translateX(-50%);
  background: rgba(0,0,0,0.8); padding: 0.5rem 1rem; border-radius: 5px;
  font-size: 0.8rem; white-space: nowrap; opacity: 0; transition: opacity 0.3s ease, transform 0.3s ease; pointer-events: none;
}
.hotspot:hover .hotspot-tooltip { opacity: 1; transform: translate(-50%, 10px); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,51,102,0.7); } 70% { box-shadow: 0 0 0 20px rgba(255,51,102,0); } 100% { box-shadow: 0 0 0 0 rgba(255,51,102,0); } }

/* Marquee / Kayan Yazı */
.text-marquee-bg { position: absolute; top: 50%; transform: translateY(-50%); width: 200%; display: flex; opacity: 0.05; z-index: 1; pointer-events: none; }
.marquee-content { font-size: 15vw; font-weight: 900; white-space: nowrap; animation: marquee 60s linear infinite; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* Medya Grid (Bölüm 4) */
.media-grid-overlay { position: absolute; right: 5%; top: 15%; width: 40%; height: 70%; z-index: 3; display: flex; flex-direction: column; gap: 2rem;}
.media-item { border-radius: 10px; overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,0.5); transform: translateY(50px); opacity: 0; transition: var(--transition-smooth); }
.gallery-item.gorunur .thumb-1 { opacity: 1; transform: translateY(0) rotate(-2deg); transition-delay: 0.6s; }
.gallery-item.gorunur .thumb-2 { opacity: 1; transform: translateY(0) rotate(3deg); transition-delay: 0.8s; margin-left: 20%;}
.media-item img { width: 100%; height: auto; display: block; }

/* Manyetik Alan (Bölüm 5) */
.magnetic-field { position: absolute; left: 10%; top: 30%; width: 300px; height: 300px; z-index: 5; border: 1px dashed rgba(255,255,255,0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center;}
.magnetic-button { width: 120px; height: 120px; background: var(--accent-color); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; text-transform: uppercase; font-size: 0.8rem; letter-spacing: 1px; color: #fff; box-shadow: 0 10px 30px var(--accent-glow); pointer-events: none;}

/* Three.js Canvas Container */
.canvas-container { position: absolute; top:0; left:0; width:100%; height:100%; z-index: 1; }

/* Finale Section */
.glass-panel-finale { text-align: center; max-width: 1000px; padding: 5rem; }
.contact-info { margin-top: 4rem; display: flex; justify-content: center; gap: 3rem; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 2rem;}
.contact-info a { color: #fff; text-decoration: none; font-weight: 300; transition: color 0.3s ease; cursor: none;}
.contact-info a:hover { color: var(--accent-color); }
.pulse-btn { background: var(--accent-color); color: #fff; border: none; font-size: 1.5rem; padding: 1.5rem 4rem; box-shadow: 0 0 0 0 rgba(255,51,102,0.7); animation: pulse 2s infinite; }

/* Responsive / Mobile */
@media (max-width: 768px) {
  .nav { padding: 1.5rem 1.5rem; }
  .logo { font-size: 1.1rem; letter-spacing: 2px; }
  .content-overlay { padding: 2rem 1.5rem; margin-left: 0; margin-right: 0; width: 92vw; max-width: 92vw; }
  .content-overlay.left { margin-left: 4vw; }
  .content-overlay.right { margin-right: 4vw; }
  .section-badge { margin-bottom: 1rem; }
  h1, h2 { font-size: clamp(1.8rem, 6vw, 2.5rem); margin-bottom: 1rem; }
  p { font-size: 1rem; line-height: 1.5; margin-bottom: 1.5rem; }
  .stats-row { gap: 1.5rem; margin-bottom: 1.5rem; }
  .stat-num { font-size: 2.2rem; }
  .progress-bar-container { left: 1.5rem; bottom: 20px; width: 120px; }
  .audio-control { right: 1.5rem; bottom: 15px; width: 36px; height: 36px; }
  .cta-button { padding: 0.9rem 2rem; font-size: 0.9rem; }
  .contact-info { flex-direction: column; gap: 0.8rem; margin-top: 2rem; padding-top: 1rem; }
}

/* Hero Video */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero-video { display: none; }
  .gallery-item.gorunur .content-overlay { transition: none; opacity: 1; transform: none; }
  .custom-cursor, .custom-cursor-ring { display: none !important; }
  body { cursor: auto; }
}
