﻿/* 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 */
  }
  
/*HAKKIMIZDA TASARIM*/
.about-section {
  font-family: 'Segoe UI', sans-serif;
  color: #333;
  line-height: 1.7;
  background-color: #f9f9f9;
}

.about-hero {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  background: linear-gradient(135deg, #1a6b34, #27ae60 60%, #6fcf97);
}

.about-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(70%);
}

.overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  text-align: center;
}

.overlay-text h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.overlay-text p {
  font-size: 1.2rem;
  text-shadow: 1px 1px 6px rgba(0,0,0,0.4);
}

.container {
  max-width: 1200px;
  padding: 2rem 1rem;
  margin: 0 auto;
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: flex-start;
}

.about-text {
  flex: 1 1 100%;
}

.about-text h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #2c3e50;
  position: relative;
}

.about-text h2::after {
  content: "";
  width: 50px;
  height: 3px;
  background: #27ae60;
  position: absolute;
  bottom: -6px;
  left: 0;
  border-radius: 2px;
}

.about-text p, .about-text ul {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.about-text ul {
  list-style: none;
  padding-left: 0;
}

.about-text li {
  margin-bottom: 0.6rem;
}

.about-gallery {
  flex: 1 1 40%;
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 sütun */
  gap: 1rem;
  align-content: start;
}

.about-gallery img {
  width: 100%;
  height: 160px; /* biraz daha büyük */
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.about-gallery img:nth-child(odd) {
  transform: translateY(10px); /* zigzag etkisi */
}

.about-gallery img:hover {
  transform: scale(1.05) !important;
}


.vision-mission-section {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 1rem;
}

.vm-card {
  flex: 1 1 300px;
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  text-align: center;
}

.vm-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: #e8f5e9;
  color: #27ae60;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.vm-card h2 {
  font-size: 1.4rem;
  color: #2c3e50;
  margin-bottom: 0.6rem;
}
.vm-card h2::after { display: none; }
.vm-card p { font-size: 1rem; color: #555; margin: 0; }

.team-section {
  margin-top: 3rem;
  text-align: center;
}

.team-section h2 {
  font-size: 2.2rem;
  color: #2c3e50;
  margin-bottom: 2rem;
}

.team-grid {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.team-member {
  background-color: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  max-width: 250px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.team-member:hover {
  transform: translateY(-5px);
}

.team-member img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.team-member h3 {
  font-size: 1.2rem;
  color: #27ae60;
  margin-bottom: 0.4rem;
}

.team-member p {
  font-size: 1rem;
  color: #555;
}

/* Mobil uyumluluk */
@media (max-width: 768px) {
  .about-content {
    flex-direction: column;
  }

  .overlay-text h1 {
    font-size: 2rem;
  }

  .overlay-text p {
    font-size: 1rem;
  }

  .team-grid {
    flex-direction: column;
    align-items: center;
  }

  .team-member {
    width: 100%;
    max-width: 320px;
  }
}

@media (max-width: 600px) {
  .about-hero { height: 260px; }
  .container { padding: 1.5rem 1rem; }
  .about-text h2 { font-size: 1.6rem; }
  .about-text p, .about-text ul { font-size: 1rem; }
  .about-gallery { gap: 0.6rem; }
  .about-gallery img { height: 130px; }
  .about-gallery img:nth-child(odd) { transform: none; }
}
/* footer stilleri artık footer.css dosyasında */