
:root{
  --primary:#0f467a;
  --primary-600:#1b6aa5;
  --accent:#f25b3c;
  --bg:#f5f7fb;
  --text:#0e1a2b;
  --muted:#6b7a90;
  --card:#ffffff;
  --shadow:0 10px 30px rgba(15,70,122,.08);
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background:var(--bg);
  line-height:1.6;
}

/* Top bar */
.topbar{
  background:var(--primary);
  color:#fff;
  font-size:.99rem;
}
@media (max-width: 768px) {
  .topbar {
    font-size: 0.8rem;
  }

  .topbar .container {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px; /* az boşluk bırak */
  }

  .topbar a {
    font-size: 0.8rem;
  }

  .topbar span {
    display: inline-block;
  }
}


.topbar .container{
  max-width:1200px;
  margin:0 auto;
  padding:.5rem 1rem;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:1rem;
}
.topbar a{color:#fff;text-decoration:none;opacity:.9}
.topbar a:hover{opacity:1}

/* Header */
.header{
  background:#fff;
  box-shadow:var(--shadow);
  position:sticky; top:0; z-index:50;
}
.header .container{
  max-width:1200px;
  margin:0 auto;
  padding: 0rem 1rem;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
}
.brand{
  display:flex; align-items:center; gap:.8rem;
}
.brand img{height:99px}
.brand .title{font-weight:800; color:var(--primary); letter-spacing:.3px}

/* Nav */
.nav{
  display:flex; align-items:center; gap:1.2rem; position:relative;
}
.nav a{
  text-decoration:none; color:var(--text); font-weight:600;
  padding:.10rem .4rem; border-radius:.5rem;
}
.nav a:hover{color:var(--primary)}

/* Dropdown */
.dropdown{position:relative}
.dropdown > a::after{
  content:"▾"; font-size:.8rem; margin-left:.4rem; color:var(--muted);
}
.dropdown-menu{
  position:absolute; top:110%; left:0; min-width:220px;
  background:#fff; box-shadow:var(--shadow); border-radius:1rem; padding:.5rem;
  display:none;
}
.dropdown:hover .dropdown-menu{display:block}
.dropdown-menu a{display:block; padding:.6rem .8rem; border-radius:.6rem}
.dropdown-menu a:hover{background:#f0f4fb}

/* Mobile menu */
.burger{display:none; background:none; border:0; font-size:1.6rem}
.drawer{
  position:fixed; top:0; right:0; height:100%; width:min(80%, 320px);
  background:#fff; box-shadow:-10px 0 30px rgba(0,0,0,.08); transform:translateX(100%);
  transition:.3s ease; z-index:60; padding:1rem;
  display:flex; flex-direction:column; gap:.6rem;
}
.drawer.open{transform:translateX(0)}
.drawer .close{
  align-self:flex-end; background:none; border:0; font-size:1.6rem; cursor:pointer;
}
.drawer a{padding:.8rem; border-radius:.6rem; text-decoration:none; color:var(--text); font-weight:600}
.drawer a:hover{background:#f0f4fb}
.drawer .sub{margin-left:.8rem; border-left:3px solid #eef2f7; padding-left:.6rem}

/* Hero / Slider */
.slider{
  position:relative; overflow:hidden; max-width:1200px; margin:24px auto; border-radius:20px; box-shadow:var(--shadow);
  background:#000;
}
.slides{display:flex; transition:transform .8s ease}
.slide{min-width:100%; height:420px; display:flex; align-items:center; justify-content:center; overflow:hidden; background:#0f467a}
.slide img{width:100%; height:100%; object-fit:cover}
.slider .arrow{
  position:absolute; top:50%; transform:translateY(-50%); background:rgba(255,255,255,.85);
  border:0; padding:.6rem .8rem; border-radius:999px; cursor:pointer; box-shadow:var(--shadow);
}
.slider .prev{left:12px}
.slider .next{right:12px}
.dots{position:absolute; bottom:12px; left:50%; transform:translateX(-50%); display:flex; gap:8px}
.dots button{width:10px; height:10px; border-radius:999px; border:0; background:rgba(255,255,255,.6); cursor:pointer}
.dots button.active{background:#fff}

/* Sections */
.section{max-width:1200px; margin:40px auto; padding:0 1rem}
.section h2{font-size:1.8rem; margin:0 0 16px; color:var(--primary)}
.section p.lead{color:var(--muted); margin-top:-6px}

/* Project cards */
.grid-3{
  display:grid; grid-template-columns:repeat(3,1fr); gap:24px;
}
.card{
  background:var(--card); border-radius:18px; padding:14px; box-shadow:var(--shadow); display:flex; flex-direction:column; gap:10px;
}
.card img{width:100%; height:200px; object-fit:cover; border-radius:14px}
.badge{display:inline-block; background:#eef4ff; color:var(--primary); padding:.25rem .6rem; border-radius:999px; font-size:.75rem; font-weight:700; letter-spacing:.2px}
.btn{
  display:inline-block; background:var(--primary); color:#fff; text-decoration:none; padding:.8rem 1.1rem; border-radius:12px; box-shadow:var(--shadow); font-weight:700;
}
.btn.ghost{background:#fff; color:var(--primary); border:2px solid var(--primary)}
.actions{margin-top:12px; display:flex; gap:10px; align-items:center}

/* Partnership */
.partnership{
  background:linear-gradient(135deg, #fff, #f0f6ff); border-radius:20px; padding:22px; box-shadow:var(--shadow);
  display:grid; grid-template-columns: 1.2fr .8fr; align-items:center; gap:18px;
}
.partnership img{max-width:100%; height:auto}

/* Footer */
.footer{
  background:#0f1a2b; color:#d8e2f0; margin-top:50px; padding-top:30px; text-align: center;
}
.footer .container{
  max-width:1200px; margin:0 auto; padding: 0 9rem 22px 9rem; display:grid; grid-template-columns:1.5fr 1.2fr 0.9fr; gap:24px;
}
.footer a{color:#d8e2f0; text-decoration:none}
.footer a:hover{color:#fff}
.footer .brand-block img{height:99px}
.copy{border-top:1px solid rgba(255,255,255,.1); text-align:center; padding:14px; font-size:.9rem; opacity:.9}

/* Responsive */
@media (max-width: 1024px){
  .grid-3{grid-template-columns:repeat(2,1fr)}
  .partnership{grid-template-columns:1fr}
}

@media (max-width: 768px){
  .nav{display:none}
  .burger{display:block}
  .grid-3{grid-template-columns:1fr}
  .slide{height:300px}
  .topbar .container{justify-content:center}
}
/* About metrics section */
.about-metrics{display:grid; grid-template-columns:1.2fr 1fr; gap:18px; align-items:stretch;}
.checklist{margin:0; padding-left:1.2rem}
.checklist li{margin:.4rem 0}
.kpi-row{display:flex; gap:16px; margin-top:12px}
.kpi{background:#f6f9ff; border:1px solid #e7eef9; border-radius:14px; padding:12px 16px; text-align:center; flex:1}
.kpi-big{font-size:2rem; font-weight:800; color:var(--primary)}
.kpi-big span{color:var(--accent)}
.kpi-label{font-weight:600; color:var(--muted)}
.about-right canvas{width:100%; height:260px}
.muted{color:var(--muted)}

.contactSubtitleX {
  text-align: center;
  color: #6b7a90;
  font-size: 1rem;
  margin-bottom: 40px;
}

/* === Üst Bilgi ve Form === */
.contactGridX {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto 50px auto;
}

.contactInfoX, .contactFormX {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.06);
  padding: 25px;
}

.infoHeaderX, .formHeaderX {
  color: #0f467a;
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.infoListX {
  list-style: none;
  padding: 0;
  margin: 0;
  line-height: 1.8;
}

.infoNoteX {
  margin-top: 15px;
  color: #6b7a90;
  font-size: 0.95rem;
}

.inputX {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid #e0e6ef;
  border-radius: 12px;
  margin-bottom: 12px;
  font-size: 1rem;
}

.textareaX {
  resize: none;
}

#submitBtnX {
  width: 100%;
  background: #0f467a;
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 0.9rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

#submitBtnX:hover {
  background: #1b6aa5;
}

/* === Harita Alanı === */
.mapContainerX {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

.branchPanelX {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.06);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mapTitleX {
  color: #0f467a;
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.branchBtnX {
  padding: 12px 16px;
  border: none;
  border-radius: 12px;
  background: #f3f6fb;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  color: #0f1a2b;
  transition: 0.25s;
}

.branchBtnX:hover {
  background: #e0e8f7;
}

.branchBtnX.active {
  background: #0f467a;
  color: #fff;
}

#mapX {
  height: 500px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 25px rgba(0,0,0,0.06);
}

.mapLinkX {
  color: #0f467a;
  font-weight: 600;
  text-decoration: none;
}

.mapLinkX:hover {
  text-decoration: underline;
}

/* === Responsive === */
@media (max-width: 900px) {
  .contactGridX {
    grid-template-columns: 1fr;
  }
  .mapContainerX {
    grid-template-columns: 1fr;
  }
  #mapX {
    height: 400px;
  }
  }

.title {
  text-align: center;
  color: #0f467a;
  font-size: 2rem;
  margin-top: 30px;
  margin-bottom: 6px;
}

.subtitle {
  text-align: center;
  color: #6b7a90;
  margin-bottom: 30px;
}

.map-wrapper {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto 50px auto;
  padding: 0 20px;
}

.branch-panel {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  padding: 20px;
}

.branch {
  display: block;
  width: 100%;
  text-align: left;
  padding: 12px 16px;
  border: none;
  border-radius: 10px;
  background: #f3f6fb;
  color: #0f1a2b;
  margin-bottom: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.25s;
}

.branch:hover {
  background: #e0eaf9;
}

.branch.active {
  background: #0f467a;
  color: #fff;
}

#adayMap {
  height: 550px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

@media (max-width: 900px) {
  .map-wrapper {
    grid-template-columns: 1fr;
  }

  #adayMap {
    height: 420px;
  }
}

.services-section {
  background-color: #f5f7fa;
  padding: 80px 5%;
  font-family: 'Inter', sans-serif;
     max-width: 1200px;
   display: grid;
  
  
  max-width: 1200px;
  margin: 0 auto 50px auto;
  padding: 0 20px;
 
}

/* Başlık kısmı - sola yaslı */
.section-header {
  text-align: left;
  margin-bottom: 50px;
  
  
  
}

.section-header h2 {
  font-size: 32px;
  font-weight: 800;
  color: #184d7a;
  margin-bottom: 8px;
  
}

.section-header p {
  color: #6c757d;
  font-size: 17px;
  max-width: 600px;
}

/* Hizmet grid yapısı */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
 
}

/* Kart tasarımı */
.service-card {
  background-color: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  text-decoration: none;
  transition: all 0.3s ease;
  
  
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.service-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

@media (max-width: 768px) {
  .slide {
    height: auto;
    background: none !important; /* mavi alanı kaldırır */
  }

  .slide img {
    height: auto;
    width: 100%;
    object-fit: contain; /* resim tamamen sığar */
    background: none;
  }

  .slider {
    background: none;
  }
}


.service-card h4 {
  color: #184d7a;
  font-size: 18px;
  font-weight: 700;
  padding: 18px;
  text-align: left;
}

/* Responsive ayarlar */
@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}
/* Logo küçülme efekti */
.logo {
  height: 65px;
  transition: height 0.3s ease, padding 0.3s ease;
}

.shrink-logo {
  height: 65px !important;
}

.header-small {
  transition: all 0.3s ease;
  padding: 0.3rem 0 !important;
}

/* --- Mobil Menü Düzenlemesi --- */
.mobile-menu {
  position: fixed;
  top: 0; right: 0;
  width: 80%;
  max-width: 320px;
  height: 100%;
  background: #fff;
  box-shadow: -6px 0 25px rgba(0,0,0,0.15);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  padding: 20px;
  z-index: 999;
}
.mobile-menu.active { transform: translateX(0); }

.mobile-menu .close-menu {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  margin-bottom: 10px;
  color: var(--primary);
}

.mobile-menu a {
  padding: 12px 8px;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  border-radius: 10px;
  transition: 0.25s;
}
.mobile-menu a:hover {
  background: #f3f6fb;
  color: var(--primary);
}

.mobile-menu .sub-links {
  margin-left: 12px;
  border-left: 3px solid #e4e8f0;
  padding-left: 8px;
  display: flex;
  flex-direction: column;
}

/* Mobilde görünür, masaüstünde gizli */
.burger {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
}
@media (max-width: 768px) {
  .burger { display: block; }
  .nav { display: none; }
}

/* === FOOTER RESPONSIVE DÜZEN === */
.footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  padding: 0 2rem 22px 2rem;
}

/* Footer içindeki bloklar */
.footer .container > div {
  flex: 1 1 250px;
  min-width: 250px;
}

/* Mobilde alt alta gelsin */
@media (max-width: 768px) {
  .footer .container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer .container > div {
    max-width: 100%;
  }

  .footer .brand-block img {
    margin: 0 auto 10px;
  }
}
/* === FOOTER YENİ HİZALANMIŞ DÜZEN === */
.footer {
  background: #0f1a2b;
  color: #d8e2f0;
  margin-top: 50px;
  padding: 40px 0 0;
  font-family: 'Inter', sans-serif;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-col {
  flex: 1 1 280px;
  min-width: 240px;
}

.footer-col h4 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 10px;
  border-bottom: 2px solid #1b6aa5;
  display: inline-block;
  padding-bottom: 3px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  line-height: 1.7;
}

.footer-col a {
  color: #d8e2f0;
  text-decoration: none;
  transition: 0.3s;
}
.footer-col a:hover {
  color: #ffffff;
}

.footer-logo {
  height: 90px;
  margin-bottom: 10px;
}

.footer-brand p {
  max-width: 340px;
  font-size: 0.95rem;
  color: #c8d3e0;
  line-height: 1.;
  margin-top: 8px;
}

.footer-copy {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin-top: 20px;
  padding: 12px 0;
  font-size: 0.9rem;
  opacity: 0.85;
}


/* === Mobil düzen — hizalı & ortalı === */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 5px; /* aradaki fazla boşluğu azalttım */
  }

  .footer-col {
    width: 75%;
    max-width: 300px;
    margin: 1;
  }

  .footer-col h4 {
    margin-top: 15px;
    margin-bottom: 1px;
  }

  .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-logo {
    margin: 1 auto 9px;
  }

  .footer-brand p {
    margin: 0 auto;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px; /* Boşlukları azalttım */
  }

  .footer-col {
    margin-bottom: 5px; /* aralık azaldı */
  }

  .footer-col h4 {
    margin-bottom: 4px;
  }

  .footer-brand p {
    margin-top: 4px;
    line-height: 1.4;
  }
}


