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

/* slider fotoğrafını düzenledim */
.imgboy {
  height: 200px;
  object-fit: cover;
}

/*  card bulunan fotoğrafların boyutlarını eşitmlemek için kullandım.*/


.top-header {
  background-color: rgb(106, 39, 0);
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 30px;
  font-size: 14px;
}

.top-header .left,
.top-header .right {
  display: flex;
  align-items: center;
  gap: 15px;
}

.top-header a {
  color: white;
  text-decoration: none;
}

.top-header i {
  margin-right: 5px;
}

.container {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 20px;
}

.card {
  background: rgb(106, 39, 0);
  color: white;
  border-radius: 10px;
  width: 300px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 200px;
}

.card-content p {
  margin: 10px 0;
}

.card-more {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.4s ease;
}

.card:hover .card-more {
  max-height: 200px;
  opacity: 1;
  margin-top: 10px;

}

.food-card {
  background-color: rgb(106, 39, 0);
  color: white;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.food-card .card-title,
.food-card .card-text {
  color: white;
}

.imgboy {
  transition: transform 0.4s ease;
  width: 100%;
  display: block;
}

.food-card:hover .imgboy {
  transform: scale(1.1);
}

.contact-info {
  text-align: center;
  padding: 40px 20px;
}

.working-hours {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 40px;
}

.info-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 60px;
}

.info-box {
  max-width: 300px;
  text-align: center;
}

.info-box i {
  font-size: 48px;
  color: #444;
  margin-bottom: 10px;
}

.info-box h3 {
  font-size: 24px;
  margin-bottom: 10px;
  color: #333;
}

.info-box p {
  font-size: 16px;
  color: #666;
}

.map-container {
  margin-top: 40px;
  padding: 0 20px;
}

/* slider css kodları */
.swiper {
  width: 90%;
  /* Slider'ı kenarlardan içeri al */
  margin: 0 auto;
  /* Ortalar */
  padding-top: 40px;
  padding-bottom: 60px;
}

.swiper-slide {
  background-color: #4db38e;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 15px;
  transition: transform 0.3s;
  height: 350px;
  /* Resmi büyütmek için arttırıldı */
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
}

.swiper-slide-active {
  transform: scale(1.15);
  /* Orta resmi büyüt */
  box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.2);
  z-index: 2;
}

.food-card:hover {
  background-color: #000;
  /* Siyah arka plan */
  color: #fff;
  /* Yazılar beyaz olsun */
}

/* home sayfasındaki resmin büüymesini sağlamak için */
.custom-img {
  transition: transform 0.3s ease;
}

.custom-img:hover {
  transform: scale(1.1);
}

/* navbarda bulunan active hover durumda üç noktayı yönetemk için */

.nav-dot-link {
  position: relative;
  padding: 10px 16px;
  border-radius: 8px;
  background-color: rgb(106, 39, 0);
  color: white !important;
  transition: all 0.3s ease;
  text-align: center;
}

.nav-dot-link::after {
  content: "● ● ●";
  font-size: 10px;
  position: absolute;
  bottom: -18px;
  left: 50%;
  transform: translateX(-50%);
  color: rgb(106, 39, 0);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.nav-dot-link:hover::after,
.nav-dot-link.active::after {
  opacity: 1;
}

/* hesap makinesi*/

.calculator {
  width: 300px;
  background-color: rgb(106, 39, 0);
  padding: 20px;
  border-radius: 10px;
  margin: 20px;

}

.display {
  width: 100%;
  height: 50px;
  text-align: right;
  font-size: 1.5rem;
  padding: 10px;
  margin-bottom: 20px;
  border: none;
  background-color: #ffffff;
  color: #333;
}

.buttons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;

}

.button {
  background-color: #baa205;
  border: none;
  font-size: 1.5rem;
  padding: 20px;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
  color: white;
}

.button.clear {
  background-color: #dd4c0a;
}

.button.equal {
  background-color: #dd4c04;
}

.button.operator {
  background-color: #ff7b00;
}

.buttonhistory {
  background-color: #ff7b00;
  border: none;
  font-size: 1rem;
  padding: 8px;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
  color: white;
  width: 100%;
}

#historyText {
    color: white;
} 
/* hesap makinesi bitti */