@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;
  }
  50% {
    background-color: #32c239;
  }
  100% {
    background-color: #037409;
  }
}

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

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

.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;
}

.nav.open ul {
  display: flex;
  background-color: #2e7d32;
  opacity: 1;
}

.nav.closing ul {
  opacity: 0;
  transition:
    opacity 1.5s ease-out,
    transform 1.5s ease-out;
}

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

.nav a {
  color: white;
  text-decoration: none;
  font-size: 1.2rem;
  position: relative;
}

.nav a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  text-decoration: none;
  transition: width 0.4s ease-in-out;
}

.hero {
  background: url("images/EcoHome_Essentials.webp") no-repeat center
    center/cover;
  background-size: cover;
  color: #fff;
  text-align: center;
  padding: 100px 0;
}

.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 {
  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;
}

.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;
  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;
}

.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);
  color: #ffffff;
}

.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 h4 {
  margin-top: 15px;
  font-weight: 700;
  color: #2e7d32;
  font-size: 18px;
}

.testimonial p {
  font-size: 18px;
  padding-top: 10px;
}

.btn {
  background: linear-gradient(45deg, #ffffff, #66bb6a);
  color: #2e7d32;
  padding: 12px 25px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  display: inline-block;
  margin-top: 20px;
  font-size: 18px;
  font-weight: bold;
  border-radius: 5px;
  transition:
    background 0.3s ease,
    color 0.3s ease;
}

button:hover {
  background: linear-gradient(45deg, #66bb6a, #ffffff);
  color: #ffffff;
}

@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);
  animation: gradientAnimation 5s ease-in-out infinite;
  color: #2e7d32;
}

.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;
}

.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;
}

.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;
}

.total-price {
  font-size: 20px;
  font-weight: bold;
  color: #2e7d32;
  margin-top: 40px;
  text-align: center;
}

#cart-btn,
#favorite-btn {
  text-decoration: none;
}

#cart-btn:hover::after,
#favorite-btn:hover::after {
  content: none;
}

.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;
  font-weight: bold;
  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;
  color: black;
  padding: 5px 10px;
  border-radius: 5px;
  border: none;
  position: relative;
  top: -35px;
  left: 70px;
}

.decrease-btn {
  background-color: #76e67a;
  color: black;
  padding: 5px 10px;
  border-radius: 5px;
  border: none;
  position: relative;
  top: 35px;
  left: 45px;
}

.remove-btn {
  background-color: #76e67a;
  color: black;
  padding: 8px 16px;
  border-radius: 5px;
  border: none;
  cursor: pointer;
}

.remove-btn:hover {
  background-color: #ff6347;
}

.heart-icon {
  color: gray;
}

.heart-icon.active {
  color: red;
}

.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;
}

.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;
}

.favorite-btn {
  border: none;
  display: inline-flex;
  align-items: center;
  padding: 5px;
  cursor: pointer;
  border-radius: 5px;
  transition: all 0.3s ease;
  margin-top: -8px;
  font-size: 20px;
  color: white;
}

.favorite-btn:hover {
  background-color: #81c784;
  transform: scale(1.1);
}

.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;
}

.button-container {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  margin-top: auto;
}

.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);
}

.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);
}

.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;
}

.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;
  font-size: 22px;
  cursor: pointer;
  color: green;
  margin-left: 100px;
}

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

#heart-icon:hover {
  color: #f50057;
}

.menu-favorite-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 15px;
  border: 2px;
  cursor: pointer;
  transition:
    background-color 0.3s ease,
    box-shadow 0.3s ease;
  border-radius: 5px;
}

#heart-icon {
  font-size: 26px;
  color: red;
  transition: color 0.3s ease;
  cursor: pointer;
  margin-inline: auto;
}

#favorite-count {
  position: absolute;
  top: 20px;
  right: -14px;
  background-color: red;
  color: white;
  font-size: 14px;
  font-weight: bold;
  padding: 3px 7px;
  border-radius: 50%;
  min-width: 18px;
  height: 18px;
  text-align: center;
  line-height: 18px;
}

.menu-favorite-btn:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 132, 143, 0.5);
}

.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;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-form input,
.contact-form textarea,
.contact-form button {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #66bb6a;
  outline: none;
}

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

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

.contact-info h3 {
  font-size: 1.5rem;
  color: #2e7d32;
  margin-bottom: 10px;
}

.contact-info p {
  font-size: 1.1rem;
  color: #333;
}

.contact-info a {
  color: #2e7d32;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

.footer {
  background: linear-gradient(to right, #66bb6a, #2e7d32, #66bb6a);
  color: #fff;
  text-align: center;
  padding: 5px 0;
  font-size: 14px;
  font-weight: normal;
}

.footer p {
  margin: 5px 0;
}

.footer a {
  color: #fff;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

.footer-item {
  display: block;
  line-height: 1.6;
}

::-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;
}

html {
  scrollbar-width: thin;
  scrollbar-color: #2e7d32 #e6f2e6;
}

.bambu-detay-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 500px;
  padding: 40px 30px;
  border-radius: 16px;
}

.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-detay-body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: #eaf4ec;
}

.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;
  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;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  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%;
  text-align: center;
}

.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;
  border-radius: 10px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

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

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

.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 {
  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;
  font-size: 1.2em;
  margin-left: 6px;
  vertical-align: middle;
}

.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;
}

@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 h4 {
    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;
  }
}

@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 h4 {
    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;
  }
}

.shimmer-text {
  display: inline-block;
  color: rgba(255, 255, 255, 0.7);
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 1) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  background-size: 200% auto;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 12s linear infinite;
  font-weight: bold;
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

@media (min-width: 1024px) {
  .footer-item:not(:last-child)::after {
    content: "|";
    margin: 0 10px;
    color: rgba(255, 255, 255, 0.5);
  }
  .footer-item {
    width: auto !important;
  }
}
