:root {
  --black: #000;
  --white: #fff;
  --soft: #ffffff0f; /* video ustu cok hafif overlay */
  --accent: #ffffff; /* ikon ve metin beyaz */
}

* { box-sizing: border-box; }
html, body { height: 100%; }
html { scroll-behavior: smooth; }
body.dark {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, 'Helvetica Neue', Arial, "Noto Sans", sans-serif;
}

/* Splash */
#splash {
  position: fixed; inset: 0;
  display: grid; place-items: center;
  background: #000;
  z-index: 9999;
}
.splash-logo {
  width: 200px; height: auto;
  opacity: 0;
  animation: slowFade 3.5s ease-in-out forwards;
}
@keyframes slowFade {
  0% { opacity: 0; transform: scale(.95); }
  25% { opacity: 1; }
  50% { opacity: 0; }
  75% { opacity: 1; }
  100% { opacity: 1; transform: scale(1); }
}

/* Ust Bilgi */
.topbar {
  position: sticky; top: 0; z-index: 9000;
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: #000;
  color: #fff;
  border-bottom: 1px solid #111;
}
.topbar a, .topbar button {
  color: #fff; text-decoration: none; font-weight: 700;
}
.topbar-left { display: flex; align-items: center; gap: 10px; }
.topbar-left .addr { display: flex; align-items: center; gap: 8px; opacity: .9; }
.topbar-left .addr:hover { opacity: 1; }
.topbar-logo img { height: 42px; width: auto; display: block; filter: brightness(1); }
.topbar-right { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.lang-dropdown {
  position: relative;
}
.lang-btn {
  background: transparent; border: 1px solid #fff4;
  padding: 6px 10px; border-radius: 6px; cursor: pointer; font-weight: 800;
}
.lang-btn i { font-size: 16px; }
.lang-btn.active { border-color: #fff; box-shadow: 0 0 0 2px #fff1 inset; }
.lang-menu {
  display: none;
  position: absolute; top: 100%; right: 0;
  background: #111; border: 1px solid #1d1d1d; border-radius: 6px;
  flex-direction: column; padding: 5px 0; z-index: 1000;
}
.lang-menu button {
  background: none; border: none; color: #fff; padding: 8px 16px; cursor: pointer; font-weight: 700; text-align: left; width: 100%;
}
.lang-menu button:hover { background: #222; }
.lang-dropdown:hover .lang-menu { display: flex; }
.divider { opacity: .4; }
.phone { display: flex; align-items: center; gap: 8px; }
.menu-btn {
  background: transparent; border: none; color: #fff; font-size: 18px; cursor: pointer; display: none;
}

/* Nav (sabit, kaydirma sirasinda siyah arka plan) */
.nav-wrap {
  position: fixed; top: 70px; left: 0; right: 0;
  z-index: 5000;
  display: flex; justify-content: center;
  transition: background .3s ease;
}
.nav-wrap.scrolled { background: #000; }
.nav {
  background: transparent;
  backdrop-filter: none;
  padding: 10px 16px;
  border-radius: 10px;
  display: flex; align-items: center; gap: 16px;
}
.nav a {
  color: #fff; text-decoration: none; font-weight: 800; letter-spacing: .2px; opacity: .95;
}
.nav a:hover { opacity: 1; }
.nav .pipe { color: #ffffffaa; }
.nav.active { display: flex; }

/* Hero Video */
.hero {
  position: relative; min-height: 100vh; width: 100%;
  overflow: hidden; background: #000;
}
.bg-video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: brightness(.9) contrast(1.05);
}
.video-overlay {
  position: absolute; inset: 0; background: var(--soft);
}

/* Floating buttons (sag altta sabit) */
.floating-buttons {
  position: fixed; right: 20px; bottom: 20px;
  display: flex; flex-direction: column; gap: 12px; z-index: 6000;
}
.float-btn {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 999px;
  color: #fff; text-decoration: none; font-weight: 800;
  background: #111a; backdrop-filter: blur(4px); border: 1px solid #ffffff2a;
  transition: transform .2s ease, background .2s ease, padding .2s ease;
  overflow: hidden;
}
.float-btn i { font-size: 18px; }
.float-btn .label, .float-btn .num { max-width: 0; opacity: 0; white-space: nowrap; transition: max-width .25s ease, opacity .25s ease; }
.float-btn:hover { transform: translateY(-2px); background: #1a1a1acc; padding-right: 16px; }
.float-btn:hover .label { max-width: 300px; opacity: 1; }
.float-btn.call:hover .num { max-width: 300px; opacity: 1; }
.float-btn.wa i { color: #25d366; }

/* Genel Bolum */
.section { padding: 80px 16px; }
.section-dark { background: #000; color: #fff; }
.container { max-width: 1200px; margin: 0 auto; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.revealed { opacity: 1; transform: none; }

.section-title {
  font-size: 32px; margin: 0 0 16px; letter-spacing: .5px;
}
.lead {
  font-size: 18px; line-height: 1.7; opacity: .95;
}

/* Features */
.features {
  margin-top: 24px;
  display: grid; gap: 16px;
  grid-template-columns: repeat(3, 1fr);
}
.feature {
  background: #0b0b0b; border: 1px solid #1d1d1d; border-radius: 16px; padding: 20px;
}
.feature i { font-size: 28px; margin-bottom: 10px; }
.feature h3 { margin: 6px 0 8px; }
.feature p { opacity: .9; }

/* sahibinden blogu */
.sahibinden {
  margin-top: 28px; display: flex; justify-content: center;
}
.sahibinden-link {
  display: flex; align-items: center; gap: 14px;
  background: #0b0b0b; border: 1px solid #1d1d1d; padding: 14px 18px; border-radius: 14px; color: #fff; text-decoration: none; font-weight: 800;
}
.sahibinden-link img { height: 28px; width: auto; }

/* News */
#news .container { max-width: 1200px; }
.news-grid {
  display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr);
}
.news-card {
  background: #0b0b0b; border: 1px solid #1d1d1d; border-radius: 16px; overflow: hidden;
}
.news-image {
  width: 100%; height: 200px; object-fit: cover; display: block;
}
.news-body { padding: 18px; }
.news-head { margin: 0 0 10px; font-size: 20px; }

/* Footer */
.footer {
  background: #000; color: #fff; padding: 48px 16px; border-top: 1px solid #111;
}
.footer-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 16px;
}
.footer a { color: #fff; text-decoration: none; }
.footer .hours, .footer .links { list-style: none; padding: 0; margin: 0; }
.footer .hours li { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px dashed #222; }
.copy { opacity: .6; text-align: center; padding-top: 10px; font-size: 14px; }

/* Buttons */
.btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  color: #fff; text-decoration: none; font-weight: 800; border: 1px solid #2a2a2a; padding: 10px 14px; border-radius: 10px;
  background: #0b0b0b; transition: transform .2s ease, background .2s ease;
}
.btn-ghost:hover { transform: translateY(-2px); background: #101010; }

/* Responsive */
@media (max-width: 1024px) {
  .news-grid { grid-template-columns: 1fr 1fr; }
  .features { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .topbar {
    grid-template-columns: 1fr auto; grid-template-areas:
    "logo right"
    "left left"; row-gap: 6px;
  }
  .topbar-left { grid-area: left; font-size: 14px; }
  .topbar-logo { grid-area: logo; }
  .topbar-right { grid-area: right; }
  .nav-wrap { top: 110px; display: none; }
  .nav-wrap.active { display: flex; flex-direction: column; background: #000; }
  .nav { flex-direction: column; align-items: flex-start; }
  .nav a, .nav .pipe { font-size: 16px; padding: 8px 0; }
  .nav .pipe { display: none; }
  .menu-btn { display: block; }
  .lang-menu { min-width: 60px; }
}