/* =========================
   THEME
========================= */
:root{
  --bg:#ffffff;
  --text:#0f172a;
  --muted:#475569;
  --card:#f8fafc;
  --border:#e2e8f0;
  --shadow:0 14px 40px rgba(2,6,23,.10);
  --radius:18px;
  --max:1140px;
  --accent:#e11d48;
  --wa:#16a34a;

  /* Dark header */
  --header-bg:#3f3f3f;
  --topbar-bg:#2f2f2f;
  --header-text:#ffffff;
  --header-muted:#d1d5db;
  --hover:#ff4d4d;
}

/* =========================
   RESET
========================= */
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height:1.55;
}
a{color:inherit}
img{max-width:100%;display:block}
.container{max-width:var(--max);margin:0 auto;padding:0 18px;}

/* =========================
   TOPBAR
   - Sticky YOK (çakışmayı bitirir)
========================= */
.topbar{
  background:var(--topbar-bg);
  color:var(--header-text);
  border-bottom:1px solid rgba(255,255,255,.15);
}
.topbar .row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  padding:5px 0;
  font-size:14px;
}
.topbar a{
  text-decoration:none;
  color:var(--header-text);
  font-weight:500;
  opacity:.95;
}
.topbar a:hover{opacity:1}

/* =========================
   HEADER (tek sticky burada)
========================= */
.header{
  position:sticky;
  top:0;
  z-index:999999;
  background:var(--header-bg);
  border-bottom:3px solid var(--accent);
}
.header .row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 2px 0;
}

/* Brand */
.brand{
  display:flex;
  align-items:center;
  gap:6px;
  text-decoration:none;
}
.logo{
height:120px;
width:200px;
}
.brand .txt{display:flex;flex-direction:column;line-height:1.1}
.brand strong{font-size:16px;color:var(--header-text);font-weight:700}
.brand span{font-size:12.5px;color:var(--header-muted);font-weight:700}

/* Desktop nav */
.nav{display:flex;align-items:center;gap:14px}
.nav a{
  text-decoration:none;
  color:var(--header-text);
  font-weight:600;
  font-size:14px;
  padding:10px 10px;
  border-radius:12px;
}
.nav a:hover{color:var(--hover)}
.nav .cta{
  background:var(--accent);
  color:#fff;
  border:none;
}
.nav .cta:hover{background:#c81e42}

/* Burger */
.burger{display:none}

/* Mobile nav (JS: class toggle .open) */
.mobile-nav{display:none}
.mobile-nav.open{display:block}

/* =========================
   HERO
========================= */
.hero{padding:0}
.hero-wrap{
  width:100%;
  border-bottom:1px solid var(--border);
  background:#fff;
}
.hero-media{
  min-height:520px;
  width:100%;
  position:relative;
  background-size:cover;
  background-position:center;
  background-image:url('/assets/img/hero-1.jpg');
  transition: filter .2s ease;
}
.hero-media::after{
  content:"";
  position:absolute; inset:0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.68) 42%, rgba(255,255,255,.10) 100%),
    linear-gradient(180deg, rgba(0,0,0,.06) 0%, transparent 45%, rgba(0,0,0,.10) 100%);
  pointer-events:none;
}
.hero-media.fade{ filter: brightness(.97); }

.hero-content{
  position:absolute; inset:0;
  display:flex; align-items:flex-end;
  padding:34px 0;
  z-index:2;
}
.hero-inner{width:100%}

.kicker{
  display:inline-flex; gap:8px; align-items:center;
  font-size:12px; font-weight:900; letter-spacing:.3px;
  color: var(--muted);
  padding:8px 12px;
  border-radius:999px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.78);
}
.hero h1{
  margin:12px 0 10px;
  font-size:44px;
  line-height:1.06;
  letter-spacing:-.8px;
}
.hero p{
  margin:0 0 16px;
  color:var(--muted);
  max-width:70ch;
  font-weight:600;
}
.actions{display:flex;gap:10px;flex-wrap:wrap}

.btn{
  display:inline-flex;align-items:center;justify-content:center;
  gap:10px;
  text-decoration:none;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid var(--border);
  background:#fff;
  color:var(--text);
  font-weight:900;
  box-shadow: 0 10px 25px rgba(2,6,23,.06);
}
.btn:hover{transform:translateY(-1px)}
.btn.accent{
  border-color: rgba(225,29,72,.40);
  background: rgba(225,29,72,.10);
}
.btn.wa{
  border-color: rgba(22,163,74,.35);
  background: rgba(22,163,74,.10);
}
.btn.ghost{background:#fff}

/* Slider dots */
.hero-dots{
  display:flex; gap:8px; align-items:center;
  margin-top:14px;
}
.hero-dots button{
  width:10px; height:10px; border-radius:999px;
  border:1px solid var(--border);
  background:#fff;
  cursor:pointer;
}
.hero-dots button[aria-current="true"]{
  width:22px;
  background: rgba(225,29,72,.18);
  border-color: rgba(225,29,72,.45);
}

/* =========================
   SECTIONS / CARDS
========================= */
.section{padding:34px 0}
.section h2{margin:0 0 10px;font-size:28px;letter-spacing:-.4px}
.section .lead{margin:0 0 18px;color:var(--muted);max-width:80ch;font-weight:600}

.grid{
  display:grid; gap:14px;
  grid-template-columns: repeat(12, 1fr);
}
.card{
  grid-column: span 4;
  background: var(--card);
  border:1px solid var(--border);
  border-radius: var(--radius);
  padding:16px;
  box-shadow: 0 10px 28px rgba(2,6,23,.06);
}
.card h3{margin:0 0 8px;font-size:16px}
.card p{margin:0;color:var(--muted);font-size:14px;font-weight:600}
.icon{
  width:44px;height:44px;border-radius:14px;
  display:grid;place-items:center;
  border:1px solid var(--border);
  background:#fff;
  margin-bottom:10px;
}

.kv{
  display:grid; gap:14px;
  grid-template-columns: 1fr 1fr;
}
.panel{
  background:#fff;
  border:1px solid var(--border);
  border-radius: var(--radius);
  padding:16px;
  box-shadow: 0 10px 28px rgba(2,6,23,.06);
}
.panel strong{display:block;margin-bottom:8px}
.list{
  margin:0; padding:0;
  list-style:none;
  display:flex; flex-wrap:wrap; gap:10px;
}
.list li{
  padding:8px 10px;
  border:1px solid var(--border);
  border-radius:999px;
  background:#fff;
  color: var(--muted);
  font-weight:800;
  font-size:13px;
}

/* =========================
   CONTACT
========================= */
.contact-grid{
  display:grid; gap:14px;
  grid-template-columns: 1fr 1fr;
}
.field{display:flex;flex-direction:column;gap:8px}
label{font-weight:900;font-size:13px;color:var(--muted)}
input, textarea{
  border-radius:14px;
  border:1px solid var(--border);
  background:#fff;
  color:var(--text);
  padding:12px 12px;
  outline:none;
  font-weight:700;
}
textarea{min-height:120px;resize:vertical}
.small{color:var(--muted);font-size:13px;font-weight:600}

/* =========================
   FLOATING WHATSAPP
========================= */
.floating-wa{
  position:fixed; right:18px; bottom:18px; z-index:9999;
}
.floating-wa a{
  display:inline-flex; gap:10px; align-items:center;
  padding:12px 14px;
  border-radius:999px;
  text-decoration:none;
  font-weight:900;
  border:1px solid rgba(22,163,74,.35);
  background: rgba(22,163,74,.12);
  box-shadow: var(--shadow);
}

/* =========================
   MODAL
========================= */
.modal{
  position:fixed; inset:0; z-index:99999;
  display:none;
  background: rgba(2,6,23,.55);
  padding:18px;
}
.modal.open{ display:grid; place-items:center; }
.modal-card{
  width:min(720px, 100%);
  background:#fff;
  border:1px solid var(--border);
  border-radius:18px;
  box-shadow: var(--shadow);
  overflow:hidden;
}
.modal-head{
  display:flex; justify-content:space-between; align-items:center;
  padding:14px 16px;
  border-bottom:1px solid var(--border);
}
.modal-head strong{ font-size:16px; }
.modal-close{
  border:1px solid var(--border);
  background:#fff;
  border-radius:12px;
  padding:10px 12px;
  font-weight:900;
  cursor:pointer;
}
.modal-body{ padding:16px; }

/* =========================
   FOOTER (tek blok, çakışmasız)
========================= */
.footer{
  background:var(--header-bg);
  color:#fff;
  border-top:1px solid rgba(255,255,255,.15);
  padding:20px 0 8px;
  font-size:13px;
}
.footer-grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:15px;
  align-items:start;
}
.footer h3, .footer h4{margin:0 0 12px}
.footer p{margin:4px 0; line-height:1.4; opacity:.9}

.footer-links{
  list-style:none;
  padding:0;
  margin:0;
}
.footer-links li{margin-bottom:4px}
.footer-links a{
  color:#fff;
  text-decoration:none;
  opacity:.85;
}
.footer-links a:hover{opacity:1}

.footer-contact{
  list-style:none;
  padding:0;
  margin:0;
}
.footer-contact li{
  display:flex;
  align-items:center;
  gap:8px;
  margin-bottom:6px;
  font-size:13px;
}
.footer-contact a{color:#fff;text-decoration:none}
.footer-contact a:hover{opacity:.85}

.footer i,
.footer-links li i{
  margin-right:8px;
  color:#ff3b3b;
  font-size:14px;
}

.footer-bottom{
  border-top:1px solid rgba(255,255,255,.2);
  margin-top:15px;
  padding-top:8px;
  font-size:13px;
  opacity:.95;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 980px){
  .hero-media{min-height:540px}
  .card{grid-column: span 6}
  .kv{grid-template-columns:1fr}
  .contact-grid{grid-template-columns:1fr}
  .hero h1{font-size:38px}
}

@media (max-width: 900px){
  .footer-grid{
    grid-template-columns:repeat(2, 1fr);
    gap:12px;
  }
}

@media (max-width: 680px){
  .nav{display:none}

  .burger{
    display:inline-flex;
    align-items:center;
    gap:8px;
    border:1px solid rgba(255,255,255,.18);
    background:rgba(255,255,255,.06);
    color:#fff;
    padding:10px 12px;
    border-radius:14px;
    font-weight:900;
    cursor:pointer;
  }

  .mobile-nav{
    margin-top:10px;
    background:var(--header-bg);
    border-top:1px solid rgba(255,255,255,.15);
    border-radius:14px;
    padding:12px;
  }
  .mobile-nav a{
    display:block;
    padding:12px 10px;
    border-radius:12px;
    text-decoration:none;
    color:#fff;
    font-weight:900;
  }
  .mobile-nav a:hover{background: rgba(255,255,255,.08);}

  .card{grid-column: span 12}
  .hero-media{min-height:600px}
  .hero h1{font-size:34px}
}

@media (max-width: 520px){
  .footer{
    padding:16px 0 8px;
  }
  .footer-grid{
    grid-template-columns:1fr;
    gap:10px;
  }
  .footer h3, .footer h4{
    margin-bottom:6px;
    font-size:15px;
  }
  .footer p, .footer-links li{
    font-size:12.5px;
  }
  .footer-bottom{
    margin-top:10px;
    padding-top:6px;
  }
}

/* ===== Mobil dropdown menü ===== */
@media (max-width:680px){

  .header .row{
    position:relative;
  }

  .nav{
    display:none;
    position:absolute;
    top:100%;
    left:0;
    width:100%;

    background:var(--header-bg);
    border-top:1px solid rgba(255,255,255,.15);
    border-radius:0 0 14px 14px;

    padding:12px;
    z-index:9999;
  }

  .nav.open,
  .nav.is-open{
    display:block;
  }

  .nav a{
    display:block;
    padding:12px 10px;
    border-radius:12px;
    text-decoration:none;
    color:#fff;
    font-weight:900;
  }

  .nav a:hover{
    background:rgba(255,255,255,.08);
  }
}
/* Footer'ı sayfanın altına sabitleyen layout */

html, body {
  height: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}