﻿/* 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;
}


/* Sayfa İçeriği */
section {
  padding: 60px 20px;
  text-align: center;
}

section h1 {
  font-size: 30px;
}


/*ANASAYFA DÜZENİ*/
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Güven şeridi */
.trust-bar {
  background: #ffffff;
  border-top: 1px solid #eef3ee;
  border-bottom: 1px solid #eef3ee;
  padding: 20px;
}
.trust-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1 1 220px;
  max-width: 280px;
  padding: 8px 16px;
}
.trust-item i {
  font-size: 1.35rem;
  color: var(--accent-gold, #c9a227);
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fbf3df;
  border-radius: 50%;
}
.trust-item strong {
  display: block;
  font-size: 0.92rem;
  color: #1a3d2b;
}
.trust-item span {
  display: block;
  font-size: 0.78rem;
  color: #777;
  margin-top: 2px;
}

@media (max-width: 768px) {
  .trust-bar { padding: 16px 12px; }
  .trust-bar-inner { gap: 10px 6px; }
  .trust-item { flex: 1 1 44%; max-width: 48%; padding: 6px; }
  .trust-item i { width: 36px; height: 36px; font-size: 1.15rem; }
  .trust-item strong { font-size: 0.84rem; }
  .trust-item span { font-size: 0.7rem; }
}

.slider-container {
  position: relative;
  max-width: 1200px;
  height: 500px;
  margin: 50px auto;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 0 30px rgba(0,0,0,0.2);
  background-color: transparent; /* Arka plan beyaz parlamasın */
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 40px;
  color: white;
  z-index: 0;
  transform: translateX(100%) scale(1);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
  transition: transform 0.8s ease-in-out, opacity 0.8s ease-in-out, border-radius 0.5s ease-in-out;
}

.slide.active {
  z-index: 2;
  transform: translateX(0%) scale(1.02);
}

.slide.prev-left {
  z-index: 1;
  transform: translateX(-100%) scale(0.98);
}

.slide.prev-right {
  z-index: 1;
  transform: translateX(100%) scale(0.98);
}


.overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.15);
  z-index: 0;
}

.slide-content {
  position: relative;
  z-index: 1;
  animation: fadeUp 1s ease forwards;
  opacity: 0;
  transform: translateY(20px);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Genel stil */
.slide h2 {
  font-family: 'Cinzel', serif; /* Lüks başlık fontu */
  font-size: 3.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.5);
}
.slide p {
  font-family: 'Cormorant Garamond', serif; /* Zarif alt metin */
  font-size: 1.5rem;
  line-height: 1.6;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.4);
}
/* Slayt özel renkler */
.slide:nth-child(1) h2,
.slide:nth-child(1) p {
  color: #ffffff; /* beyaz – yeşil arka planla kontrast */
}

.slide:nth-child(2) h2,
.slide:nth-child(2) p {
  color: #ffffff; /* koyu mor – pembe arka planla uyumlu */
}

.slide:nth-child(3) h2,
.slide:nth-child(3) p {
  color: #ffffff; /* lacivertimsi – mavi arka planla kontrast */
}

.slide:nth-child(4) h2 {
  color: #c9b037; /* altın rengi başlık */
}

.slide:nth-child(4) p {
  color: #ffffff; /* açık metin */
}

.slide a {
  position: absolute;
  bottom: 40px;
  left: 10px;
  display: inline-block;
  padding: 12px 24px;
  background-color: white;
  color: black;
  text-decoration: none;
  font-weight: bold;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.slide a:hover {
  background-color: #ddd;
}

.arrow {
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(121, 120, 120, 0.5);
  color: white;
  font-size: 24px;
  padding: 12px;
  border-radius: 0;
  cursor: pointer;
  z-index: 10;
  transition: opacity 0.3s ease;
}

/* Ok tuşları slider üzerine gelindiğinde görünsün */
.slider-container:hover .arrow {
  opacity: 1;
  pointer-events: auto;
}

.arrow:hover {
  background: rgba(124, 124, 124, 0.8);
}

.arrow.left {
  left: 20px;
}

.arrow.right {
  right: 20px;
}

@media (max-width: 768px) {
  .slide h2 {
    font-size: 1.5rem;
  }

  .slide p {
    font-size: 1rem;
  }

  .slider-container {
    height: 380px;
    margin: 20px auto;
    border-radius: 12px;
  }

  .slide {
    padding: 22px;
  }

  .slide a {
    left: 22px;
    bottom: 22px;
    padding: 10px 18px;
  }
}

@media (max-width: 420px) {
  .slider-container {
    height: 320px;
  }
}

.container {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  padding: 0;
  margin: 0 auto;
}

.card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  width: 300px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s;
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* animasyonlar eklendi */
}

.card:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15); /* daha belirgin ama zarif gölge */
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid #eee;
  display: block;
  border-radius: 12px 12px 0 0; /* sadece üst köşeler yuvarlak */
  transition: transform 0.6s ease; /* animasyon için hazırlık */
}
.card:hover img {
  transform: scale(1.03);
}

.card-content {
  padding: 1rem;
}

.card-content .heading {
  color: #27ae60; /* Yeşil */
  font-size: 0.9rem;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  font-weight: bold;
}
.card-content .heading i {
  margin-right: 6px;
}

.card-content .title {
  font-size: 1.2rem;
  font-weight: bold;
}

/* Bilgi kutuları (Hakkımızda/Ürünlerimiz/Bayilerimiz) diğer .card
   kullanımlarından (Hizmetlerimiz kartları) daha küçük görünsün diye
   sadece .container içindeki kartlar için boyut küçültmesi */
.container {
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.container .card {
  width: 250px;
}
.container .card-content {
  padding: 0.8rem;
}
.container .card-content .heading {
  font-size: 0.8rem;
  margin-bottom: 0.4rem;
}
.container .card-content .title {
  font-size: 1.05rem;
}
.container .card i {
  font-size: 30px;
  margin-bottom: 10px;
}

@media (max-width: 768px) {
  .container {
    flex-direction: column;
    align-items: center;
  }
  .card {
    width: 100%;
    max-width: 320px;
  }
  .container .card {
    max-width: 280px;
  }
}

/* Hizmetler Bölümü */
.services {
  background-color: white;
  padding: 70px 20px;
  text-align: center;
  margin-top: 2.5rem;
}

.services h2 {
  font-size: 28px;
  color: #000000;
  margin-bottom: 40px;
}

@media (max-width: 600px) {
  .services { padding: 40px 16px; }
  .services h2 { font-size: 22px; margin-bottom: 26px; }
  .cards { gap: 16px; }
  .vision-mission { padding: 32px 16px; gap: 16px; }
}

.cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

.service-card {
  background-color: #f2fff5;
  border: 1px solid #dbffe3;
  border-radius: 10px;
  padding: 25px;
  width: 280px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.card i {
  font-size: 40px;
  color: #358f50;
  margin-bottom: 15px;
}

.card h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #188639;
}

.card p {
  color: #444;
}

.contact-call-box {
  display: flex;
  flex-wrap: wrap;
  background-color: #133f1bc7;
  color: white;
  padding: 0;
  border-radius: 0;
  margin: 40px auto;
  max-width: 1200px;
  position: relative;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  justify-content: center;
  gap: 20px;
}
/* Sadece bu bölüm için overlay */
.contact-call-box .background-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(17, 51, 12, 0.74); /* %40 koyuluk */
  z-index: 1;
}

/* İçeriği üstte göstermek için */
.contact-call-box .contact-image,
.contact-call-box .contact-form-area {
  position: relative;
  z-index: 2;
}
.contact-image {
  flex: 1;
  display: flex;
  align-items: flex-end; /* alta hizalar */
  justify-content: flex-start; /* sola hizalı tutar */
  padding-left: 50px; /* biraz sağa kaydırır */
}

.contact-image img {
  max-width: 70%;  /* biraz küçültüldü */
  height: auto;
  margin-bottom: 0; /* alta yapışık */
}

.contact-form-area {
  flex: 2;
  padding: 20px;
}

.contact-form-area .small-title {
  background-color: white;
  color: #0e0e0e;
  padding: 5px 12px;
  border-radius: 2px;
  font-weight: bold;
  font-size: 0.9rem;
}

.contact-form-area h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 15px 0;
  font-family: 'Playfair Display', serif;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 90%; /* Örneğin 70% ise, 90% yapabilirsin */
  margin: auto; /* Ortalamak için */
  padding: 20px;
  height: 50;
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.form-row input {
  flex: 1;
  padding: 12px;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  background-color: rgba(255, 255, 255, 1);
  color: #0e0e0e;
}

.form-row input::placeholder {
  color: #888;
}

.contact-form button {
  padding: 12px 20px;
  font-size: 1rem;
  background-color: white;
  color: #000000;
  font-weight: bold;
  border: none;
  border-radius: 2px;
  width: 150px; /* veya yüzde ile örneğin %100 */
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: #27ae60;
  color: white;
}

@media (max-width: 768px) {
  .contact-call-box {
    margin: 24px 12px;
  }
  .contact-image {
    padding-left: 0;
    justify-content: center;
    width: 100%;
  }
  .contact-image img {
    max-width: 45%;
  }
  .contact-form-area {
    flex: 1 1 100%;
    padding: 16px;
  }
  .contact-form-area h2 {
    font-size: 1.8rem;
  }
  .form-row {
    flex-direction: column;
  }
  .contact-form {
    width: 100%;
    padding: 10px;
  }
}


/* Vizyon-Misyon */
.vision-mission {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  background-color: #f6fff9;
  padding: 50px 20px;
  gap: 30px;
}

.vm-box {
  flex: 1 1 300px;
  max-width: 400px;
  padding: 20px;
  background-color: white;
  border-left: 5px solid #0f8332;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.vm-box h3 {
  color: #0f8332;
  margin-bottom: 10px;
}

.vm-box p {
  color: #333;
}
  /*sponsor bölümü*/

  .sponsors {
    padding: 20px 20px 50px;
    background-color: #f4f4f4;
    text-align: center;
    margin-top: 40px;
  }
  .sponsors h2 {
    font-size: 2.1em;
    color: #578368;
    margin-bottom: 8px;
    text-align: center;
  }
  .sponsors-subtitle {
    display: block;
    font-size: 0.95rem;
    color: #8a8a8a;
    margin-bottom: 28px;
  }

  .sponsor-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    margin-top: 0;
    margin-bottom: 10px;
    align-items: center;
    padding: 20px;
  }
  .sponsor {
    flex: 0 0 auto;
    width: 160px;
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #e9ede9;
    box-shadow: 0 4px 14px rgba(0,0,0,0.06);
    padding: 14px 20px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  }
  .sponsor:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 26px rgba(0,0,0,0.1);
    border-color: var(--accent-gold, #c9a227);
  }
  .sponsor img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: filter 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
  }
  .sponsor:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.04);
  }

@media (max-width: 768px) {
  .sponsors h2 {
    font-size: 1.6em;
  }
  .sponsors-subtitle {
    margin-bottom: 18px;
    font-size: 0.85rem;
  }
  .sponsor-logos {
    gap: 14px;
    margin-bottom: 10px;
  }
  .sponsor {
    width: 128px;
    height: 78px;
    padding: 10px 14px;
  }
}

/* footer stilleri artık footer.css dosyasında */



/* 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);
}