:root{
  --blue:#0ea5e9;
  --dark:#101828;
  --text:#344054;
  --muted:#667085;
  --bg:#f6f9ff;
  --orange:#f6584c;
  --radius:18px;
  --shadow:0 10px 30px rgba(16,24,40,.08);
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
html{scroll-behavior:smooth}
*:where(a,button){transition:all .25s ease}
body{
  font:16px/1.6 system-ui,-apple-system,Segoe UI,Roboto,Inter,Helvetica,Arial,sans-serif;
  color:var(--text);
  background:#fff;
}

.container{width:min(1200px,92%);margin:auto}
img{max-width:100%;display:block}

/* Topbar & Header */
.topbar{background:#f8fafc;border-bottom:1px solid #edf2f7}
.topbar .container{display:flex;align-items:center;justify-content:space-between;padding:6px 0;font-size:14px;color:#6b7280}
.social .linkedin{display:inline-grid;place-items:center;width:24px;height:24px;border-radius:6px;background:#0a66c2;color:#fff;text-decoration:none;font-weight:700}
.contact-mini a{color:#475569;text-decoration:none;margin-left:14px}
.site-header{position:sticky;top:0;z-index:50;background:#ffffffd9;backdrop-filter:saturate(160%) blur(8px);border-bottom:1px solid #eef2f7}
.site-header .navbar{display:flex;align-items:center;justify-content:space-between;padding:18px 0;}
.logo img{height:36px}
#mainNav{display:flex;gap:24px;align-items:center}
#mainNav a{color:#111827;text-decoration:none;font-weight:500;position:relative}
#mainNav a::after{content:'';position:absolute;left:0;right:0;bottom:-6px;height:2px;background:linear-gradient(90deg,#0ea5e9,#1d4ed8);transform:scaleX(0);transform-origin:left;transition:transform .25s ease}
#mainNav a:hover::after{transform:scaleX(1)}
.hamburger{display:none;background:transparent;border:0;font-size:26px}

/* Hero */
.hero{display:grid;grid-template-columns:1.2fr .8fr;gap:40px;align-items:center;padding:40px 0}
.hero h1{font-size:48px;line-height:1.1;color:#0f172a;margin:0 0 14px}
.hero p{color:var(--muted);margin:0 0 18px}
.btn{background:var(--orange);color:#fff;text-decoration:none;padding:12px 18px;border-radius:999px;display:inline-block;font-weight:700;box-shadow:0 10px 20px rgba(246,88,76,.25)}
.btn:hover{filter:brightness(.95)}
.btn.ghost{background:#fff;color:var(--orange);border:2px solid var(--orange)}

/* Slider */
.slider{margin:30px auto}
.slides{position:relative;height:420px;border-radius:22px;overflow:hidden;box-shadow:var(--shadow)}
.slide{position:absolute;inset:0;opacity:0;transition:opacity .7s}
.slide.active{opacity:1}
.dots{display:flex;gap:10px;justify-content:center;margin-top:12px}
.dots button{width:10px;height:10px;border-radius:50%;border:0;background:#e5e7eb;cursor:pointer}
.dots button.active{background:var(--blue)}

/* Features */
.features{display:grid;grid-template-columns:repeat(4,1fr);gap:22px;margin:40px auto}
.card{background:#fff;border-radius:20px;box-shadow:var(--shadow);padding:26px;text-align:center}
.card .icon{font-size:28px;background:radial-gradient(circle at 30% 30%, #69d2ff, #1791d2);width:60px;height:60px;display:grid;place-items:center;border-radius:50%;margin:0 auto 10px;color:#fff}

/* Why */
.why{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:center;margin:60px auto}
.why .why-text h2{font-size:36px;margin:0 0 12px}
.why ul{margin:0;padding-left:18px}

/* References on homepage */
.references{
  /* yeni: alttaki şeritle çakışmayı önle */
  padding-bottom: 64px;
}
.references h2{font-size:30px;margin:24px 0}

.ref-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
}

.ref-card{
  background:#fff;
  border-radius:18px;
  box-shadow:var(--shadow);
  padding:16px 16px 12px;
  text-align:center;
  overflow:hidden;
}
.ref-card img{
  height:150px;width:100%;
  object-fit:contain;
  padding:14px;
  border:1px solid #e8eef8;
  border-radius:14px;
  background:#f7fbff;
}
.ref-card h4{margin:10px 0 6px}
.ref-card:hover{transform:translateY(-4px);box-shadow:0 18px 36px rgba(16,24,40,.14)}

/* yeni: "Tümünü Göster" butonuna nefes ve üstte kalma garantisi */
.references .btn.ghost{
  display:inline-block;
  margin-top:16px;
  position:relative;
  z-index:2;
}

/* yeni: mobil düzen—satır sayısı ve boşlukları artır */
@media (max-width: 992px){
  .ref-grid{grid-template-columns:repeat(2,1fr);gap:18px}
}
@media (max-width: 600px){
  .ref-grid{grid-template-columns:1fr;gap:16px}
  .references{padding-bottom:80px}
}


/* Footer */
.site-footer .cta-strip{display:grid;grid-template-columns:repeat(2,1fr);gap:18px;padding:24px 0}
.cta-item{display:flex;align-items:center;gap:12px;background:linear-gradient(135deg,#ff6a5b,#ff8a64);color:#fff;border-radius:999px;padding:16px 22px;box-shadow:0 24px 48px rgba(246,88,76,.25);text-decoration:none}
.cta-item strong{margin-right:6px}
.cta-item em{font-style:normal;opacity:.9}
.cta-item:hover{transform:translateY(-2px)}
.cta-item .ico{width:28px;height:28px;display:grid;place-items:center;border-radius:50%;background:rgba(255,255,255,.25)}
.footer-waves{background:linear-gradient(160deg,#0ea5e9,#164b9b);color:#fff;margin-top:20px;padding:40px 0 10px;border-top-left-radius:30px;border-top-right-radius:30px;position:relative;overflow:hidden}
.footer-waves::before{content:'';position:absolute;inset:auto 0 100%;height:60px;background:radial-gradient(1200px 60px at 50% 100%, rgba(255,255,255,.9), transparent 60%);opacity:.35}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:20px}
.footer-grid h4{margin:0 0 10px}
.footer-grid a{color:#e8efff;text-decoration:none}
.footer-grid a:hover{text-decoration:underline}
.copyright{text-align:center;color:#e0edff80;margin-top:20px;font-size:14px}

/* Services page */
.page-title{margin:20px 0}
.service-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin:20px 0 60px}
.service-card{display:block;border-radius:18px;overflow:hidden;box-shadow:var(--shadow);position:relative;text-decoration:none;color:inherit}
.service-card img{height:220px;width:100%;object-fit:cover;display:block;filter:saturate(.95)}
.service-info{position:absolute;left:0;right:0;bottom:0;padding:16px;background:linear-gradient(0deg, rgba(0,0,0,.55), transparent);color:#fff}

/* Service detail */
.banner{background:#eef6ff;border-radius:18px;padding:16px 18px;margin:24px 0}
.breadcrumb{font-size:14px;color:#475569}
.breadcrumb a{text-decoration:none;color:#2563eb}
.service-detail{max-width:860px;margin:30px auto}
.detail-hero{border-radius:18px;box-shadow:var(--shadow);margin-bottom:16px}
.service-detail .lead{color:#475569}

/* Accordion */
.accordion .item{border:1px solid #e5e7eb;border-radius:14px;margin:12px 0;overflow:hidden;box-shadow:var(--shadow)}
.accordion .question{width:100%;text-align:left;padding:16px 18px;background:#0b72c5;color:#fff;border:0;font-size:16px;cursor:pointer}
.accordion .answer{padding:16px 18px;display:none;background:#fff}
.accordion .item.open .answer{display:block}

/* Contact */
.contact-form{max-width:860px;margin:10px auto 50px}
.contact-form .row{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.contact-form label{display:block}
.contact-form input,.contact-form textarea{width:100%;padding:12px 14px;border:1px solid #e5e7eb;border-radius:12px;outline:none}
.contact-form input:focus,.contact-form textarea:focus{border-color:#0ea5e9;box-shadow:0 0 0 3px rgba(14,165,233,.15)}
.note{font-size:14px;color:#6b7280;margin-top:10px}

/* Preloader */
#preloader{position:fixed;inset:0;background:#fff;display:grid;place-items:center;z-index:9999;transition:opacity .4s}
#preloader.hide{opacity:0;visibility:hidden}
.preloader-inner{display:grid;place-items:center;gap:12px}
.preloader-inner img{height:40px}
#progress{font-weight:700;color:#111827}

/* References page */
.refs-section{margin:18px 0 40px}
.refs-section h2{margin:10px 0 14px}
.refs-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:20px}
@media(max-width:1100px){.refs-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:720px){.refs-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:500px){.refs-grid{grid-template-columns:1fr}}

/* Mobile */
@media (max-width:980px){
  .features{grid-template-columns:repeat(2,1fr)}
  .service-grid{grid-template-columns:repeat(2,1fr)}
  .hero{grid-template-columns:1fr}
  #mainNav{display:none;position:absolute;right:4%;top:80px;background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:12px;flex-direction:column;gap:12px;box-shadow:var(--shadow);transform-origin:top right;transform:scale(.95);opacity:0}
  #mainNav.open{display:flex;transform:scale(1);opacity:1}
  .site-footer .cta-strip{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr 1fr}
  .contact-form .row{grid-template-columns:1fr}
  .hamburger{display:block}
}
@media (max-width:560px){
  .ref-grid{grid-template-columns:1fr}
  .service-grid{grid-template-columns:1fr}
}

/* ---- Hover Animasyonu (Services & References kartları) ---- */
.ref-card, .service-card {
  transition: transform 0.35s ease, box-shadow 0.35s ease, filter 0.35s ease;
  will-change: transform, box-shadow;
}

.ref-card:hover, .service-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 16px 32px rgba(0, 123, 255, 0.15);
  filter: brightness(1.05);
}

/* Görsellerin hafif yakınlaşma efekti */
.ref-card img, .service-card img {
  transition: transform 0.4s ease;
}

.ref-card:hover img, .service-card:hover img {
  transform: scale(1.07);
}