@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

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

:root {
  --bg:       #f4f7fb;
  --bg2:      #ffffff;
  --primary:  #1a3a5c;
  --accent:   #cc1515;
  --accent2:  #a81010;
  --text:     #1e293b;
  --muted:    #64748b;
  --border:   #e2e8f0;
  --glass:    rgba(255,255,255,0.9);
  --shadow:   0 4px 24px rgba(26,58,92,0.10);
  --shadow-lg:0 8px 40px rgba(26,58,92,0.14);
  --radius:   10px;
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: var(--bg); color: var(--text); line-height: 1.7; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ── TOP BAR ── */
.topbar {
  background: var(--primary); color: #fff;
  font-size: .8rem; padding: .35rem 2rem;
  display: flex; justify-content: flex-end; gap: 2rem;
}
.topbar a { color: rgba(255,255,255,.8); transition: color .2s; }
.topbar a:hover { color: #fff; }

/* ── NAVBAR ── */
.navbar {
  position: sticky; top: 0; left: 0; width: 100%; z-index: 1000;
  background: var(--bg2);
  border-bottom: 2px solid var(--border);
  box-shadow: 0 2px 16px rgba(26,58,92,0.08);
  padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 70px;
}
.navbar .logo { display: flex; align-items: center; }

.nav-links { display: flex; align-items: center; gap: 0; }
.nav-links > li { position: relative; }
.nav-links > li > a {
  font-size: .875rem; font-weight: 600; color: var(--primary);
  padding: 0 1.1rem; height: 70px;
  display: flex; align-items: center;
  border-bottom: 3px solid transparent;
  transition: color .2s, border-color .2s;
}
.nav-links > li > a:hover,
.nav-links > li > a.active { color: var(--accent); border-bottom-color: var(--accent); }

.dropdown {
  position: absolute; top: 100%; left: 0;
  background: var(--bg2); border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: 0 0 var(--radius) var(--radius);
  min-width: 250px; opacity: 0; pointer-events: none;
  transform: translateY(-4px); transition: all .2s;
  box-shadow: var(--shadow-lg);
  padding-top: 4px;
}
.nav-links > li:hover .dropdown { opacity: 1; pointer-events: auto; transform: translateY(0); }
.dropdown a {
  display: block; padding: .7rem 1.3rem;
  font-size: .85rem; font-weight: 500; color: var(--text);
  border-bottom: 1px solid var(--border); transition: all .15s;
}
.dropdown a:last-child { border-bottom: none; }
.dropdown a:hover { color: var(--accent); background: #fff8f4; padding-left: 1.7rem; }

.nav-cta {
  background: var(--accent); color: #fff;
  padding: .55rem 1.3rem; border-radius: 8px;
  font-size: .875rem; font-weight: 700;
  transition: all .2s; white-space: nowrap;
  box-shadow: 0 2px 10px rgba(204,21,21,.3);
}
.nav-cta:hover { background: var(--accent2); transform: translateY(-1px); }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { width: 24px; height: 2px; background: var(--primary); border-radius: 2px; transition: .3s; }

/* ── HERO SLIDER ── */
.hero-slider {
  position: relative;
  min-height: 88vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0;
  transition: opacity 1s ease;
  pointer-events: none;
}
.slide.active { opacity: 1; pointer-events: auto; }

.slide-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg,
    rgba(26,58,92,.78) 0%,
    rgba(204,21,21,.15) 100%);
}

.slide-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
  max-width: 860px;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(88vh - 80px);
}

.slide-content h1 {
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 900; line-height: 1.15;
  margin-bottom: 1.2rem; color: #fff;
}
.slide-content h1 span { color: var(--accent); }
.slide-content p { font-size: 1.1rem; color: rgba(255,255,255,.88); max-width: 620px; margin: 0 auto 2.4rem; }
.hero-badge {
  display: inline-block;
  background: var(--accent); color: #fff;
  font-size: .75rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  padding: .4rem 1.2rem; border-radius: 20px; margin-bottom: 1.5rem;
}
.hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn-primary {
  background: var(--accent); color: #fff;
  padding: .85rem 2rem; border-radius: 8px;
  font-weight: 700; font-size: .95rem; transition: all .2s;
  box-shadow: 0 4px 20px rgba(204,21,21,.35);
}
.btn-primary:hover { background: var(--accent2); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(204,21,21,.4); }
/* Arrows — gizli */
.slider-arrow { display: none; }

/* Dots — büyük yuvarlak nav butonlar */
.slider-dots {
  position: absolute; bottom: 95px; left: 50%;
  transform: translateX(-50%);
  z-index: 10; display: flex; gap: 1rem;
  background: rgba(0,0,0,.28); backdrop-filter: blur(6px);
  padding: .6rem 1.2rem; border-radius: 50px;
}
.dot {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.18);
  border: 2px solid rgba(255,255,255,.5);
  color: #fff; font-size: .85rem; font-weight: 700;
  cursor: pointer; transition: all .25s; padding: 0;
  display: flex; align-items: center; justify-content: center;
}
.dot:nth-child(1)::after { content: '1'; }
.dot:nth-child(2)::after { content: '2'; }
.dot:nth-child(3)::after { content: '3'; }
.dot.active {
  background: var(--accent); border-color: var(--accent);
  transform: scale(1.15);
  box-shadow: 0 0 16px rgba(204,21,21,.5);
}
.dot:hover:not(.active) { background: rgba(255,255,255,.35); border-color: #fff; }
.btn-outline {
  border: 2px solid rgba(255,255,255,.6); color: #fff;
  padding: .85rem 2rem; border-radius: 8px;
  font-weight: 600; font-size: .95rem; transition: all .2s;
  background: rgba(255,255,255,.08);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); background: rgba(255,255,255,.15); }

.hero-stats {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: var(--primary);
  display: flex; justify-content: center; gap: 0;
}
.stat {
  text-align: center; padding: 1.2rem 3rem;
  border-right: 1px solid rgba(255,255,255,.1);
}
.stat:last-child { border-right: none; }
.stat-num { font-size: 2rem; font-weight: 800; color: var(--accent); line-height: 1; }
.stat-label { font-size: .7rem; color: rgba(255,255,255,.7); text-transform: uppercase; letter-spacing: 1px; margin-top: .3rem; }

/* ── SECTION COMMON ── */
section { padding: 5rem 2rem; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-tag {
  font-size: .72rem; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--accent); margin-bottom: .8rem;
}
.section-title { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; margin-bottom: 1rem; color: var(--primary); }
.section-desc { color: var(--muted); max-width: 620px; font-size: 1rem; }
.section-head { margin-bottom: 3.5rem; }
.section-head.center { text-align: center; }
.section-head.center .section-desc { margin: 0 auto; }

/* ── SERVICES GRID ── */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 1.5rem; }
.service-card {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2rem;
  transition: all .3s; position: relative; overflow: hidden;
  box-shadow: var(--shadow);
}
.service-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: var(--accent);
  transform: scaleX(0); transition: transform .3s; transform-origin: left;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: #fdd8d8; }
.service-card:hover::after { transform: scaleX(1); }
.service-icon {
  width: 54px; height: 54px; background: #fff0f0;
  border-radius: 12px; display: flex; align-items: center;
  justify-content: center; margin-bottom: 1.2rem; font-size: 1.5rem;
  border: 1px solid #fdd8d8;
}
.service-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: .6rem; color: var(--primary); }
.service-card p { color: var(--muted); font-size: .875rem; line-height: 1.65; margin-bottom: 1.2rem; }
.service-link { color: var(--accent); font-size: .85rem; font-weight: 600; display: inline-flex; align-items: center; gap: .4rem; transition: gap .2s; }
.service-link:hover { gap: .7rem; }

/* ── ABOUT STRIP ── */
.about-strip { background: var(--primary); }
.about-strip .section-tag { color: var(--accent); }
.about-strip .section-title { color: #fff; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-img-wrap { border-radius: var(--radius); overflow: hidden; position: relative; }
.about-img-wrap img { width: 100%; height: 420px; object-fit: cover; }
.about-img-badge {
  position: absolute; bottom: 1.5rem; left: 1.5rem;
  background: var(--accent); color: #fff; border-radius: 10px;
  padding: 1rem 1.4rem; font-weight: 800;
}
.about-img-badge .num { font-size: 2rem; line-height: 1; }
.about-img-badge .lbl { font-size: .75rem; opacity: .9; }
.about-features { margin-top: 1.8rem; display: flex; flex-direction: column; gap: .9rem; }
.about-feature { display: flex; align-items: flex-start; gap: .8rem; }
.about-feature-icon {
  width: 30px; height: 30px; background: rgba(204,21,21,.15);
  border-radius: 6px; display: flex; align-items: center;
  justify-content: center; flex-shrink: 0; font-size: .95rem; margin-top: .1rem;
}
.about-feature p { font-size: .9rem; color: rgba(255,255,255,.75); }
.about-feature p strong { color: #fff; display: block; }

/* ── WHY US STRIP ── */
.why-strip { background: var(--bg); }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 1.5rem; margin-top: 3rem; }
.why-card {
  background: var(--bg2); border-radius: var(--radius);
  padding: 2rem 1.5rem; text-align: center;
  border: 1px solid var(--border); box-shadow: var(--shadow);
  transition: transform .3s;
}
.why-card:hover { transform: translateY(-4px); }
.why-card .icon { font-size: 2.2rem; margin-bottom: 1rem; }
.why-card h4 { font-size: .95rem; font-weight: 700; color: var(--primary); margin-bottom: .5rem; }
.why-card p { font-size: .85rem; color: var(--muted); line-height: 1.65; }

/* ── CTA BANNER ── */
.cta-banner { background: var(--accent); text-align: center; padding: 4.5rem 2rem; }
.cta-banner h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; color: #fff; margin-bottom: .8rem; }
.cta-banner p { color: rgba(255,255,255,.9); margin-bottom: 2rem; font-size: 1rem; }
.btn-white { background: #fff; color: var(--accent); padding: .85rem 2.2rem; border-radius: 8px; font-weight: 700; transition: all .2s; display: inline-block; }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.15); }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, #1e4d7b 100%);
  padding: 5rem 2rem 3.5rem;
  border-bottom: 3px solid var(--accent);
}
.breadcrumb { display: flex; gap: .5rem; align-items: center; font-size: .8rem; color: rgba(255,255,255,.6); margin-bottom: 1rem; }
.breadcrumb a { color: rgba(255,255,255,.7); transition: color .2s; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb-sep { color: rgba(255,255,255,.35); }
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 800; margin-bottom: .8rem; color: #fff; }
.page-hero p { color: rgba(255,255,255,.8); max-width: 640px; }

/* ── SERVICE DETAIL ── */
.service-detail-grid { display: grid; grid-template-columns: 1fr 340px; gap: 3rem; align-items: start; }
.service-body h2 { font-size: 1.35rem; font-weight: 700; margin: 2rem 0 .8rem; color: var(--primary); border-left: 4px solid var(--accent); padding-left: .8rem; }
.service-body h2:first-child { margin-top: 0; }
.service-body p { color: var(--muted); font-size: .95rem; line-height: 1.8; margin-bottom: 1rem; }
.service-body ul { margin: .8rem 0 1.2rem 0; }
.service-body ul li { color: var(--muted); font-size: .95rem; padding: .35rem 0 .35rem 1.4rem; position: relative; }
.service-body ul li::before { content: '▸'; position: absolute; left: 0; color: var(--accent); }

.spec-table { width: 100%; border-collapse: collapse; margin: 1.2rem 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.spec-table th, .spec-table td { padding: .8rem 1.1rem; text-align: left; font-size: .875rem; border-bottom: 1px solid var(--border); }
.spec-table th { background: var(--primary); color: #fff; font-weight: 600; }
.spec-table tr:last-child td { border-bottom: none; }
.spec-table tr:nth-child(even) td { background: #f8fafc; }
.spec-table td { color: var(--text); }

.sidebar { position: sticky; top: 90px; }
.sidebar-box {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.8rem;
  margin-bottom: 1.5rem; box-shadow: var(--shadow);
}
.sidebar-box h3 { font-size: .95rem; font-weight: 700; margin-bottom: 1.2rem; padding-bottom: .8rem; border-bottom: 2px solid var(--border); color: var(--primary); }
.contact-item { display: flex; align-items: flex-start; gap: .8rem; margin-bottom: 1rem; }
.contact-item-icon { font-size: 1.2rem; margin-top: .1rem; }
.contact-item p { font-size: .875rem; color: var(--muted); }
.contact-item p strong { color: var(--text); display: block; font-size: .85rem; }
.sidebar-nav a { display: flex; justify-content: space-between; align-items: center; padding: .65rem .8rem; border-radius: 6px; font-size: .875rem; color: var(--muted); transition: all .15s; margin-bottom: .3rem; border: 1px solid transparent; }
.sidebar-nav a:hover, .sidebar-nav a.active { background: #fff0f0; color: var(--accent); border-color: #fdd8d8; padding-left: 1.1rem; font-weight: 600; }

/* ── HIZMETLER PAGE ── */
.hizmet-item { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; padding: 3.5rem 0; border-bottom: 1px solid var(--border); }
.hizmet-item:last-child { border-bottom: none; }
.hizmet-item.reverse { direction: rtl; }
.hizmet-item.reverse > * { direction: ltr; }
.hizmet-item-img { border-radius: var(--radius); overflow: hidden; }
.hizmet-item-img img { width: 100%; height: 300px; object-fit: cover; }
.hizmet-item-img .placeholder-img {
  width: 100%; height: 300px;
  background: linear-gradient(135deg, #f0f7ff, #e8f4fd);
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--border); border-radius: var(--radius);
  font-size: 4rem;
}
.hizmet-item-body h2 { font-size: 1.5rem; font-weight: 800; margin-bottom: .8rem; color: var(--primary); }
.hizmet-item-body p { color: var(--muted); font-size: .95rem; line-height: 1.75; margin-bottom: 1.2rem; }

/* ── CONTACT FORM ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .5rem; color: var(--text); }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; background: var(--bg2); border: 1.5px solid var(--border);
  border-radius: 8px; padding: .75rem 1rem; color: var(--text);
  font-family: inherit; font-size: .9rem; transition: border .2s; outline: none;
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(204,21,21,.12); }
.form-group textarea { resize: vertical; min-height: 130px; }

/* ── FOOTER ── */
footer { background: var(--primary); color: #fff; padding: 4rem 2rem 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem; max-width: 1200px; margin: 0 auto 3rem; }
.footer-brand p { color: rgba(255,255,255,.65); font-size: .875rem; line-height: 1.75; margin: 1rem 0; }
.footer-col h4 { font-size: .85rem; font-weight: 700; margin-bottom: 1.2rem; color: #fff; letter-spacing: 1px; text-transform: uppercase; padding-bottom: .6rem; border-bottom: 2px solid rgba(255,255,255,.1); }
.footer-col a { display: block; color: rgba(255,255,255,.65); font-size: .85rem; margin-bottom: .6rem; transition: color .15s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { max-width: 1200px; margin: 0 auto; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-bottom p { color: rgba(255,255,255,.5); font-size: .8rem; }

/* ── HAKKIMIZDA STATS ── */
.stats-strip { background: var(--bg); }
.stat-card { background: var(--bg2); border-radius: var(--radius); padding: 2.5rem 2rem; text-align: center; border: 1px solid var(--border); box-shadow: var(--shadow); border-top: 4px solid var(--accent); }
.stat-card .num { font-size: 2.8rem; font-weight: 900; color: var(--accent); line-height: 1; }
.stat-card .lbl { font-size: .85rem; color: var(--muted); margin-top: .5rem; }

/* ── MOBILE ── */
@media (max-width: 900px) {
  .about-grid, .service-detail-grid, .contact-grid { grid-template-columns: 1fr; }
  .hizmet-item, .hizmet-item.reverse { grid-template-columns: 1fr; direction: ltr; }
  .hero-stats { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .sidebar { position: static; }
}
@media (max-width: 640px) {
  .nav-links {
    display: none; position: fixed; top: 70px; left: 0; width: 100%;
    background: var(--bg2); border-bottom: 2px solid var(--border);
    flex-direction: column; padding: .5rem 0; gap: 0; max-height: calc(100vh - 70px); overflow-y: auto;
  }
  .nav-links.open { display: flex; }
  .nav-links > li > a { height: auto; padding: .85rem 1.5rem; border-bottom: 1px solid var(--border); border-left: 0; }
  .dropdown { position: static; opacity: 1; transform: none; pointer-events: auto; box-shadow: none; border: none; border-top: none; background: #f8fafc; border-radius: 0; padding-top: 0; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; }
  .stat { padding: 1rem 1.5rem; }
}
