/* === Temiz ve Profesyonel Style.css === */

/* GENEL */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #d4d6d8;
  color: #333;
}

main {
  max-width: 1200px;
  margin: auto;
  padding: 40px 20px;
}

h1, h2, h3 {
  color: #0f1f58;
  font-weight: bold;
}

/* HEADER */
.main-header {
  background: url('assets/hero2.jpg') center/cover no-repeat;
  color: rgba(255, 255, 255, 0.723);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.main-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 0 20px;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  color: white;
}

/* Mobil menü ikonu */
.menu-icon {
  display: none;
  font-size: 28px;
  cursor: pointer;
  user-select: none;
}

#menu-toggle {
  display: none;
}

.navbar ul {
  list-style: none;
  display: flex;
  gap: 15px;
  margin: 0;
  padding: 0;
}

.navbar a {
  color: #111;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  padding: 10px 15px;
  display: block;
  border-radius: 6px;
  transition: background-color 0.3s ease, color 0.3s ease;
  font-weight: 500;
  font-size: 20px;
}

.navbar a:hover {
  background-color: #b3b3b3;
}

/* DROPDOWN */
.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  background-color: #2c2c2c;
  top: 100%;
  left: 0;
  min-width: 180px;
  padding: 0;
  margin: 0;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  z-index: 1001;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu li {
  border-bottom: 1px solid #000000;
}

.dropdown-menu li:last-child {
  border-bottom: none;
}

.dropdown-menu a {
  display: block;
  padding: 10px 16px;
  color: #000;
  text-decoration: none;
  background-color: #fff;
  transition: background-color 0.3s ease;
  font-weight: 500;
  font-size: 14px;
  text-transform: capitalize;
}

.dropdown-menu a:hover {
  background-color: #444;
  color: #979292;
}

/* LANGUAGE */
.language-switcher {
  font-size: 14px;
}

.language-switcher a {
  color: rgb(9, 9, 9);
  text-decoration: none;
  margin-left: 8px;
}

/* HERO */
.hero {
  background: url('assets/hero.jpg') center/cover no-repeat;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgb(255, 255, 255);
  text-align: center;
  position: relative;
}

.hero h1 {
  font-size: 40px;
  font-weight: 700;
}

.hero p {
  font-size: 18px;
  margin-top: 10px;
}

.cta-button {
  background-color: #343435;
  color: white;
  padding: 12px 24px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 6px;
  margin-top: 20px;
  display: inline-block;
}

.cta-button:hover {
  background-color: #007acc;
}

/* SEKTÖRLER */
.sektor-kutulari {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
}

.sektor {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 6px rgba(0,0,0,0.1);
  font-weight: 600;
  width: 300px;
  text-align: left;
  display: flex;
  flex-direction: column;
}

/* REFERANSLAR - Sadece logolar, ortada başlık ve kayan slider */
.referanslar {
  width: 100%;
  background: #d4d6d8;
  padding: 60px 0 40px 0;
  margin: 0 auto;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.referanslar h2 {
  font-size: 38px;
  color: #0f1f58;
  margin-bottom: 40px;
  text-align: center;
  font-weight: 800;
  letter-spacing: 2px;
  font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
  text-transform: uppercase;
  background: linear-gradient(90deg, #0f1f58 60%, #3552a7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  box-shadow: 0 4px 18px rgba(15,31,88,0.08);
}

.referans-slider-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
  margin: 0 auto;
  max-width: 900px;
}

.referans-slider {
  display: flex;
  align-items: center;
  gap: 40px;
  animation: referansKaydir 18s linear infinite;
  will-change: transform;
}

.referans-logo {
  width: 120px;
  height: 90px;
  object-fit: contain;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  padding: 12px 18px;
  margin: 0 8px;
  transition: transform 0.2s;
  display: block;
}

.referans-logo:hover {
  transform: scale(1.07);
}

@keyframes referansKaydir {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Slider'ın tekrarını sağlamak için logolar iki kez eklenmeli (HTML'de) */

/* Mobil uyum */
@media (max-width: 700px) {
  .referans-slider {
    gap: 18px;
  }
  .referans-logo {
    width: 70px;
    height: 50px;
    padding: 6px 8px;
  }
  .referanslar h2 {
    font-size: 20px;
    margin-bottom: 18px;
  }
}

/* FEATURE - Alt alta resimli ve yazılı alanlar */
.feature-section {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin: 40px 0;
}

.feature-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 40px;
  background: #f5f7fa;
  border-radius: 18px;
  box-shadow: 0 2px 14px rgba(0,0,0,0.07);
  padding: 32px 24px;
}

.feature-text {
  flex: 1;
  text-align: left;
}

.feature-text h3 {
  margin: 0 0 10px 0;
  font-size: 1.5rem;
  color: #0f1f58;
}

.feature-text p {
  margin: 0;
  font-size: 1.05rem;
  color: #333;
}

.feature-img {
  width: 330px;
  max-width: 40vw;
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.13);
  object-fit: cover;
}

/* Başlık & içerik */
.page-title,
.misyon-title,
.vizyon-title {
  font-size: 40px;
  font-weight: 800;
  color: #0f1f58;
  text-align: center;
  margin-bottom: 40px;
  margin-top: 60px;
  font-family: 'Poppins', sans-serif;
  letter-spacing: 2px;
  border-bottom: none;
  display: block;
}

.page-content {
  max-width: 900px;
  margin: 0 auto 60px auto;
  font-size: 18px;
  line-height: 1.7;
  color: #222;
}

/* Logo ve slogan */
.logo-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-left: 10px;
  gap: 1px;
  margin-right: 20px;
}

.logo-image {
  height: 80px;
  width: auto;
  object-fit: contain;
}

.slogan {
  font-family: 'Segoe UI', sans-serif;
  font-style: italic;
  font-size: 16px;
  color: #b0472d;
  letter-spacing: 0.5px;
  opacity: 0.85;
  text-shadow: 0 0 3px #23927f;
}

/* Arama kutusu */
.arama-kutusu {
  padding: 10px 15px;
  width: 300px;
  font-size: 16px;
  border: 1px solid #676464;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Firma açıklama paragrafları için */
.aciklama {
  font-size: 14px;
  color: #444;
  margin-top: 8px;
  line-height: 1.5;
  font-weight: 400;
  text-align: left;
}

/* Responsive: mobilde alt alta gelsin */
@media (max-width: 800px) {
  .feature-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .feature-img {
    width: 100%;
    max-width: 100%;
  }
}

/* FOOTER */
footer {
  background: #19213c;
  color: rgb(255, 255, 255);
  padding: 20px;
  text-align: center;
  font-size: 14px;
  margin-top: 35px;
}

footer a {
  color: #ffffff;
  text-decoration: none;
  margin: 0 6px;
}

footer a:hover {
  text-decoration: underline;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .navbar ul {
    flex-direction: column;
    gap: 0;
    background-color: #0f1f58;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    display: none;
  }

  #menu-toggle:checked + .menu-icon + .navbar ul {
    display: flex;
  }

  .menu-icon {
    display: block;
    font-size: 28px;
    cursor: pointer;
    user-select: none;
  }

  #menu-toggle {
    display: none;
  }

  .language-switcher {
    display: none;
  }

  .hero-search-banner {
    height: 160px;
    border-radius: 0;
  }
  .hero-search-form {
    flex-direction: column;
    gap: 10px;
    padding: 14px 12px;
    width: 100%;
  }
  .buyuk-arama-kutusu {
    font-size: 16px;
    padding: 10px 12px;
  }
  .arama-btn {
    padding: 10px 18px;
    font-size: 16px;
    width: 100%;
  }
}

/* Dropdown özel ayarlar */
.dropdown-menu {
  display: none !important;
}

.navbar .dropdown:hover > .dropdown-menu {
  display: block !important;
}

.navbar .dropdown-hakkimizda:hover .dropdown-menu {
  display: block !important;
}

.navbar .dropdown-hakkimizda .dropdown-menu {
  display: none;
  position: absolute;
  background-color: #0f1f58;
  top: 100%;
  left: 0;
  min-width: 160px;
  padding: 0;
  margin: 0;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  z-index: 1001;
}

.navbar .dropdown-hakkimizda .dropdown-menu li {
  border-bottom: 1px solid #0f1f58;
}

.navbar .dropdown-hakkimizda .dropdown-menu a {
  display: block;
  padding: 10px 15px;
  color: white;
  text-decoration: none;
  background-color: #0f1f58;
  white-space: nowrap;
  transition: background-color 0.3s ease;
}

.navbar .dropdown-hakkimizda .dropdown-menu a:hover {
  background-color: #0f1f58;
}

/* HERO SEARCH (Arka plan resimli büyük arama alanı) */
.hero-search-banner {
  position: relative;
  width: 100%;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #d4d6d8;
  margin-bottom: 38px;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 2px 24px rgba(0,0,0,0.09);
}

.hero-search-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0; left: 0;
  z-index: 1;
  opacity: 0.88;
  filter: blur(0px) brightness(0.96);
}

.hero-search-box {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-search-form {
  display: flex;
  width: 80%;
  max-width: 740px;
  background: rgba(255,255,255,0.94);
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.10);
  padding: 24px 32px;
  gap: 14px;
  align-items: center;
}

.buyuk-arama-kutusu {
  width: 100%;
  font-size: 22px;
  padding: 16px 18px;
  border-radius: 12px;
  border: 2px solid #0f1f58;
  box-shadow: none;
  outline: none;
  background: #fff;
}

.arama-btn {
  background: #0f1f58;
  color: #fff;
  border: none;
  font-size: 20px;
  padding: 16px 32px;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.arama-btn:hover {
  background: #3552a7;
}

/* === Arama Sonuçları Otomatik Liste (autocomplete) - MODERN ve TEMİZ === */
.arama-sonuclari-listesi {
  position: absolute;
  top: 92px;
  left: 0,1;
  width: 100%;
  max-width: 600px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.10);
  z-index: 22;
  display: none;
  padding: 0;
  margin-left: 0;
  border: 1px solid #e3e6ee;
}

.arama-sonuclari-listesi .sonuc-item {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 12px 20px;
  cursor: pointer;
  border-bottom: 1px solid #f0f0f0;
  font-size: 1.10rem;
  color: #1a2340;
  font-weight: 500;
  background: transparent;
  transition: background 0.15s, color 0.15s;
  text-align: left;
  text-decoration: none;
  border-radius: 0;
}

.arama-sonuclari-listesi .sonuc-item:last-child {
  border-bottom: none;
}

.arama-sonuclari-listesi .sonuc-item:hover {
  background: #f3f6fa;
  color: #0f1f58;
}

/* Mobil uyum */
@media (max-width: 800px) {
  .arama-sonuclari-listesi {
    left: 0;
    max-width: 97vw;
    margin-left: 0;
    border-radius: 0 0 12px 12px;
    width: 97vw;
    top: 64px;
  }
  .arama-sonuclari-listesi .sonuc-item {
    font-size: 1rem;
    padding: 12px 14px;
  }
}
.main-header .container {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding: 0 16px;
  position: relative;
}

/* Logo ve slogan alt alta */
.logo-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  margin-right: 24px;
}
.logo-link {
  display: block;
}
.logo-image {
  height: 52px;
  width: auto;
}
.slogan {
  font-size: 13px;
  color: #28457b;
  font-style: italic;
  font-weight: 500;
  margin-top: 2px;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

/* Menü küçültülmüş */
.navbar ul {
  display: flex;
  gap: 13px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.navbar ul li a {
  font-size: 15px;
  font-weight: 500;
  padding: 28px 22px;
  color: #181d2e;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.2s, color 0.2s;
}
.navbar ul li a:hover {
  background: #e3e9f0;
  color: #0f1f58;
}

/* Dil seçenekleri sağda */
.language-switcher {
  margin-left: auto;
  font-size: 13px;
  display: flex;
  gap: 9px;
  align-items: center;
}
.language-switcher a {
  color: #222e4a;
  text-decoration: none;
  opacity: 0.7;
  font-size: 13px;
  font-weight: 500;
  padding: 1px 4px;
  transition: opacity 0.2s, color 0.2s;
}
.language-switcher a:hover {
  opacity: 1;
  color: #2b65c5;
}

/* Responsive */
@media (max-width: 950px) {
  .main-header .container { flex-direction: column; align-items: stretch; gap: 12px; }
  .navbar ul { justify-content: flex-start; flex-wrap: wrap; }
  .logo-section { margin-bottom: 8px; }
  .language-switcher { margin-left: 0; justify-content: flex-end; }
}
/* --- Dropdown Menü Boyutlarını Küçült --- */
.dropdown-menu {
  min-width: 160px;
  padding: 0;
}

.dropdown-menu li {
  border-bottom: 1px solid #e3e6ee;
}

.dropdown-menu a {
  padding: 7px 18px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
}

/* Menüdeki ana linklerin padding'ini küçült */
.navbar ul li a {
  font-size: 15px;
  font-weight: 500;
  padding: 12px 24px;
  color: #181d2e;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.2s, color 0.2s;
}

/* Responsive için dropdown menü boyutunu da küçült */
@media (max-width: 950px) {
  .dropdown-menu a {
    padding: 10px 14px;
    font-size: 15px;
  }
}
.sonuc-listesi {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sonuc-item {
  background: #fff;
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  padding: 24px 20px;
  font-size: 1.1rem;
  color: #1a2340;
}
.sonuc-item strong {
  color: #0f1f58;
  font-size: 1.22rem;
}
.firma-box-link:hover .firma-box {
    box-shadow:0 6px 20px rgba(50,50,120,0.13);
    background:#f7fafd;
    transition:0.2s;
}
.firma-box-link { display: block; }
.firma-box-link:hover .firma-box {
    box-shadow:0 6px 20px rgba(50,50,120,0.13);
    background:#f7fafd;
    transition:0.2s;
}
.firma-box { cursor:pointer; }
