/* ============================================================
   OTO MARKET — Premium tema
   Palet: gece laciverti + canlı mavi + neon kırmızı (tabela renkleri)
   ============================================================ */

:root {
  --bg: #060b16;
  --bg-soft: #0a1122;
  --panel: #0e1730;
  --gold: #2f7ce0;        /* ana vurgu: tabela mavisi */
  --gold-light: #6ab0ff;
  --gold-dark: #1550b0;
  --red: #ff2d2d;         /* ikincil vurgu: neon tabela kırmızısı */
  --red-dark: #c1121f;
  --text: #eef2f8;
  --text-dim: #93a0b8;
  --line: rgba(47, 124, 224, 0.3);
  --font-display: "Poppins", "Segoe UI", sans-serif;
  --font-body: "Nunito", -apple-system, sans-serif;
}

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

/* Ekranda görünmez, arama motorları için var */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--gold); color: #000; }

/* ---------- Yükleme perdesi ---------- */
#loader {
  position: fixed; inset: 0; z-index: 1000;
  background: var(--bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 24px;
  transition: opacity 0.8s ease, visibility 0.8s;
}
#loader.hidden { opacity: 0; visibility: hidden; }
.loader-ring {
  width: 64px; height: 64px;
  border: 1px solid rgba(47,124,224,0.2);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
.loader-text {
  font-size: 12px; letter-spacing: 0.5em; color: var(--red);
  text-shadow: 0 0 16px rgba(255,45,45,0.6);
  animation: pulse 2s ease infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%,100% { opacity: 0.4; } 50% { opacity: 1; } }

/* ---------- Tipografi ---------- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.2; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: 1.25rem; font-weight: 500; }

.gold-text {
  background: linear-gradient(110deg, var(--gold-dark) 0%, var(--gold-light) 45%, #e8f3ff 50%, var(--gold-light) 55%, var(--gold-dark) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shine 5s linear infinite;
}
@keyframes shine { to { background-position: 200% center; } }

/* Neon kırmızı tabela yazısı */
.red-neon {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.52em;
  letter-spacing: 0.32em;
  color: var(--red);
  text-shadow:
    0 0 8px rgba(255,45,45,0.9),
    0 0 28px rgba(255,45,45,0.55),
    0 0 64px rgba(255,45,45,0.3);
  margin-bottom: 14px;
  animation: neonFlicker 4.5s ease-in-out infinite;
}
@keyframes neonFlicker {
  0%, 100% { opacity: 1; }
  92% { opacity: 1; }
  93% { opacity: 0.75; }
  94% { opacity: 1; }
  97% { opacity: 0.85; }
  98% { opacity: 1; }
}

.eyebrow {
  font-size: 12px; letter-spacing: 0.4em; color: var(--gold-light);
  text-transform: uppercase; margin-bottom: 18px; font-weight: 500;
}

.gold-line {
  width: 72px; height: 1px; margin: 28px auto 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  position: relative;
}
.gold-line::after {
  content: "◆"; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  color: var(--gold); font-size: 9px; background: transparent;
}
.gold-line.left { margin-left: 0; }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-block;
  padding: 16px 40px;
  font-family: var(--font-body);
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.4s ease;
  border: 1px solid transparent;
}
.btn-gold {
  background: linear-gradient(120deg, var(--red-dark), #e8232a 50%, var(--red));
  background-size: 200% auto;
  color: #fff;
  box-shadow: 0 8px 32px rgba(232,35,42,0.3);
}
.btn-gold:hover {
  background-position: right center;
  box-shadow: 0 12px 48px rgba(255,45,45,0.5), 0 0 24px rgba(255,45,45,0.35);
  transform: translateY(-2px);
}
.btn-ghost {
  border-color: var(--line); color: var(--text);
  background: rgba(255,255,255,0.02);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-light); transform: translateY(-2px); }
.btn-full { width: 100%; border: none; }

/* ---------- Navigasyon ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 5vw;
  transition: background 0.4s, padding 0.4s, box-shadow 0.4s;
}
.nav.scrolled {
  background: rgba(6,11,22,0.88);
  backdrop-filter: blur(16px);
  padding: 10px 5vw;
  box-shadow: 0 1px 0 var(--line);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.brand-logo {
  width: 46px; height: 46px;
  object-fit: cover; object-position: center;
  border-radius: 50%;
  border: 2px solid rgba(47,124,224,0.5);
  background: #fff;
  box-shadow: 0 0 16px rgba(47,124,224,0.35);
}
.brand-mark { color: var(--gold); font-size: 14px; }
.brand-name {
  font-size: 16px; letter-spacing: 0.25em; font-weight: 600;
  color: var(--red);
  text-shadow: 0 0 10px rgba(255,45,45,0.65), 0 0 32px rgba(255,45,45,0.3);
}
.brand-name em { font-style: normal; color: var(--red); }
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a {
  color: var(--text-dim); text-decoration: none;
  font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
  transition: color 0.3s; position: relative;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px;
  width: 0; height: 1px; background: var(--gold);
  transition: width 0.3s;
}
.nav-links a:hover { color: var(--gold-light); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  border: 1px solid var(--gold); color: var(--gold-light) !important;
  padding: 10px 24px;
}
.nav-cta::after { display: none; }
.nav-cta:hover { background: var(--gold); color: #fff !important; }
.hamburger { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 8px; }
.hamburger span { width: 24px; height: 1.5px; background: var(--gold-light); transition: 0.3s; display: block; }

/* ---------- Hero ---------- */
.hero { position: relative; height: 200vh; }
.hero-sticky {
  position: sticky; top: 0; height: 100vh;
  display: flex; align-items: flex-end; justify-content: center;
  text-align: center; overflow: hidden;
}
#hero3d { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-photo {
  position: absolute; top: 50%; left: 50%;
  max-width: 100%; max-height: 100vh; width: auto; height: auto;
  transform: translate(-50%, -50%) scale(1);
  will-change: transform;
  border-radius: 0;
  box-shadow: 0 40px 120px rgba(0,0,0,0.7), 0 0 80px rgba(47,124,224,0.15);
}
.hero-vignette {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(6,11,22,0.45) 0%, rgba(6,11,22,0.85) 100%),
              linear-gradient(to bottom, rgba(6,11,22,0.5), transparent 30%, transparent 70%, var(--bg));
}
.hero-content { position: relative; z-index: 2; padding: 0 24px 13vh; max-width: 900px; will-change: opacity, transform; }
.hero-sub {
  max-width: 640px; margin: 0 auto;
  color: var(--text); font-size: 1.05rem;
  text-shadow: 0 2px 16px rgba(0,0,0,0.9), 0 1px 4px rgba(0,0,0,0.8);
}
.hero-actions { display: flex; gap: 18px; justify-content: center; margin-top: 30px; flex-wrap: wrap; }

.scroll-hint { position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%); z-index: 2; }
.mouse {
  display: block; width: 24px; height: 40px;
  border: 1px solid var(--line); border-radius: 14px; position: relative;
}
.wheel {
  position: absolute; top: 8px; left: 50%; margin-left: -1.5px;
  width: 3px; height: 7px; background: var(--gold); border-radius: 2px;
  animation: scrollWheel 2s ease infinite;
}
@keyframes scrollWheel { 0% { opacity: 1; transform: translateY(0); } 70% { opacity: 0; transform: translateY(14px); } 100% { opacity: 0; } }

/* ---------- İstatistikler ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  max-width: 1200px; margin: 0 auto; padding: 90px 5vw;
  text-align: center; gap: 32px;
}
.stat-num, .stat-plus {
  font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3.4rem);
  color: var(--gold-light); font-weight: 700;
}
.stat p { color: var(--text-dim); font-size: 12px; letter-spacing: 0.25em; text-transform: uppercase; margin-top: 8px; }

/* ---------- Galeri — kayan fotoğraf şeridi ---------- */
.gallery { padding: 40px 0 110px; }
.gallery .section-head { margin-bottom: 54px; padding: 0 5vw; }
.gallery-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.gallery-track {
  display: flex; width: max-content;
  animation: gallerySlide 45s linear infinite;
}
.gallery-track img {
  height: 360px; width: auto;
  object-fit: cover;
  border-radius: 16px;
  margin-right: 26px;
  border: 1px solid rgba(47,124,224,0.25);
  box-shadow: 0 16px 48px rgba(0,0,0,0.5);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.gallery-track img:hover {
  transform: scale(1.04);
  box-shadow: 0 20px 64px rgba(0,0,0,0.65), 0 0 32px rgba(47,124,224,0.25);
}
.gallery-marquee:hover .gallery-track { animation-play-state: paused; }
@keyframes gallerySlide { to { transform: translateX(-50%); } }
@media (max-width: 760px) {
  .gallery-track img { height: 240px; margin-right: 16px; }
}

/* ---------- Bölümler ---------- */
.section { padding: 110px 5vw; max-width: 1280px; margin: 0 auto; }
.section-head { text-align: center; margin-bottom: 70px; }

.dark-panel {
  max-width: none;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 18%, var(--bg-soft) 82%, var(--bg) 100%);
  border-top: 1px solid rgba(47,124,224,0.08);
  border-bottom: 1px solid rgba(47,124,224,0.08);
}

/* ---------- Kartlar ---------- */
.cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}
.card {
  background: linear-gradient(160deg, rgba(255,255,255,0.035), rgba(255,255,255,0.008));
  border: 1px solid rgba(255,255,255,0.06);
  padding: 44px 36px;
  position: relative;
  transition: transform 0.5s ease, border-color 0.5s, box-shadow 0.5s;
  transform-style: preserve-3d;
  will-change: transform;
}
.card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 50%), rgba(47,124,224,0.12), transparent 45%);
  opacity: 0; transition: opacity 0.4s; pointer-events: none;
}
.card:hover::before { opacity: 1; }
.card:hover { border-color: var(--line); box-shadow: 0 24px 64px rgba(0,0,0,0.5); }
.card-icon { font-size: 2rem; margin-bottom: 22px; }
.card h3 { margin-bottom: 14px; color: var(--gold-light); }
.card p { color: var(--text-dim); font-size: 0.95rem; }

/* ---------- Özellikler ---------- */
.features {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 48px; max-width: 1280px; margin: 0 auto;
}
.feature { position: relative; padding-top: 20px; }
.feature-num {
  font-family: var(--font-display); font-size: 4.4rem; font-weight: 700;
  position: absolute; top: -28px; left: -6px;
  color: transparent;
  -webkit-text-stroke: 1px rgba(47,124,224,0.28);
  z-index: 0; user-select: none;
}
.feature h3 { position: relative; z-index: 1; margin-bottom: 12px; color: var(--text); }
.feature p { color: var(--text-dim); font-size: 0.95rem; position: relative; z-index: 1; }

/* ---------- Marka şeridi ---------- */
.brands { border-top: 1px solid rgba(255,255,255,0.05); border-bottom: 1px solid rgba(255,255,255,0.05); padding: 34px 0; overflow: hidden; }
.marquee { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track {
  display: flex; align-items: center; gap: 48px;
  white-space: nowrap; animation: marquee 32s linear infinite; padding-right: 48px;
}
.marquee-track span {
  font-size: 15px; letter-spacing: 0.35em; color: var(--text-dim); font-weight: 400;
}
.marquee-track span:nth-child(even) { color: var(--gold); font-size: 9px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Hakkımızda ---------- */
.about-grid {
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: 72px; align-items: center;
}
.about-frame {
  border: 1px solid var(--line);
  position: relative;
  padding: 14px;
  background:
    radial-gradient(circle at 30% 20%, rgba(47,124,224,0.1), transparent 50%),
    linear-gradient(160deg, var(--panel), var(--bg));
  box-shadow: 0 24px 72px rgba(0,0,0,0.55), 0 0 48px rgba(47,124,224,0.12);
}
.about-photo {
  display: block; width: 100%; height: auto;
  border: 1px solid rgba(47,124,224,0.15);
}
.about-frame-logo {
  display: flex; align-items: center; justify-content: center;
  padding: 48px; aspect-ratio: 1;
}
.about-logo {
  width: 100%; max-width: 380px;
  border-radius: 18px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.5), 0 0 48px rgba(47,124,224,0.2);
}
.about-text h2 { margin-bottom: 0; }
.about-text .gold-line { margin-top: 24px; margin-bottom: 8px; }
.about-text p { margin-top: 22px; color: var(--text-dim); }
.about-text strong { color: var(--gold-light); font-weight: 500; }
.about-text .btn { margin-top: 34px; }

/* ---------- İletişim ---------- */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px;
}
.info-item { padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.info-item:first-child { padding-top: 0; }
.info-label {
  display: block; font-size: 11px; letter-spacing: 0.35em;
  color: var(--gold-light); margin-bottom: 8px;
}
.info-item a, .info-item p { color: var(--text); text-decoration: none; font-size: 1.05rem; transition: color 0.3s; }
.info-item a:hover { color: var(--gold-light); }

.contact-form { display: flex; flex-direction: column; gap: 26px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.form-field { position: relative; }
.form-field input, .form-field textarea {
  width: 100%;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.09);
  color: var(--text);
  padding: 18px 16px;
  font-family: var(--font-body); font-size: 15px; font-weight: 300;
  outline: none; transition: border-color 0.3s, background 0.3s;
  resize: vertical;
}
.form-field input:focus, .form-field textarea:focus {
  border-color: var(--gold); background: rgba(47,124,224,0.05);
}
.form-field label {
  position: absolute; left: 16px; top: 18px;
  color: var(--text-dim); font-size: 14px;
  pointer-events: none; transition: 0.25s ease;
  background: transparent;
}
.form-field input:focus + label,
.form-field input:not(:placeholder-shown) + label,
.form-field textarea:focus + label,
.form-field textarea:not(:placeholder-shown) + label {
  top: -9px; left: 12px; font-size: 11px; color: var(--gold-light);
  background: var(--bg); padding: 0 6px; letter-spacing: 0.1em;
}
.form-note { font-size: 13px; color: var(--gold-light); min-height: 1em; text-align: center; }

/* ---------- Harita ---------- */
.map-wrap {
  margin-top: 72px;
  border: 1px solid var(--line);
  padding: 10px;
  background: linear-gradient(160deg, var(--panel), var(--bg));
  box-shadow: 0 24px 72px rgba(0,0,0,0.5), 0 0 40px rgba(47,124,224,0.1);
}
.map-wrap iframe { display: block; width: 100%; }
.map-link {
  display: block; text-align: center;
  padding: 16px; margin-top: 10px;
  color: var(--gold-light); text-decoration: none;
  font-size: 13px; letter-spacing: 0.15em; text-transform: uppercase;
  border: 1px solid var(--line);
  transition: background 0.3s, color 0.3s;
}
.map-link:hover { background: var(--gold); color: #fff; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid rgba(47,124,224,0.15); background: #04070f; }
.footer-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 64px 5vw 40px;
  display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.footer-brand p { color: var(--text-dim); font-size: 0.9rem; margin-top: 14px; max-width: 380px; flex-basis: 100%; }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a {
  color: var(--text-dim); text-decoration: none; font-size: 13px;
  letter-spacing: 0.15em; text-transform: uppercase; transition: color 0.3s;
}
.footer-links a:hover { color: var(--gold-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 22px 5vw; text-align: center;
  color: var(--text-dim); font-size: 12.5px; letter-spacing: 0.05em;
}
.sep { color: var(--gold); margin: 0 8px; }

/* ---------- WhatsApp ---------- */
.wa-float {
  position: fixed; right: 26px; bottom: 26px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 32px rgba(37,211,102,0.4);
  transition: transform 0.3s;
  animation: waPulse 2.4s ease infinite;
}
.wa-float:hover { transform: scale(1.1); }
@keyframes waPulse {
  0%, 100% { box-shadow: 0 8px 32px rgba(37,211,102,0.4), 0 0 0 0 rgba(37,211,102,0.35); }
  50% { box-shadow: 0 8px 32px rgba(37,211,102,0.4), 0 0 0 16px rgba(37,211,102,0); }
}

/* ---------- Reveal animasyonları ---------- */
.reveal {
  opacity: 0; transform: translateY(36px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-visual { max-width: 520px; margin: 0 auto; width: 100%; }
  .stats { grid-template-columns: repeat(2, 1fr); padding: 64px 5vw; }
}
@media (max-width: 760px) {
  .nav-links {
    position: fixed; inset: 0; z-index: -1;
    background: rgba(6,11,22,0.97); backdrop-filter: blur(20px);
    flex-direction: column; justify-content: center; gap: 32px;
    opacity: 0; visibility: hidden; transition: opacity 0.4s;
  }
  .nav-links.open { opacity: 1; visibility: visible; z-index: 99; }
  .nav-links a { font-size: 16px; }
  .hamburger { display: flex; z-index: 100; }
  .hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .hamburger.open span:nth-child(2) { opacity: 0; }
  .hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 80px 6vw; }
  .red-neon { letter-spacing: 0.2em; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}
