﻿/* Sayfa temel stilleri */
body {
  font-family: 'Segoe UI', sans-serif;
  color: #333;
  margin: 0;
  padding: 0;
  background: #f5f5f5;
}



/* Arama çubuğu tıklanabilir hale geldiğinde */
.search-wrapper.active .search-input {
  display: inline-block;
}

/* Header: Logo ve Menü hizalaması */
.header-container {
  display: flex;
  align-items: center;
  justify-content: flex-start; /* Menüyü logo ile hizalamak için */
  padding: 0.1rem;
  gap: 2.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 4px;
}

.logo img {
  height: 160px;
  margin: 0;
}

.logo-wordmark {
  display: flex;
  flex-direction: column;
  font-family: 'Cinzel Decorative', serif;
  font-weight: 700;
  line-height: 1.15;
}

.logo-wordmark-top,
.logo-wordmark-bottom {
  text-transform: uppercase;
  font-size: 25px;
  letter-spacing: 0.5px;
}

.logo-wordmark-top { color: #4E9E58; }
.logo-wordmark-bottom { color: #16301F; }


/* Menü tasarımı */
.menu {
  display: flex;
  gap: 1.5rem; /* Menü öğeleri arasındaki boşluk */
  align-items: center;
  margin-top: -20px; /* Menü kısmını yukarı almak için negatif margin kullanıyoruz */
}

.menu a {
  text-decoration: none;
  font-weight: bold;
  color: #313131;
  font-size: 16px;
}

.menu a:hover {
  color: #139607;
}

/* ======= HAMBURGER MENÜ ======= */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}
.hamburger-btn span {
  display: block;
  width: 100%;
  height: 3px;
  background: #1a3d2b;
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.hamburger-btn.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger-btn.active span:nth-child(2) { opacity: 0; }
.hamburger-btn.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 900px) {
  .header-container { flex-wrap: nowrap; gap: 0.6rem; padding: 0.6rem 1rem; }
  .logo { order: 1; }
  .logo img { height: 56px; margin-left: 0; margin-right: 0; margin-top: 0; }
  .logo-wordmark { display: none; }
  .right-tools { order: 2; margin-left: auto; margin-right: 0; margin-top: 0; gap: 0.6rem; }
  .hamburger-btn { display: flex; order: 3; flex-shrink: 0; }
  #language-code { display: none; }
  .menu {
    display: none;
    order: 4;
    flex-basis: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    margin-top: 8px;
  }
  .menu.open { display: flex; }
  .menu a { width: 100%; padding: 12px 4px; border-top: 1px solid rgba(0,0,0,0.08); }
}

/* Sağdaki araçlar: Bayrağı ve arama butonunu hizala */
.right-tools {
  display: flex;
  align-items: center;
  gap: 1rem; /* Bayrak ve arama kutusu arasındaki boşluk */
  justify-content: flex-start; /* Bayrak ve arama kutusunu sola hizala, ancak menüye çok yakın yap */
  margin-right: 15px; /* Menüye yakınlaştırmak için boşluk ekle */
  margin-top: -20px; /* Bayrak ve arama butonunu yukarı almak için negatif margin kullanıyoruz */
}

/* Arama çubuğu */
.search-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  z-index: 10;
  overflow: visible;
  margin-left: 0.5rem; /* Bayraktan biraz uzaklaşması için */
}

/* Arama butonunu hizalama */
.search-btn {
  background: none;
  border: none;
  font-size: 20px;
  color: #000;
  cursor: pointer;
  position: relative;
  z-index: 11;
  margin-left: 0.5rem; /* Arama butonunu sola kaydırmak için */
  margin-right: 0.5rem; /* Arama butonu ile kutu arasına mesafe */
}

/* Arama kutusunu sağa kaydırma ve hizalama */
.search-input {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 10px;
  transform: none;
  height: 2.5rem;
  width: 240px;
  max-width: 60vw;
  border-radius: 9999px;
  background-color: rgba(219, 255, 222, 0.767);
  color: black;
  padding-left: 2.5rem;
  padding-right: 1rem;
  border: none;
  display: none;
  font-size: 0.875rem;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  z-index: 10;
}

/* Arama kutusu açıldığında */
.search-wrapper.active .search-input {
  width: 250px; /* Daha geniş açılacak şekilde ayarlandı */
  opacity: 1;
  padding-left: 2.5rem;
  padding-right: 1rem;
}

/* Arama kutusu odaklanıldığında stil */
.search-input:focus {
  background-color: #c9ffcead;
  outline: none;
}

/* Arama butonunun hover durumunda rengi değişecek */
.search-btn:hover {
  color: #41a32db9; /* Yeni renk (örneğin yeşil) */
}

/* Dil seçenekleri */
.language-selector {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  margin-left: 0.5rem; /* Bayrağı menüye daha yakınlaştırmak için */
  padding: 5px 10px 5px 5px;
  border-radius: 20px;
  border: 1.5px solid #e3e3e3;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.language-selector:hover {
  border-color: #27ae60;
  background: #f4fdf7;
}

/* Dil seçenekleri dropdown menü */
.language-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.16);
  padding: 8px;
  gap: 6px;
  z-index: 100;
}


.language-selector img {
  width: 26px;
  height: 19px;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
  margin: 0;
  cursor: pointer;
}

.language-dropdown img {
  width: 26px;
  height: 19px;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
  margin-right: 0;
  cursor: pointer;
  transition: transform 0.15s ease;
}
.language-dropdown img:hover {
  transform: scale(1.08);
}

.language-selector span {
  font-size: 13px;
  color: #333;
  font-weight: 700;
}
  /* Header'ı sticky yapmak için */
header.sticky-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #d4d4d442;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  background: linear-gradient(to right, #c6f1d5 0%, white 30%);
}

header.sticky-header.is-sticky {
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Header'ınızın üst kısmında arka planda boşluk olmasını engellemek için */
body {
  padding-top: 0px; /* Header yüksekliğine göre ayar yapılabilir */
}
/* footer stilleri artık footer.css dosyasında */
.iletisim-container {
  max-width: 1200px;
  margin: auto;
  padding: 40px 20px;
}

.iletisim-baslik {
  font-size: 36px;
  text-align: center;
  margin-bottom: 10px;
}

.iletisim-aciklama {
  text-align: center;
  color: #666;
  margin-bottom: 40px;
}

.bilgi-kutulari {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 50px;
}

.bilgi-kutu {
  background: #fff;
  flex: 1;
  min-width: 250px;
  text-align: center;
  padding: 30px 20px;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(124, 36, 36, 0.08);
  text-decoration: none;
  color: inherit;
  transition: 0.3s;
}

.bilgi-kutu i {
  font-size: 36px;
  color: #008031;
  margin-bottom: 10px;
  transition: 0.3s;
}

.bilgi-kutu span {
  display: block;
  font-weight: bold;
  margin-bottom: 8px;
  font-size: 18px;
}

.bilgi-kutu p {
  color: #666;
  font-size: 15px;
}

.bilgi-kutu:hover {
  background: #45836ab0;
  color: #fff;
  transform: translateY(-4px);
}

.bilgi-kutu:hover i {
  color: #fff;
}

.contact-form-section {
  background-color: #f9f9f9;
  padding: 60px 20px;
  display: flex;
  justify-content: center;
}

.form-container {
  max-width: 600px;
  width: 100%;
  background: white;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.form-container h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 26px;
  color: #333;
}

.modern-form .form-group {
  position: relative;
  margin-bottom: 25px;
}

.modern-form .form-group i {
  position: absolute;
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
  color: #aaa;
  font-size: 18px;
}

.modern-form input,
.modern-form textarea {
  width: 100%;
  padding: 14px 14px 14px 50px; /* Sol padding artırıldı */
  border: 1px solid #ccc;
  border-radius: 10px;
  outline: none;
  transition: 0.3s;
  font-size: 15px;
  box-sizing: border-box;
  resize: none;
}


.modern-form input:focus,
.modern-form textarea:focus {
  border-color: #50a557;
  box-shadow: 0 0 5px rgba(0, 255, 13, 0.3);
}

.modern-form label {
  position: absolute;
  left: 45px;
  top: 14px;
  color: #888;
  font-size: 15px;
  pointer-events: none;
  transition: 0.2s ease;
}

.modern-form input:focus + label,
.modern-form input:valid + label,
.modern-form textarea:focus + label,
.modern-form textarea:valid + label {
  top: -10px;
  left: 40px;
  background: white;
  padding: 0 5px;
  font-size: 13px;
  color: #046e3d;
}

.send-button {
  width: 100%;
  padding: 14px;
  background: #069968cb;
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s ease;
}

.send-button:hover {
  background: #04ad7a;
}
.modern-form input:hover,
.modern-form textarea:hover,
.modern-form input:focus,
.modern-form textarea:focus {
  border-color: #25b485; /* mavi kenarlık */
  box-shadow: 0 0 8px rgba(0, 255, 34, 0.2); /* hafif mavi gölge */
  background-color: #f9f9ff; /* hafif arka plan değişimi */
  transition: all 0.3s ease;
}


.harita-alani iframe {
  border-radius: 12px;
}

@media (max-width: 600px) {
  .iletisim-container { padding: 28px 16px; }
  .iletisim-baslik { font-size: 26px; }
  .iletisim-aciklama { margin-bottom: 28px; font-size: 14px; }
  .bilgi-kutulari { margin-bottom: 30px; }
  .bilgi-kutu { min-width: 100%; padding: 22px 16px; }
  .contact-form-section { padding: 32px 14px; }
  .form-container { padding: 24px 18px; border-radius: 16px; }
  .form-container h2 { font-size: 21px; margin-bottom: 22px; }
  .modern-form input, .modern-form textarea { padding: 13px 13px 13px 46px; }
}