:root{
  --bg:#f7fafc;
  --panel:#ffffff;
  --text:#0f172a;
  --muted:#475569;
  --blue:#3b82f6;
  --blue2:#60a5fa;
  --wa:#25D366;
  --line:rgba(15,23,42,.10);
  --shadow:0 14px 34px rgba(2,6,23,.08);
  --radius:16px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:linear-gradient(180deg, #ffffff, var(--bg));
  color:var(--text);
  overflow-x:hidden;
}

img{max-width:100%}

a{color:inherit; text-decoration:none}
.container{max-width:1100px; margin:0 auto; padding:0 16px}

/* WhatsApp icon */
.wa-ico{
  width:18px; height:18px;
  display:inline-flex;
  align-items:center; justify-content:center;
}
.wa-ico svg{width:18px; height:18px; fill:currentColor}

/* Topbar */
.topbar{
  background:rgba(59,130,246,.06);
  border-bottom:1px solid var(--line);
}
.topbar-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:10px 0;
  gap:12px;
}
.topbar-left{color:rgba(15,23,42,.85)}
.toplink{color:rgba(15,23,42,.85)}
.toplink:hover{text-decoration:underline}

/* Header */
.header{
  position:sticky; top:0;
  background:rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--line);
  z-index:10;
}
.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
  gap:14px;
}

.brand{display:flex; align-items:center; gap:12px}
.logo{
  width:44px; height:44px; border-radius:999px;
  display:grid; place-items:center;
  background:linear-gradient(135deg, rgba(59,130,246,.20), rgba(96,165,250,.12));
  border:1px solid rgba(59,130,246,.20);
  overflow:hidden;
  font-weight:900;
  color:#0b1b3a;
}
.logo img{
  width:100%;
  height:100%;
  object-fit:contain;
  border-radius:999px;
  display:block;
}
.brand-name{font-weight:900; letter-spacing:.2px}
.brand-sub{font-size:12px; color:rgba(71,85,105,.9)}

.nav{display:flex; align-items:center; gap:16px}
.nav a{color:rgba(15,23,42,.78)}
.nav a:hover{color:rgba(15,23,42,1)}

.nav-toggle{
  display:none;
  background:transparent;
  color:var(--text);
  border:1px solid var(--line);
  border-radius:12px;
  padding:10px 12px;
}

.mobile-nav{
  display:none;
  padding:0 16px 16px 16px;
  background:rgba(255,255,255,.92);
}
.mobile-nav a{display:block; padding:10px 0; border-bottom:1px solid var(--line)}
.mobile-nav .btn{margin-top:10px}

/* Hero */
.hero{padding:44px 0 18px 0}
.hero-grid{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap:22px;
  align-items:start;
}
.hero-copy h1{
  margin:0 0 10px 0;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height:1.05;
}
.lead{
  color:rgba(71,85,105,.95);
  font-size:16px;
  line-height:1.7;
  margin:0 0 16px 0;
}
.bullets{
  margin:16px 0 0 0;
  padding-left:18px;
  color:rgba(15,23,42,.9);
}
.bullets li{margin:8px 0}

/* Sections */
.section{padding:46px 0}
.section.alt{
  background:rgba(59,130,246,.04);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.section-title{margin:0; font-size:28px}
.section-sub{margin:10px 0 20px 0; color:rgba(71,85,105,.95); line-height:1.7}

/* Card */
.card{
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:18px;
  box-shadow: var(--shadow);
}
.card h2, .card h3{margin:0 0 10px 0}
.muted{color:rgba(71,85,105,.95)}
.tiny{font-size:12px}

/* Buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid var(--line);
  background:#fff;
  cursor:pointer;
  font-weight:800;
  color:rgba(15,23,42,.92);
}
.btn:hover{transform: translateY(-1px)}
.btn-sm{padding:8px 10px; border-radius:12px; font-weight:800}
.btn-block{width:100%}

.btn-outline{
  background:transparent;
  border-color: rgba(59,130,246,.25);
  color: rgba(15,23,42,.9);
}

/* WhatsApp themed button */
.btn-wa{
  background:linear-gradient(135deg, rgba(37,211,102,.95), rgba(34,197,94,.95));
  border-color: rgba(37,211,102,.65);
  color:white;
}
.btn-wa:hover{filter: brightness(0.98)}

.cta-row{display:flex; gap:12px; flex-wrap:wrap; margin:14px 0 0 0}

/* Forms */
label{display:block; margin:12px 0 0 0; font-weight:800; font-size:13px}
input, select, textarea{
  width:100%;
  margin-top:6px;
  padding:12px 12px;
  border-radius:12px;
  border:1px solid var(--line);
  background:#fff;
  color:var(--text);
  outline:none;
}
input:focus, select:focus, textarea:focus{
  border-color: rgba(59,130,246,.55);
  box-shadow: 0 0 0 4px rgba(59,130,246,.10);
}
input::placeholder, textarea::placeholder{color:rgba(71,85,105,.55)}

/* HERO SLIDER */
.slider-card{padding:16px}
.slider-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:10px;
}
.small-link{
  font-weight:900;
  color: rgba(59,130,246,.95);
}
.small-link:hover{text-decoration:underline}

.slider{
  position:relative;
  border-radius:14px;
  overflow:hidden;
  border:1px solid rgba(15,23,42,.10);
  height:320px;
  background:#fff;
}
.slide{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  opacity:0;
  transition: opacity .55s ease;
}
.slide.active{opacity:1}
.slider-note{margin-top:10px}

/* Services */
.service-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:16px;
  margin-top:18px;
}
.service-card{
  overflow:hidden;
  border-radius: var(--radius);
  border:1px solid var(--line);
  background:#fff;
  box-shadow: var(--shadow);
}

/* ✅ FOTOĞRAF ALANI BÜYÜTTÜK */
.service-card img{
  width:100%;
  height:510px;
  object-fit:cover;
  object-position:center;
  display:block;
}

.service-card img.service-img-contain{
  object-fit:contain;
  background:#fff;
}

.service-body{
  padding:14px 14px 16px 14px;
}
.service-body h3{margin:0 0 8px 0}
.service-body p{
  margin:0;
  color:rgba(71,85,105,.95);
  line-height:1.55;
}

/* Testimonials */
.testi-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
}

.testi-grid{
  margin-top:18px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:12px;
}

.testi-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding:16px;
}

.stars{
  font-size:14px;
  letter-spacing:2px;
  color: rgba(234,179,8,.95);
  margin-bottom:10px;
}

.testi-text{
  margin:0;
  color:rgba(15,23,42,.88);
  line-height:1.65;
}

.testi-meta{
  margin-top:12px;
  color:rgba(71,85,105,.95);
  font-size:13px;
  display:flex;
  gap:8px;
  align-items:center;
}
.testi-meta .dot{opacity:.6}

/* Quote section layout */
.quote-wrap{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:16px;
  align-items:start;
}
.quote-left .qline{margin:8px 0; color:rgba(15,23,42,.85)}
.quote-card h3{margin-bottom:8px}

/* FAQ */
.faq details{
  border:1px solid var(--line);
  border-radius: var(--radius);
  padding:12px 14px;
  background:#fff;
  margin:12px 0;
  box-shadow: var(--shadow);
}
.faq summary{cursor:pointer; font-weight:900}
.faq p{color:rgba(71,85,105,.95); line-height:1.7}

/* Contact */
.contact-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:16px;
  align-items:start;
}
.contact-lines div{margin:8px 0}

/* Highlights */
.highlights{
  margin-top:10px;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:10px;
}
.hl{
  padding:10px 12px;
  border:1px solid var(--line);
  border-radius:14px;
  background:rgba(59,130,246,.03);
  color:rgba(15,23,42,.88);
  font-weight:800;
  display:flex;
  gap:10px;
  align-items:center;
}
.badge{
  width:22px; height:22px;
  border-radius:999px;
  display:grid;
  place-items:center;
  background:rgba(37,211,102,.12);
  border:1px solid rgba(37,211,102,.35);
  color:rgba(15,23,42,.85);
  font-weight:900;
}

/* Footer */
.footer{
  border-top:1px solid var(--line);
  padding:20px 0;
  background:#fff;
}
.footer-inner{
  display:flex; justify-content:space-between; align-items:center;
  gap:12px; flex-wrap:wrap;
  color:rgba(71,85,105,.95);
}
.footer-links{display:flex; gap:12px}
.footer-links a:hover{text-decoration:underline}

/* Floating WhatsApp */
.fab{
  position:fixed;
  right:max(16px, env(safe-area-inset-right));
  bottom:max(16px, env(safe-area-inset-bottom));
  padding:12px 14px;
  border-radius: 999px;
  border:1px solid rgba(37,211,102,.35);
  background:linear-gradient(135deg, rgba(37,211,102,.95), rgba(34,197,94,.95));
  box-shadow: var(--shadow);
  font-weight:900;
  color:white;
  display:inline-flex;
  align-items:center;
  gap:10px;
  z-index:50;
}

/* Responsive */
@media (max-width: 920px){
  .hero-grid{grid-template-columns: 1fr; }
  .slider{height:280px}
  .contact-grid{grid-template-columns: 1fr}
  .service-grid{grid-template-columns: 1fr;}
  .service-card img{height:auto; aspect-ratio: 4 / 3; object-fit:contain; background:#fff;}
  .quote-wrap{grid-template-columns: 1fr}
  .testi-grid{grid-template-columns: 1fr 1fr}
  .nav{display:none}
  .nav-toggle{display:inline-block}
  .mobile-nav.show{display:block}
  .highlights{grid-template-columns: 1fr}
}
@media (max-width: 520px){
  .slider{height:240px}
  .testi-grid{grid-template-columns: 1fr}
  .service-card img{aspect-ratio: 4 / 3;}

  .fab{
    right:max(14px, env(safe-area-inset-right));
    bottom:max(36px, env(safe-area-inset-bottom));
    width:56px;
    height:56px;
    padding:0;
    border-radius:999px;
    justify-content:center;
    gap:0;
  }
  .fab .fab-text{display:none}
  .fab .wa-ico{width:22px; height:22px}
  .fab .wa-ico svg{width:22px; height:22px}
}
