@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap");

html,
body {
  font-family: "Roboto", sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background-color: #f4f4f4;
  color: #333;
  overflow-x: hidden;
}

.container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.text-container {
  max-width: 1200px;
  margin: auto;
  background: #fff;
  padding: 45px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  margin-top: 20px;
  margin-bottom: 20px;
}

h1,
h2 {
  text-align: center;
  color: #2e7d32;
  display: block;
}

p,
ul {
  display: block;
  margin-bottom: 15px;
  line-height: 1.5;
}

ul {
  list-style-type: square;
  padding-left: 20px;
}

.header {
  background-color: #2e7d32;
  color: #fff;
  padding: 0;
  position: fixed;
  top: 0;
  width: 100%;
  height: 60px;
  z-index: 1000;
  animation: backgroundAnimation 5s infinite alternate;
  line-height: 71px;
}

@keyframes backgroundAnimation {
  0% {
    background-color: #4da351; /* Başlangıç rengi */
  }
  50% {
    background-color: #32c239; /* Orta rengi */
  }
  100% {
    background-color: #037409; /* Bitiş rengi */
  }
}

.logo {
  margin: 0;
  padding: 0;
  font-size: 24px;
  font-weight: bolder;
  color: white;
  line-height: 60px;
  display: flex;
  align-items: center;
  height: 60px;
}

/* Hamburger Menüsü Stilleri */
.hamburger {
  position: fixed;
  right: 20px;
  top: 0;
  height: 60px;
  display: flex;
  align-items: center;
  font-size: 30px;
  color: white;
  cursor: pointer;
  z-index: 2001;
}

/* Menü Öğeleri */
.nav ul {
  list-style: none;
  padding: 0;
  display: none;
  flex-direction: column;
  width: 100%;
  margin-top: 20px;
  background-color: #333;
  position: absolute;
  top: 40px;
  left: 0;
  z-index: 10;
  max-height: none;
  overflow-y: visible;
  transition: opacity 1.5s ease-out, transform 1.5s ease-out;
}

/* Menü açıldığında görünür */
.nav.open ul {
  display: flex;
  background-color: #2e7d32;
  opacity: 1;
}

/* Menü kapanırken animasyon */
.nav.closing ul {
  opacity: 0;
  transition: opacity 1.5s ease-out, transform 1.5s ease-out;
}

.nav li {
  text-align: center;
  padding: 30px 10px;
}

/* Menüler için metin stili */
.nav a {
  color: white;
  text-decoration: none;
  font-size: 1.2rem;
  position: relative;
}
/* Menü öğeleri üzerinde hover efekti */
.nav a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  text-decoration: none;
  transition: width 0.4s ease-in-out;
}

.hero { 
  color: #fff;
  text-align: center;
  padding: 100px 0;
  position: sticky;
  overflow: hidden;
}
.hero-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; 
  z-index: -1; 
}

.hero-content {
  max-width: 50%;
  margin: 0 auto;
  margin-left: 5px;
  font-size: large;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}

#home .hero-content h2 {
  display: block;
  max-width: 220px;
  margin: 0;
  text-align: left;
  margin-left: 5px;
  font-size: 36px;
  line-height: 1.2;
  word-break: normal;
  white-space: normal;
}

#home .hero-content p {
  color: azure;
  margin-left: 5px;
  margin-right: 0;
  max-width: 220px; 
  text-align: left;
  font-size: 24px;
  line-height: 1.3;
  word-break: normal;
  white-space: normal;
}

#home .hero-content .btn {
  margin-left: 5px;
  margin-right: 0;
  width: fit-content;
  display: block;
}
/* section two- text-container start */
.intro {
  background-color: #e6f4ea;
  padding: 20px;
  border-radius: 10px;
}

.intro-p {
  text-align: center;
  line-height: 1.8;
  font-size: 18px;
}

.neden {
  background-color: #d0ebdc;
  padding: 20px;
  margin-top: 20px;
  border-radius: 10px;
}

.neden-list {
  list-style-type: none;
  text-align: center;
  font-size: 17px;
}

.neden-list li {
  margin-bottom: 12px;
}
.neden-list li strong {
  font-weight: normal;
}

.neden h1 {
  font-size: 26px; /* Varsayılanın üstüne net hiyerarşi */
  margin-bottom: 10px;
  font-weight: bold;
}

.katkilar {
  background-color: #b9e2cc;
  padding: 20px;
  margin-top: 20px;
  border-radius: 10px;
}

.katkilar-list {
  list-style-type: none;
  text-align: center;
  font-size: 17px;
}

.katkilar-list li {
  margin-bottom: 12px;
}
.katkilar-list li strong {
  font-weight: normal;
}
.katkilar h1 {
  font-size: 26px;
  margin-bottom: 10px;
}

.son-mesaj {
  background-color: #a3d8bb;
  text-align: center;
  padding: 20px;
  margin-top: 20px;
  font-size: 24px;
  border-radius: 10px;
}

/* section two- text-container end */

/* section three- featured-products start */
.featured-products {
  padding: 50px 20px;
  background-color: #e6f2e6;
  text-align: center;
}

.featured-products h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: #2e7d32;
}

.product-cards {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.product-card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  max-width: 250px;
  padding: 20px;
  transition: transform 0.3s ease;
}

.product-card:hover {
  transform: translateY(-10px);
}

.product-card img {
  max-width: 100%;
  border-radius: 8px;
  margin-bottom: 15px;
}

.product-card h3 {
  color: #388e3c;
  margin-bottom: 10px;
  font-size: 26px;
}

.product-card p {
  font-size: 18px;
  color: #555;
}

#btn-tum-urunler {
  background: linear-gradient(45deg, #ffffff, #66bb6a);
  color: #2e7d32;
  padding: 10px 20px;
  font-size: 20px;
  border: none;
  text-decoration: none;
  border-radius: 8px;
  display: inline-block;
  transition: background 0.4s ease-in-out, color 0.4s ease-in-out;
}

#btn-tum-urunler:hover {
  background: linear-gradient(
    45deg,
    #66bb6a,
    #ffffff
  ); /* Aynı renklerin sırasını değiştiriyoruz */
  color: #ffffff;
}

/* section three- featured-products end */

/* testimonials start */
.testimonials {
  text-align: center;
  line-height: 1.6;
  max-width: 700px;
  margin: 40px auto;
  padding: 0 20px;
}

.testimonials h2 {
  font-size: 30px;
  margin-bottom: 40px;
  color: #2e7d32;
}

.testimonial {
  max-width: 600px;
  margin: 0 auto 30px auto;
  font-style: italic;
  color: #555;
  border-left: 5px solid #388e3c;
  border-right: 5px solid #388e3c;
  background-color: white;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  transition: box-shadow 0.3s ease;
}

.testimonial:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.testimonial h3 {
  margin-top: 15px;
  font-weight: 700;
  color: #2e7d32;
  font-size: 18px;
}

.testimonial p {
  font-size: 18px;
  padding-top: 10px;
}
/* testimonials end */

/* button start */
.btn {
  background: linear-gradient(
    45deg,
    #ffffff,
    #66bb6a
  ); /* Beyazdan yeşile doğru geçiş */
  color: #2e7d32; /* Yazı rengi */
  padding: 12px 25px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  display: inline-block; /* Buton gibi davranmasını sağlar */
  margin-top: 20px;
  font-size: 18px; /* Yazı boyutu */
  font-weight: bold; /* Yazıyı kalın yapar */
  border-radius: 5px; /* Köşe yuvarlama */
  transition: background 0.3s ease, color 0.3s ease; /* Renk ve arka plan geçişi */
}

button:hover {
  background: linear-gradient(45deg, #66bb6a, #ffffff);
  color: #ffffff; /* Yazı rengini de hover durumunda değiştirebilirsiniz */
}

@keyframes gradientAnimation {
  0% {
    background: linear-gradient(45deg, #ffffff, #66bb6a);
  }
  50% {
    background: linear-gradient(45deg, #66bb6a, #ffffff);
  }
  100% {
    background: linear-gradient(45deg, #ffffff, #66bb6a);
  }
}

.special-btn {
  background: linear-gradient(45deg, #ffffff, #66bb6a); /* Başlangıç rengi */
  animation: gradientAnimation 5s ease-in-out infinite; /* Yumuşak geçiş animasyonu */
  color: #2e7d32; /* Yazı rengini sabit tutalım */
}

.special-btn:hover {
  background: linear-gradient(45deg, #66bb6a, #ffffff);
}
#cart-count {
  font-weight: bold;
  background: #81c784;
  color: white;
  padding: 2px 6px;
  border-radius: 50%;
  font-size: 14px;
}
/* Sepet başlangıçta gizli olmalı */
.cart-items-container {
  position: fixed;
  top: 60px;
  right: 0;
  width: 370px;
  max-width: 95vw;
  background-color: #fff;
  border: 2px solid #2e7d32;
  padding: 28px 20px 24px 20px;
  box-shadow: -8px 0 32px rgba(46, 125, 50, 0.18);
  height: 50vh;
  max-height: 60vh;
  overflow-y: auto;
  z-index: 2000;
  transform: translateX(100%);
  transition: transform 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 1s ease-in-out, visibility 1s ease-in-out;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  will-change: transform, opacity, visibility;
}

.cart-items-container.active {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: transform 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 1s ease-in-out, visibility 1s ease-in-out;
}

/* Sepet kapanma animasyonu */
.cart-items-container.closing {
  transform: translateX(100%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 1s ease-in-out, visibility 1s ease-in-out;
}

.cart-items-container .close-cart-btn {
  position: absolute;
  left: -36px;
  top: 24px;
  width: 32px;
  height: 32px;
  background: #2e7d32;
  color: #fff;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(46, 125, 50, 0.15);
  z-index: 2100;
  transition: background 0.2s;
}

.cart-items-container .close-cart-btn:hover {
  background: #388e3c;
}

/* toplam tutarın stilleri*/
.total-price {
  font-size: 20px;
  font-weight: bold;
  color: #2e7d32;
  margin-top: 40px;
  text-align: center;
}
/* Sepet ve Favori butonlarındaki çizgiyi kaldırma */
#cart-btn,
#favorite-btn {
  text-decoration: none; /* Sepet ve Favori butonlarında çizgi yok */
}

#cart-btn:hover::after,
#favorite-btn:hover::after {
  content: none; /* Sepet ve Favori butonlarında hover sırasında çizgi yok */
}

.cart-item img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 8px;
  margin-right: 10px;
}

.cart-item p {
  flex-grow: 1;
  font-size: 16px; /* Ürün adının yazı boyutu */
  font-weight: bold; /* Ürün adını kalın yapmak */
  position: relative;
  display: block;
  color: #333;
  margin-top: 10px;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  padding: 20px 12px;
  background-color: #f9f9f9;
  border-radius: 8px;
  border: 1px solid #ddd;
}
.cart-item-price {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 1px;
}
.cart-item-name {
  font-weight: bold;
  font-size: 16px;
  color: #222;
}
.cart-item-amount {
  font-size: 15px;
  color: #222;
  margin-bottom: 4px;
  display: inline-block;
}
.increase-btn {
  background-color: #76e67a; /* Yeşil arka plan */
  color: black; /* Beyaz yazı */
  padding: 5px 10px; /* Butonun iç boşlukları */
  border-radius: 5px; /* Kenarları yuvarlak yapmak */
  border: none; /* Kenar çizgisi kaldırmak */
  position: relative;
  top: -35px;
  left: 70px;
}
.decrease-btn {
  background-color: #76e67a; /* Kırmızı arka plan */
  color: black; /* Beyaz yazı */
  padding: 5px 10px; /* Butonun iç boşlukları */
  border-radius: 5px; /* Kenarları yuvarlak yapmak */
  border: none; /* Kenar çizgisi kaldırmak */
  position: relative;
  top: 35px;
  left: 45px;
}
.remove-btn {
  background-color: #76e67a; /* Turuncu arka plan */
  color: black; /* Beyaz yazı */
  padding: 8px 16px; /* Butonun iç boşlukları */
  border-radius: 5px; /* Kenarları yuvarlatmak */
  border: none; /* Kenar çizgisi kaldırmak */
  cursor: pointer; /* İmleci göster */
}

.remove-btn:hover {
  background-color: #ff6347; /* Hoverda renk değişimi */
}
.heart-icon {
  color: gray; /* Pasif durum */
}
.heart-icon.active {
  color: red; /* Aktif durum */
}
/* Favori Ürünler Kutusu */
.favorite-container {
  width: 375px;
  right: 0;
  left: auto;
  top: 60px;
  padding: 12px 4vw 16px 4vw;
  height: 51.5vh;
  max-height: 60vh;
  position: fixed;
  background-color: #fff;
  border: 2px solid #2e7d32;
  box-shadow: -8px 0 32px rgba(46, 125, 50, 0.18);
  overflow-y: auto;
  z-index: 2000;
  transform: translateX(100%);
  transition: transform 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 1s ease-in-out, visibility 1s ease-in-out;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  will-change: transform, opacity, visibility;
}

.favorite-container.active {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: transform 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 1s ease-in-out, visibility 1s ease-in-out;
}

/* Favoriler kapanma animasyonu */
.favorite-container.closing {
  transform: translateX(100%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 1s ease-in-out, visibility 1s ease-in-out;
}

.favorite-container h2 {
  font-size: 18px;
  margin-bottom: 10px;
}
.favorite-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f7f7f7;
  padding: 8px;
  border-radius: 8px;
  margin-bottom: 8px;
  height: 90px;
}

.favorite-btn i.favorited {
  font-size: 24px;
  color: red;
  cursor: pointer;
}

.favorite-btn span {
  margin-left: 5px;
  font-size: 14px;
}
.favorite-item img {
  width: 50px;
  height: 50px;
  border-radius: 5px;
  margin-right: 10px;
}

.favorite-item span {
  flex-grow: 1;
  font-size: 14px;
  color: #333;
}

.favorite-container .close-fav-btn {
  position: absolute;
  left: -28px;
  top: 12px;
  width: 28px;
  height: 28px;
  font-size: 18px;
  background: #2e7d32;
  color: #fff;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(46, 125, 50, 0.15);
  z-index: 2100;
  transition: background 0.2s;
}
.favorite-container .close-fav-btn:hover {
  background: #388e3c;
}

.remove-favorite {
  background: #ff3d00;
  color: white;
  border: none;
  padding: 5px 10px;
  border-radius: 5px;
  cursor: pointer;
}

.remove-favorite:hover {
  background: #d32f2f;
}

/* Favorilere Ekle Butonu (Favori Kutusundaki) */
.favorite-btn {
  border: none;
  display: inline-flex;
  align-items: center;
  padding: 5px; /* Butonun içine boşluk ekler */
  cursor: pointer; /* Tıklanabilir hale getirir */
  border-radius: 5px; /* Butonun köşelerini yuvarlat */
  transition: all 0.3s ease; /* Geçiş efekti ekler */
  margin-top: -8px;
  font-size: 20px;
  color: white;
}

.favorite-btn:hover {
  background-color: #81c784; /* Arka plan rengini değiştirir */
  transform: scale(1.1); /*Butonu büyütür */
}

/* Ürün Listesi */
.products {
  padding: 50px 0;
  text-align: center;
}

.products h2 {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 30px;
  color: #2e7d32;
  margin-top: 50px;
}

.product-grid {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.product-item {
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  width: 250px;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 400px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.product-item img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.product-item h3,
.product-item p,
.product-item button {
  margin: 0;
  padding: 10px 0;
  z-index: 1;
  background-color: #f9f9f9;
}
.product-item h3 {
  font-size: 22px;
}
.product-item p {
  font-size: 18px;
  font-weight: bold;
}
/* Butonlar */
.button-container {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  margin-top: auto;
}

/* Ürün Kartındaki Favorilere Ekle Butonu */
.product-item .favorite-btn {
  flex: 1;
  padding: 15px 20px;
  border-radius: 5px;
  text-align: center;
  cursor: pointer;
  font-size: 14px;
  background-color: #2e7d32;
  color: white;
  border: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.product-item .favorite-btn:hover {
  background-color: #1b5e20;
  transform: scale(1.05);
}

/* Sepete Ekle Butonu */
.product-item .btn {
  flex: 1;
  margin-bottom: 10px;
  padding: 15px 20px;
  border-radius: 5px;
  text-align: center;
  cursor: pointer;
  font-size: 16px;
  background-color: #2e7d32;
  color: white;
  border: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.product-item .btn:hover {
  background-color: #1b5e20;
  transform: scale(1.05);
}

.product-item:hover {
  transform: translateY(-5px);
}

/* Favorilere ekle butonu içeriği */
.favorite-button {
  display: flex;
  align-items: center;
  padding: 10px 15px;
  font-size: 16px;

  color: transparent;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.favorite-button i {
  color: red;
  font-size: 20px;
  margin-right: 5px;
}

.favorite-button:hover i {
  transform: scale(1.2);
  background-color: #4caf50;
}

/* Sepet ve Favori ikonları */
.cart-container a i {
  color: white;
  margin-left: 20px;
  font-size: 20px;
}

.favorite-btn i {
  margin-right: 8px;
  color: white;
  transition: color 0.3s ease; /* Renk geçişi */
  font-size: 22px;
  cursor: pointer;
  color: green;
  margin-left: 100px;
}

.btn i {
  margin-right: 8px;
}

#heart-icon:hover {
  color: #f50057;
}
/* Favori Butonu (Menüde) */
.menu-favorite-btn {
  position: relative; /* Konumlandırma için */
  display: inline-flex; /* İkon ve sayı yatayda hizalanacak */
  align-items: center; /* İçeriği ortalamak için */
  justify-content: center; /* İçeriği ortalamak için */
  padding: 10px 15px; /* Dikey ve yatay boşlukları ayarladık */
  border: 2px; /* Çerçeve rengi */
  cursor: pointer;
  transition: background-color 0.3s ease, box-shadow 0.3s ease; /* Hover efekti için geçiş */
  border-radius: 5px; /* Düz köşe yuvarlama */
}

/* Kalp İkonu */
#heart-icon {
  font-size: 26px; /* İkon boyutu */
  color: red; /* Başlangıçta kalp ikonu rengi */
  transition: color 0.3s ease; /* Renk değişimi için geçiş */
  cursor: pointer;
  margin-inline: auto;
}

/* Favori Sayısı (Menüde) */
#favorite-count {
  position: absolute;
  top: 20px; /* Sayıyı yukarı kaydır */
  right: -14px; /* Sayıyı sağa kaydır */
  background-color: red; /* Sayı için arka plan rengi */
  color: white; /* Yazı rengi */
  font-size: 14px; /* Sayının yazı boyutu */
  font-weight: bold; /* Yazı kalınlığı */
  padding: 3px 7px; /* Yuvarlak için padding */
  border-radius: 50%; /* Tam yuvarlak şekil */
  min-width: 18px; /* Minimum genişlik */
  height: 18px; /* Yükseklik ile aynı olmalı */
  text-align: center; /* Sayıyı ortalamak için */
  line-height: 18px; /* Sayıyı dikey olarak ortalamak için */
}

/* Favori Butonu Focus Durumu (Klavye ile erişim) */
.menu-favorite-btn:focus {
  outline: none; /* Focus sınırlarını kaldır */
  box-shadow: 0 0 0 2px rgba(0, 132, 143, 0.5); /* Focus sırasında hafif bir ışık efekti */
}

/* product end */

/* about start */

.about {
  background-color: #e6f2e6;
  padding: 60px 20px;
  text-align: center;
}

.about-container {
  max-width: 800px;
  margin: 0 auto;
}

.about h2 {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: #2e7d32;
  margin-top: 50px;
}

.about p {
  font-size: 18px;
  color: #333;
  line-height: 1.6;
  margin-bottom: 30px;
}

.about-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.about-icons div {
  background-color: #fff;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  width: 200px;
}

.about-icons div i {
  font-size: 30px;
  color: #2e7d32;
  margin-bottom: 10px;
}

.about-icons p {
  font-size: 16px;
  font-weight: bold;
  color: #2e7d32;
}
/* about end */

/* contact start*/

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px; /* İçeriğe boşluk ekler */
  background-color: #fff; /* Beyaz arka plan */
  border-radius: 10px; /* Kenarları yuvarlatır */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Hafif gölge efekti */
}

.contact-form input,
.contact-form textarea,
.contact-form button {
  padding: 10px;
  border: 1px solid #ccc; /* Hafif sınır çizgisi */
  border-radius: 5px; /* Kenarları yuvarlatır */
  font-size: 16px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #66bb6a; /* Odaklanıldığında yeşil sınır */
  outline: none; /* Varsayılan kenarlık dışını kaldırır */
}

.contact h2 {
  font-size: 36px; /* Yazı boyutunu büyütür */
  font-weight: bold; /* Yazıyı kalın yapar */
  text-align: center; /* Ortalar */
  margin-bottom: 20px; /* Altına boşluk ekler */
  color: #2e7d32; /* Yeşil renk verir */
  margin-top: 100px;
}

.contact-info {
  margin-top: 30px;
  text-align: center;
}

.contact-info h3 {
  font-size: 1.5rem;
  color: #2e7d32; /* Yeşil renk */
  margin-bottom: 10px;
}

.contact-info p {
  font-size: 1.1rem;
  color: #333; /* Siyah metin rengi */
}

.contact-info a {
  color: #2e7d32; /* Yeşil renkli linkler */
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline; /* Link üzerine gelindiğinde alt çizgi ekler */
}
/* contact end */

/* footer start */
.footer {
  background: linear-gradient(
    to right,
    #66bb6a,
    #2e7d32,
    #66bb6a
  ); /* Koyu yeşilden açık yeşile doğru geçiş */
  color: #fff; /* Beyaz metin rengi */
  text-align: center; /* Metni ortalar */
  padding: 5px 0; /* Üst ve alt boşluklar */
  font-size: 14px; /* Yazı boyutunu küçültür */
  font-weight: normal; /* Yazıyı normal kalınlıkta yapar */
}

.footer p {
  margin: 5px 0; /* Her paragraf arasında boşluk bırakır */
}

.footer a {
  color: #fff; /* Bağlantı rengini beyaz yapar */
  text-decoration: none; /* Alt çizgiyi kaldırır */
}

.footer a:hover {
  text-decoration: underline; /* Hover durumunda altını çizer */
}
.footer-item {
  display: block;
  line-height: 1.6;
}

/* footer end */

/* Scrollbar stilini tüm sayfa için uygula */
::-webkit-scrollbar {
  width: 20px;
  background: #e6f2e6;
  border-radius: 8px;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #66bb6a, #2e7d32);
  border-radius: 8px;
  border: 3px solid #e6f2e6;
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #388e3c, #81c784);
}
#scrollToTopBtn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  background: transparent;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 0;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  display: none;
  transition: opacity 0.3s;
  width: 48px;
  height: 48px;
  overflow: visible;
}

.scroll-feather {
  font-size: 1.7rem;
  color: #2e7d32;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  pointer-events: none;
  transition: color 0.2s, filter 0.2s;
}

.scroll-progress-bg {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  background: #fff;
  z-index: 1;
  transition: background 0.2s;
}

.scroll-progress-border {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 3;
}

.scroll-progress-border svg {
  width: 100%;
  height: 100%;
  display: block;
  transform: rotate(-90deg);
}

.scroll-progress-border circle {
  fill: none;
  stroke: #66bb6a;
  stroke-width: 4;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.2s;
}

.scroll-progress-border .bg {
  stroke: #e0e0e0;
}

.scroll-rotate-ring {
  position: absolute;
  left: 6px;
  top: 6px;
  right: 6px;
  bottom: 6px;
  border-radius: 50%;
  border: 2px dashed #b2dfdb;
  z-index: 0;
  pointer-events: none;
}

/* Firefox için */
html {
  scrollbar-width: thin;
  scrollbar-color: #2e7d32 #e6f2e6;
}

/* Scrollbar içine yazı eklenemez. Ancak, istersen scroll bar'ın yanına sabit bir yazı ekleyebilirsin. */

/* urun-detaylari start */
.bambu-detay-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  /* margin: 40px auto; */
  max-width: 500px;
  /* background: #fff; */
  padding: 40px 30px;
  border-radius: 16px;
  /* box-shadow: 0 4px 16px rgba(46, 125, 50, 0.08); */
}

/* bambu start */
.bambu-detay-img {
  width: 360px;
  height: 360px;
  object-fit: contain;
  margin-bottom: 24px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(46, 125, 50, 0.1);
}
.bambu-detay-stars {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  color: #ffb300;
  margin-top: 35px;
}

.customer-reviews {
  font-size: 18px;
  color: #666;
  margin-top: 20px;
}

.bambu-detay-aciklama {
  font-size: 20px;
  color: #2e7d32;
  font-weight: 500;
  text-align: center;
}
.bambu-detay-aciklama ul {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
  white-space: nowrap;
  overflow-x: auto;
  padding-bottom: 4px;
}
.bambu-detay-aciklama li {
  margin-bottom: 20px;
  white-space: normal;
  text-align: center;
}
h3 {
  font-size: 28px;
}

/* urun-detaylari end */
/* --- KULLANICININ İSTEDİĞİ KART TASARIMI BAŞLANGIÇ --- */
.urun-detay-body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: #eaf4ec; /* Açık yeşil */
}

.card {
  position: relative;
  width: 175px;
  height: 350px;
  background: #fff;
  transform-style: preserve-3d;
  transform: perspective(2000px);
  transition: 1s;
  border-radius: 20px;
  box-shadow: 0 20px 20px rgba(0, 0, 0, 0.1);
}

.card:hover {
  transform: perspective(2000px) translateX(50%);
}

.card .cover {
  position: relative;
  width: 100%;
  height: 100%;
  background: #fff;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  transform-style: preserve-3d;
  overflow: hidden;
  transition: 1s ease-in-out;
  transform-origin: left;
  border-radius: 20px;
}

.card:hover .cover {
  transform: rotateY(-180deg);
}

.card .cover img {
  height: 50%;
  max-width: 85%;
  border-radius: 10px;
  z-index: 1;
}

.card .cover::before {
  content: "";
  position: absolute;
  width: 10px;
  height: 150%;
  background: #fff;
  transform: rotate(36.5deg);
  box-shadow: 0 0 0 20px #4e944f; /* Doğal yeşil */
  transition: 0.5s;
  transition-delay: 1s;
  opacity: 0;
}

.card:hover .cover::before {
  width: 0;
  box-shadow: 0 0 0 250px #4e944f;
  transform: rotate(143.5deg);
  opacity: 1;
}

.card .details {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-sizing: border-box; /* EKLENDİ */
  display: flex;
  flex-direction: column;
  justify-content: center; /* tam ortala */
  align-items: center; /* tam ortala */
  padding: 20px;
  border-radius: 20px;
  overflow: hidden;
  text-align: center;
  z-index: 1;
}

.card .details > div {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card .details h3 {
  font-weight: 500;
  margin: 10px 0;
  font-size: 1.2rem;
  color: #333;
  width: 100%; /* Genişliği belirle */
  text-align: center; /* Yazıyı ortala */
}

.card .details h2 {
  font-size: 1.5em;
  color: #6a994e;
  font-weight: 600;
}

.card .details a {
  display: inline-block;
  padding: 12px 28px;
  background: #4e944f;
  color: #fff;
  text-decoration: none;
  border-radius: 30px;
  margin-top: 10px;
  font-weight: 500;
  transition: background 0.3s ease;
}

.card .details img {
  width: 150px;
  /* margin-bottom: 10px; */
  border-radius: 10px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.card .details a:hover {
  background: #3b7d3d;
}

.card .hover-content {
  display: none;
  /* ...diğer stiller... */
}

.card:hover .hover-content {
  display: flex;
}

/* --- KULLANICININ İSTEDİĞİ KART TASARIMI BİTİŞ --- */

.bambu-detay-container .favorite-btn {
  flex: 1;
  padding: 12px 25px;
  border-radius: 5px;
  text-align: center;
  cursor: pointer;
  font-size: 18px;
  background: linear-gradient(45deg, #ffffff, #66bb6a);
  color: #2e7d32;
  border: none;
  font-weight: bold;
  margin-top: 20px;
  margin-left: 0;
  margin-right: 0;
  display: inline-block;
  transition: background 0.3s ease, color 0.3s ease;
}
.bambu-detay-container .favorite-btn:hover {
  background: linear-gradient(45deg, #66bb6a, #ffffff);
  color: #ffffff;
}
.bambu-detay-container .btn,
.bambu-detay-container .favorite-btn {
  /* width: 180px; */
  min-width: 0;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  font-size: 18px;
  font-weight: bold;
  text-align: left;
}
.bambu-detay-container .btn i,
.bambu-detay-container .favorite-btn i {
  margin: 0 10px 0 0;
  font-size: 20px;
  color: inherit;
}
.bambu-detay-container .btn {
  color: #2e7d32;
  background: linear-gradient(45deg, #ffffff, #66bb6a);
}
.bambu-detay-container .favorite-btn {
  color: #2e7d32;
  background: linear-gradient(45deg, #ffffff, #66bb6a);
}
.bambu-detay-container .btn:hover,
.bambu-detay-container .favorite-btn:hover {
  background: linear-gradient(45deg, #66bb6a, #ffffff);
  color: #ffffff;
}

.back-btn {
  display: inline-block;
  margin: 20px 0 30px;
  padding: 10px 20px;
  background-color: #2e7d32;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.back-btn:hover {
  background-color: #66bb6a;
}
.yorum-stars {
  color: #ffb300; /* Sarı renk */
  font-size: 1.2em;
  margin-left: 6px;
  vertical-align: middle;
}
/* search ikonu */
.product-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.image-wrapper img {
  width: 100%;
  display: block;
  border-radius: 8px;
}

.search-icon {
  position: absolute;
  bottom: 24px;
  right: 8px;
  color: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  padding: 8px;
  background-color: #70cc75;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.image-wrapper:hover .search-icon {
  opacity: 1;
  transform: scale(1);
}
.urun-detay-pointer {
  position: absolute;
  bottom: 16px;
  right: 8px;
  color: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  padding: 8px;
  background-color: #70cc75;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  font-size: 24px;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.urun-detay-pointer:hover {
  transform: scale(1.2);
}
.cover:hover .urun-detay-pointer {
  opacity: 0;
  pointer-events: none;
}
.cover img:nth-child(2) {
  display: none;
}

.card:hover .cover img:nth-child(1) {
  display: none;
}

.card:hover .cover img:nth-child(2) {
  display: block;
}

/* Tablet ve üzeri hamburger gizli, nav görünsün */
@media (min-width: 768px) and (max-width: 1024px) {
  .hamburger {
    display: none;
  }
  .nav ul {
    display: flex;
    flex-direction: row;
    position: static;
    background-color: transparent;
    margin-top: 0;
    width: 100%;
    padding: 0;
    height: 60px;
    align-items: center;
  }

  .nav.open ul {
    display: flex;
    background-color: transparent;
  }
  .nav {
    height: 60px;
    align-items: center;
  }

  .nav li {
    height: auto;
    line-height: 60px;
  }
  .container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    height: 60px;
    gap: 0;
  }

  .logo {
    display: flex;
    align-items: center;
    height: 60px;
    margin: 0;
    padding: 0;
    flex-shrink: 0;
    white-space: normal;
    word-break: break-word;
    max-width: 125px;
    line-height: 1.1;
  }

  .hero-content {
    margin-left: 15px;
  }

  #home .hero-content h2 {
    max-width: 65%;
    font-size: 44px;
  }

  #home .hero-content p {
    max-width: 59%;
    font-size: 25px;
  }

  #home .hero-content .btn {
    margin-left: 5px;
    margin-right: 0;
    width: fit-content;
    text-align: left;
    display: block;
    font-size: 22px;
  }
  .intro h1 {
    font-size: 32px;
  }
  .intro p {
    font-size: 22px;
  }
  .neden h1 {
    font-size: 32px;
  }
  .neden-list {
    font-size: 22px;
  }
  .katkilar h1 {
    font-size: 32px;
  }
  .katkilar-list {
    font-size: 22px;
  }
  .son-mesaj {
    font-size: 24px;
  }
  #btn-tum-urunler {
    font-size: 24px;
  }
  .testimonials h2 {
    font-size: 34px;
  }
  .testimonial p {
    font-size: 21px;
  }
  .testimonial h3 {
    font-size: 21px;
  }
  .footer {
    font-size: 20px;
  }
  .footer p {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 0;
    margin: 0;
  }
  .footer-item {
    box-sizing: border-box;
    text-align: center;
    margin-bottom: 0;
  }
  .footer-item:last-child {
    width: 100%;
    margin-top: 0;
  }
  #scrollToTopBtn {
    width: 64px;
    height: 64px;
    right: 20px;
    bottom: 5px;
  }
  .scroll-feather {
    font-size: 2.4rem;
  }
  .card {
    width: 250px;
    height: 400px;
  }
  .card .details img {
    width: 200px;
    margin-bottom: 10px;
  }
  .card .cover img {
    height: 60%;
  }
  .bambu-detay-container .btn,
  .bambu-detay-container .favorite-btn {
    font-size: 22px;
  }
  .bambu-detay-stars {
    font-size: 22px;
  }
  .customer-reviews {
    font-size: 22px;
  }
  .bambu-detay-aciklama ul {
    font-size: 21px;
  }
  .about-icons div i {
    margin-top: 20px;
  }
}
/* desktop stilleri */
@media (min-width: 1025px) {
  .hamburger {
    display: none;
  }
  .nav a {
    font-size: 18px;
    display: inline-block;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
  }

  .nav a:hover {
    transform: translateY(-5px);
  }
  #favorite-btn {
    display: inline-block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  #favorite-btn:hover {
    transform: translateY(-5px);
  }

  .cart-container a i {
    font-size: 16px;
  }
  #cart-count {
    font-size: 16px;
  }
  #heart-icon {
    font-size: 22px;
  }
  #favorite-count {
    font-size: 12px;
    right: -14px;
    top: 18px;
    min-width: 14px;
    height: 14px;
  }
  .menu-favorite-btn {
    top: 3px;
  }
  .nav ul {
    display: flex;
    flex-direction: row;
    position: static;
    background-color: transparent;
    margin-top: 0;
    width: 100%;
    padding: 0;
    height: 60px;
    align-items: center;
  }

  .nav.open ul {
    display: flex;
    background-color: transparent;
  }
  .nav {
    height: 60px;
    align-items: center;
  }

  .nav li {
    height: auto;
    line-height: 60px;
  }

  .logo {
    font-size: 24px;
  }
  .hero-content {
    max-width: 64%;
    padding-left: 7%;
    margin-left: 0;
  }

  #home .hero-content h2 {
    max-width: 66%;
    font-size: 26px;
    margin-left: 50px;
  }

  #home .hero-content p {
    max-width: 56%;
    font-size: 16px;
    margin-left: 50px;
  }

  #home .hero-content .btn {
    margin-left: 50px;
    margin-right: 0;
    width: fit-content;
    text-align: left;
    display: block;
    font-size: 16px;
  }
  .intro h1 {
    font-size: 26px;
  }
  .intro p {
    font-size: 16px;
  }
  .neden h1 {
    font-size: 26px;
  }
  .neden-list {
    font-size: 16px;
  }
  .katkilar h1 {
    font-size: 26px;
  }
  .katkilar-list {
    font-size: 16px;
  }
  .son-mesaj {
    font-size: 24px;
  }
  .featured-products h2 {
    font-size: 26px;
  }
  .product-card h3 {
    font-size: 20px;
  }
  .product-card p {
    font-size: 16px;
  }
  #btn-tum-urunler {
    font-size: 18px;
  }
  .testimonials h2 {
    font-size: 24px;
  }
  .testimonial p {
    font-size: 16px;
  }
  .testimonial h3 {
    font-size: 14px;
  }
  .footer {
    font-size: 16px;
  }
  .footer p {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 0;
    margin: 0;
  }
  .footer-item {
    box-sizing: border-box;
    text-align: center;
    margin-bottom: 0;
  }
  .footer-item:last-child {
    width: 100%;
    margin-top: 0;
  }
  #scrollToTopBtn {
    width: 48px;
    height: 48px;
    right: 30px;
    bottom: 6px;
  }
  .products h2 {
    font-size: 32px;
  }
  .product-item img {
    height: 200px;
  }
  .product-item {
    height: 400px;
  }
  .product-item h3 {
    font-size: 16px;
  }
  .product-item p {
    font-size: 14px;
  }
  .product-item .btn {
    font-size: 14px;
  }
  .favorite-btn i {
    font-size: 18px;
  }
  .cart-item img {
    width: 100px;
    height: 100px;
  }
  .cart-items-container {
    width: 500px;
    height: 60vh;
  }
  .cart-item-name {
    font-size: 16px;
  }
  .cart-item-amount {
    font-size: 16px;
  }
  .cart-item p {
    font-size: 16px;
  }
  .decrease-btn {
    font-size: 10px;
    top: 30px;
    left: 45px;
  }
  .increase-btn {
    font-size: 10px;
    top: -30px;
    left: 70px;
  }
  .remove-btn {
    font-size: 12px;
  }
  .total-price {
    font-size: 16px;
  }
  .favorite-container {
    width: 500px;
    height: 60vh;
  }
  .card {
    width: 250px;
    height: 450px;
  }
  .card .cover img {
    height: 50%; 
    width: auto; 
  }
  .card .details img {
    width: 200px;
  }
  .bambu-detay-aciklama {
    font-size: 16px;
  }

  .urun-aciklama-baslik {
    cursor: pointer;
    user-select: none;
  }
  .aciklama-acik {
    display: block;
  }
  .aciklama-icerik {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
  }

  .aciklama-icerik.aciklama-acik {
    max-height: 500px;
  }
  div.card > .cover > .urun-detay-pointer {
    display: none;
  }
}
