body{font-family:Arial, sans-serif;margin:0;padding:0;background:#f4f4f4;}
.container{max-width:1200px;margin:0 auto;padding:0 20px;}
.section-title{font-size:2rem;font-weight:700;color:#003366;margin:30px 0 10px 0;padding-left:15px;}
.project-gallery{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;}
@media(max-width:992px){.project-gallery{grid-template-columns:repeat(2,1fr);} }
@media(max-width:576px){.project-gallery{grid-template-columns:1fr;} }

.project-box{background:#fff;border:1px solid #ccc;cursor:pointer;box-shadow:0 2px 5px rgba(0,0,0,0.1);}
.project-box img{width:100%;height:200px;object-fit:cover;filter:grayscale(100%);transition:all .3s}
.project-box:hover img{filter:none;transform:scale(1.03);}
.caption{padding:10px;background:#eee;text-align:center;}
.caption strong{display:block;color:#003366;font-size:1rem;}
.caption span{font-size:0.9rem;color:#555;font-weight: 550;}

/* Modal */
.modal{display:none;position:fixed;inset:0;background:rgba(0,0,0,0.8);justify-content:center;align-items:center;z-index:1000;}
.modal-content{background:#fff;width:95%;max-width:950px;max-height:90vh;overflow-y:auto;padding:20px;position:relative;text-align:center;}
.modal-close{position:absolute;top:10px;right:20px;font-size:28px;cursor:pointer;color:#333;}
.modal-title{font-size:1.9rem;color:#003a73;margin:0 0 15px 0;font-weight:700;border-bottom:1.5px solid #003366;padding-bottom: 12px;}
.modal-main-image{width:100%;max-height:450px;object-fit:cover;border-top: 1px solid #003366;margin-top: 10px;}
.modal-description{text-align:center;color:#4a4a4a;margin:20px 0;font-size:1rem;font-weight: 700;}
.modal-gallery{display:flex;justify-content:center;gap:16px;margin:10px 0 25px;}
.modal-gallery img{width:110px;height:80px;object-fit:cover;border:2px solid transparent;cursor:pointer;transition:border .2s;}
.modal-gallery img:hover{border-color:#1e6cb5;}

.modal-table{width:100%;border-collapse:collapse;margin-top:15px;font-size:0.9rem;}
.modal-table th,.modal-table td{border:1px solid #d0d0d0;padding:8px;text-align:center;}
.modal-table th{background:#d7eafe;color:#003a73;font-weight:700;}
.modal-table td{background:#fff;}

@media(max-width:600px){
  .modal-main-image{max-height:260px;}
  .modal-gallery{gap:8px;}
  .modal-gallery img{width:80px;height:60px;}
  .project-box img{height:160px;}
}


html, body {
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #fff;
  color: #333;
}

* {
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}



/* Giriş animasyonu sonrası*/

.main-content.show {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

html {
  scroll-behavior: smooth;
}

/* Genel Ayarlar */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #f9f9f9;
  color: #111;
  overflow-x: hidden;
}

/* Header */
/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 0.5rem 1.6rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #003366; /* ✅ yeni renk */
  transition: all 0.4s ease;
  z-index: 1000;
}

header.shrink {
  background-color: #003366; /* ✅ yeni renk */
  padding: 0.8rem 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.logo img {
  height: 75px;
  transition: all 0.4s ease;
}

header.shrink .logo img {
  height: 65px;
  content: url('logos/beyaz.png');
}

nav {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

nav ul {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

nav ul li {
  position: relative;
}

nav ul li a {
  color: #ffffff !important; /* tamamen beyaz */
  font-size: 1rem;
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
  white-space: nowrap;
}

header.shrink nav ul li a {
  color: #ffffff !important; /* shrink'te de beyaz */
}

nav ul li a:hover,
nav ul li a.active {
  color: #ffffff !important; /* hover'da da beyaz */
}

nav ul li a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background: linear-gradient(to right, transparent, #ffffff, transparent); /* çizgi de beyaz */
  transition: width 0.3s ease;
}

nav ul li a:hover::after {
  width: 100%;
}

/* Dropdown */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #003366; /* ✅ yeni renk */
  padding: 0.5rem 1rem;
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  min-width: 200px;
    overflow-y: visible !important;  /* Scroll'u iptal et */
  max-height: 40vh;
  font-size: 1rem;
  margin-bottom: 1rem;
}

  /* Alt menü okları */
  .arrow {
    margin-left: 6px;
    transition: transform .3s ease;
    font-size: .75em;          /* Ana metne göre biraz küçük */
  }
  /* Alt menü açıkken oku çevir */
  .dropdown.open > a .arrow { transform: rotate(180deg); }

.dropdown-menu li {
  padding: 0.3rem 0;
}

.dropdown.open .dropdown-menu {
  display: block;
}

.dropdown-menu li a {
  font-size: 0.8rem;
  padding: 0.3rem 0.6rem;
  color: #ffffff !important; /* beyaz yazılar */
  white-space: nowrap;
    line-height: 0;

}

.dropdown-menu li a:hover {
  background-color: #003366; /* koyu mor hover */
  color: #ffffff !important; /* beyaz yazılar */
}

/* Mobil */
.menu-toggle {
  display: none;
  font-size: 1.5rem;
  color: white;
  cursor: pointer;
  transition: transform 0.3s ease;
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10000;
}

header.shrink .menu-toggle {
  color: white; /* shrink'te de beyaz kalsın */
}

@media (max-width: 1024px) {
  #menu {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: auto;
      max-height: 80vh;
      margin-top: 80px;
      padding: 1rem;
      background-color: #003366; /* ✅ yeni renk */
      flex-direction: column;
      align-items: flex-start;
      justify-content: flex-start;
      z-index: 9999;
  }

  #menu.mobile-show {
      display: flex;
  }

  #menu li {
      margin: 1rem 0;
      text-align: center;
  }

  #menu li a {
      font-size: 1.5rem;
      color: #ffffff !important;
      text-decoration: none;
      white-space: nowrap;
  }

  nav {
      flex-direction: column;
  }

  nav ul {
      flex-direction: column;
      width: 100%;
  }

  nav ul li {
      width: 100%;
  }

  .dropdown-menu {
      position: static;
      background-color: #003366; /* ✅ yeni renk */
      box-shadow: none;
      margin-top: 0.3rem;
      max-height: 16vh;
    overflow-y: visible !important;  /* Scroll'u iptal et */
      padding: 0.2rem 0.6rem;
      font-size: 0.75rem;
      text-align: center;
      border-radius: 6px;
  }

  .dropdown-menu li {
    padding: 0.2rem 0; /* Azaltılmış dikey boşluk */
    margin: 0; /* Fazladan boşluk varsa sıfırla */
  }

  .dropdown-menu li a {
      font-size: 0.8rem;
      padding: 0.3rem 0.6rem;
      color: #ffffff !important;
      white-space: nowrap;
  }

  .dropdown-menu li a:hover {
      background-color: #003366; /* koyu mor hover */
      color: #ffffff !important;
  }

  .menu-toggle {
      display: block;
  }
}

@media (min-width: 1024px) {
  #menu {
      display: flex !important;
      position: static;
      flex-direction: row;
      background-color: transparent;
      height: auto;
      padding: 0;
      align-items: center;
      justify-content: flex-end;
  }

  .menu-toggle {
      display: none;
  }

  #menu > li > a {
      color: #ffffff !important;
  }

  header.shrink #menu > li > a {
      color: #ffffff !important; /* shrink'te beyaz */
  }
}

/* Animasyon */
@keyframes slideDown {
  from {
      opacity: 0;
      transform: translateY(-20px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

        /* Footer */
  .final-footer {
    background-color: #12181f;
    color: #fff;
    padding: 2rem 1rem;
    font-family: 'Poppins', sans-serif;
    position: relative;
    z-index: 10;
    overflow: hidden;
  }
  .final-footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 1.5rem;
  }
  .footer-social a {
    color: #ccc;
    margin-right: 12px;
    font-size: 1.2rem;
    transition: color 0.3s ease;
  }
  .footer-social a:hover {
    color: #ffcc00;
  }
  .footer-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  .footer-links a {
    color: #bbb;
    font-size: 0.9rem;
    text-decoration: none;
    position: relative;
  }
  .footer-links a::after {
    content: "|";
    margin-left: 1rem;
    color: #555;
  }
  .footer-links a:last-child::after {
    content: "";
  }
  .footer-logos img {
    height: 48px;
    margin-left: 12px;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
  }
  .footer-logos img:hover {
    filter: grayscale(0%);
  }
  .final-footer-bottom {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: #999;
  }
  .scrollTopBtn.roof-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: none;
    border: none;
    z-index: 9999;
  }
  .scrollTopBtn.roof-btn img {
    width: 48px;
    height: 48px;
    transition: transform 0.3s ease;
  }
  .scrollTopBtn.roof-btn:hover img {
    transform: scale(1.1);
  }
  @media (max-width: 768px) {
    .final-footer-top {
      flex-direction: column;
      align-items: center;
      text-align: center;
      gap: 1rem;
    }
    .footer-links {
      justify-content: center;
    }
  }
  
  body {
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    padding: 0;
  }
  .svg-turkiye-haritasi {
    padding-top: 140px;
    max-width: 1140px;
    margin: 0 auto;
    text-align: center;
  }
  .il-isimleri {
    position: absolute;
    z-index: 2;
  }
  .il-isimleri div {
    background: #222;
    color: #fff;
    padding: 8px 16px;
    border-radius: 4px;
  }
/* 1️⃣ TÜM İLLERİN BAŞLANGIÇ RENGİ */
#svg-turkiye-haritasi path {
  fill: #797876 !important;  /* ❗ tüm iller varsayılan olarak bu renk */
  transition: fill 0.3s;
}
/* 2️⃣ PROJESİ OLAN ŞEHİRLERİN RENKLERİ */
#svg-turkiye-haritasi g[data-iladi*="İSTANBUL"] path,
#svg-turkiye-haritasi g[data-iladi="GAZİANTEP"] path,
#svg-turkiye-haritasi g[data-iladi="SAKARYA"] path,
#svg-turkiye-haritasi g[data-iladi="ERBİL"] path,
#svg-turkiye-haritasi g[data-iladi="ANKARA"] path,
#svg-turkiye-haritasi g[data-iladi="MALATYA"] path,
#svg-turkiye-haritasi g[data-iladi="ESKİŞEHİR"] path,
#svg-turkiye-haritasi g[data-iladi="MARDİN"] path,
#svg-turkiye-haritasi g[data-iladi="DİYARBAKIR"] path,
#svg-turkiye-haritasi g[data-iladi="ADIYAMAN"] path,
#svg-turkiye-haritasi g[data-iladi="HATAY"] path,
#svg-turkiye-haritasi g[data-iladi="ÇANAKKALE"] path,
#svg-turkiye-haritasi g[data-iladi="ERZİNCAN"] path {
    fill: #003366 !important;  /* ✅ Projesi olan iller */
}

  #svg-turkiye-haritasi path:hover {
    fill: #666;
  }

  .harita-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background: linear-gradient(to bottom right, rgba(0,0,0,0.85), rgba(0,0,0,0.65));
    backdrop-filter: blur(8px);
  }
  .harita-modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 40px;
    width: 90%;
    max-width: 900px;
    border-radius: 0px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    max-height: 90vh;
    overflow-y: auto;
  }
  .harita-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
  }
  .harita-modal-project {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
    flex-wrap: nowrap; /* masaüstünde yan yana */
      border-top: 1px solid #003366;   /* çizgi kalınlığını dilediğiniz gibi ayarlayabilirsiniz */

}
#harita-modal-title {
  font-size: 2rem;      /* İsterseniz ayarlayın */
  color: #003366;       /* Kurumsal mavi          */
  margin-bottom: 25px;  /* Başlık–liste arası boşluk */
  text-align: center;   /* Ortalamak için (opsiyonel) */
}
/* Mobilde alta kayması için */
@media (max-width: 768px) {
    .harita-modal-project {
        flex-direction: column; /* mobilde alta geçsin */
        align-items: center;
        text-align: center;
    }
    .harita-modal-project img {
        width: 100%; /* mobilde tam genişlik */
        max-width: 300px;
    }
}
  .harita-modal-project img {
    width: 70%;
    max-width: 350px;
    max-height: 220px;
    object-fit: cover;
    border-radius: 0;
    display: block;
    margin: 15px auto;
}
  .harita-modal-project h3 {
    font-size: 1.5rem;
    color: #003366;
    margin-bottom: 10px;
    flex: 1;
    min-width: 200px;
  }
  .harita-modal-project p {
    font-size: 0.95rem;
    color: #003366;
    margin: 4px 0;
  }

  .harita-modal-project:last-child {
    border-bottom: none;
  }


  .harita-modal-project .project-time {
    font-size: 1rem;
    font-weight: 500;
    color: #007bff;
    margin-bottom: 10px;
  }

  .harita-modal-project .project-desc {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
  }

    /* BAŞLIK */
  .tamamlanan-projeler-baslik {
    text-align: center;
    margin-top: 100px;
    margin-bottom: 40px;
    padding: 0 20px;
  }
  .tamamlanan-projeler-baslik h1 {
    font-size: 2.6rem;
    font-weight: 700;
    color: #003366;
    margin-bottom: 10px;
  }
  .tamamlanan-projeler-baslik p {
    font-size: 1.1rem;
    color: #003355;
    max-width: 700px;
    margin: 0 auto;
  }