
/* Urunlerimiz bolumu stilleri */

#products-h1 {
  text-decoration: underline;
  text-align: center;
  font-size: 30px;
  font-weight: bold;
  color: #00645f;
}

.carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  max-width: 1200px;
  height: 650px;
  margin: 0px auto 50px;
}

.carousel {
  display: flex;
  position: relative;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 30px 0px;
  height: 100%;
}

.carousel-item {
  display: flex;
  position: absolute;
  box-sizing: border-box;
  text-align: center;
  text-decoration: none;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  width: 100%;
  max-width: 600px;
  padding: 20px;
  background: #fff;
  border-radius: 16px;
  color: #004944;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.5s ease;
}

.carousel-item img {
  object-fit: cover;
  pointer-events: none;
  width: 100%;
  max-width: 500px;
  height: auto;
  padding: 10px;
  border-radius: 12px;
  margin-bottom: 20px;
  background-color: white;
}

.carousel-item.active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
  position: relative;
  border: 3px solid #00645f;
}

.carousel-item:not(.active) {
  pointer-events: none;
}

.carousel-text h3 {
  font-size: 27px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #00645f;
}

.carousel-text p {
  font-size: 16px;
  color: black;
  line-height: 1.6;
}

.carousel-item.prev {
  transform: translateX(-50%) scale(0.8);
  opacity: 0.7;
  z-index: 1;
}

.carousel-item.next {
  transform: translateX(50%) scale(0.8);
  opacity: 0.7;
  z-index: 1;
}

.carousel-item .carousel-text {
  display: none;
}

.carousel-item.active .carousel-text {
  display: block;
}

.carousel-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 60px;
  z-index: 999;
  color: #00645f;
  padding: 10px;
  animation: carousel-pulse 2s infinite ease-in-out;
  transition: color 0.3s, transform 0.3s;
}

.carousel-btn:hover {
  color: black;
  transform: scale(1.5);
}

@keyframes carousel-pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.5);
  }
}

/* Mobil stili */

@media (max-width: 1080px) {
  #products-h1 {
    font-size: 24px;
  }

  .carousel-wrapper {
    height: 500px;
    max-width: 100%;
  }

  .carousel {
    margin: 0px 20px;
  }

  .carousel-item {
    max-width: 100%;
    padding: 15px;
  }

  .carousel-text h3 {
    font-size: 20px;
  }

  .carousel-text p {
    font-size: 13px;
    line-height: 1.4;
  }

  .carousel-btn {
    font-size: 40px;
    padding: 5px;
  }
}

/* --------------------------------------------------------- */

/* Kayan iletisim bolumu stilleri */

.scrolling-banner {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  cursor: pointer;
  user-select: none;
  width: 100%;
  height: 50px;
  font-size: 25px;
  font-weight: bold;
  background-color: #e6f3f1;
  border-top: 3px solid #00645f;
  border-bottom: 3px solid #00645f;
  color: #00645f;
  box-shadow: 0 0 10px #00645f88;
}

.scrolling-banner p {
  white-space: nowrap;
  display: inline-block;
  padding-left: 30%;
  animation: slideRightToLeft 10s linear infinite;
  margin: 0;
}

.scrolling-banner:hover p {
  animation-play-state: paused;
}

.scrolling-banner .emoji {
  margin-left: 6px;
  font-size: 30px;
  filter: drop-shadow(0 0 2px #00645f);
}

@keyframes slideRightToLeft {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* Mobil stili */

@media (max-width: 1080px) {
  .scrolling-banner {
    height: 35px;
    font-size: 18px;
    border-top: 2px solid #00645f;
    border-bottom: 2px solid #00645f;
  }

  .scrolling-banner .emoji {
    font-size: 22px;
    margin-left: 4px;
  }
}

/* --------------------------------------------------------- */

/* Diger urunlerimiz bolumu stilleri */

.other-products-title {
  text-align: center;
  font-size: 30px;
  font-weight: bold;
  margin: 50px 0px;
  text-decoration: underline;
  color: #00645f;
}

.other-products {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  width: 90%;
  margin: 0 auto 100px;
}

.other-product {
  display: flex;
  overflow: hidden;
  width: 100%;
  height: 250px;
  margin: 0 auto;
  border: 2px solid #c1e8e5;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 100, 95, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;  
}

.other-product:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 25px rgba(0, 100, 95, 0.3);
}

.other-product img {
  width: 300px;
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
  border-right: dotted 4px black;
}

.product-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  padding: 30px;
}

.product-info h3 {
  margin-bottom: 15px;
  font-size: 22px;
  font-weight: bold;
  color: #00645f;
}

.product-info p {
  font-size: 15px;
  line-height: 1.6;
}

/* Mobil stili */

@media (max-width: 1080px) {
  .other-products-title {
    font-size: 24px;
    margin-top: 50px;
  }

  .other-products {
    display: block;
    width: 90%;
  }

  .other-product {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 175px;
    margin-bottom: 25px;
  }

  .other-product img {
    width: 200px;
    height: 100%;
    border-right: dotted 3px black;
  }

  .product-info {
    padding: 15px 20px;
  }

  .product-info h3 {
    font-size: 17px;
    margin-bottom: 10px;
  }

  .product-info p {
    font-size: 13px;
    line-height: 1.4;
  }
}

/* --------------------------------------------------------- */





