@media (max-width: 1037px) {
  .main-nav-link {
    display: none !important;
  }

  .main-nav-text {
    font-size: 20px !important;
    margin-top: 20px;
    margin-left: 5px !important;
  }

  .main-openbtn {
    display: block !important;
  }

  .sidebar {
    display: block !important;
  }

  @media (max-width: 924px) {
    .item {
      width: 200px !important;
      height: 200px !important;
    }
  }
}

body {
  height: 5800px;
}

.main-row {
  width: 100%;
  position: relative;
  display: flex;
  justify-content: space-between;
  height: 800px;
  background-size: cover;
  background-position: center;
  background-image: url('../images/mehmetali.jpg');
  background-position: center 0px;
}

.header {
  display: flex;
  justify-content: space-between;
  width: 100%;
  z-index: 100;
  position: fixed;
  top: 5;
}

.main-col {
  width: fit-content;
  background-color: transparent;
}

.main-nav-text {
  color: white;
  font-size: 30px;
  background-color: transparent;
  margin-left: 40px;
  margin-top: 5px;
  font-family: "Brush Script MT", cursive;
}

.main-nav-link {
  padding-top: 7px;
  width: fit-content;
  background-color: transparent;
  margin-right: 20px;
}

.main-nav-link>a {
  text-decoration: none;
  color: white;
  margin-right: 10px;
  background-color: transparent;
}

.main-openbtn {
  width: fit-content;
  display: none;
  position: absolute;
  right: 0px;
  top: 5px;
}

.main-nav-icon {
  font-size: 30px;
}

.main-row-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  /* Tam ortaya kaydır */
  text-align: center;
  color: #f5f5f5;
  font-size: 50px;

}

/* Sidebar stili */
.sidebar {
  height: 100%;
  width: 0;
  position: fixed;
  top: 0;
  right: 0;
  background-color: #003900;
  overflow-x: hidden;
  transition: 0.3s;
  padding-top: 60px;
  z-index: 200;
  display: none;
}

.sidebar a {
  width: 100%;
  text-align: center;
  border-top: 2px solid black;
  padding: 10px 20px;
  text-decoration: none;
  font-size: 18px;
  color: #f5f5f5;
  display: block;
  transition: 0.2s;
}

.sidebar a:hover {
  background-color: black;

}

/* Menü açma butonu */
.openbtn {
  font-size: 20px;
  cursor: pointer;
  background-color: #4e342e;
  background-color: transparent;
  border: none;
  z-index: 1;
}

/* Kapatma butonu */
.closebtn {
  width: fit-content !important;
  padding: 5px 5px;
  border-top: none !important;
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 30px;
}

/* hakkımda css */
.about-title {
  width: 100%;
  text-align: center;
  color: #003900;
}

.about-img {
  width: 100%;
  height: 400px;
}

.about-row {
  border-top: #0f1a00 1px solid;
  padding: 20px;
}

.about-col {
  text-align: left;
}

.about-col-lastelement {
  width: 100%;
  text-align: right;
  color: darkgray;
  font-size: small;
}

.about-col-lastelement>i {
  margin-left: 10px;
}




/* salon css */
.contact-main {
  width: 100%;
  height: 800px;
  position: relative;
  background-size: cover;
  background-position: center;
  background-image: url('../images/mehmetali.jpg');
  background-position: center 0px;

}

.contact-main-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  /* Tam ortaya kaydır */
  color: #f5f5f5;
  font-family: "Brush Script MT", cursive;
  font-size: 70px;
  width: fit-content;
  text-align: center;
  color: #ded7ed;
}

.contact-main-title {
  font-size: 40px;
  text-align: center;
  margin-top: 70px;
}

.contact-img {
  width: 300px;
  height: 300px;
}

.scroll-container {
  margin: 50px auto;
  width: 90%;
  overflow: hidden;
  /* Scroll bar görünmesin */
  cursor: grab;
  user-select: none;
}

.scroll-content {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  /* Firefox */
}

.scroll-content::-webkit-scrollbar {
  display: none;
  /* Chrome */
}

.item {
  flex-shrink: 0;
  width: 400px;
  height: 400px;
  background-size: cover;
  background-position: center;
  color: white;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
}

/* sorular start */
.sorular-main-text {
  width: 100%;
  height: fit-content;
  color: #0f1a00;
  text-align: center;
}

.accordion-body {
  background-color: black !important;
  /* Sarımsı beyaz */
  color: white !important;
}


.accordion-button {
  background-color: #003900 !important;
  /* Mavi ton */
  color: white !important;
  /* Yazı rengi */
  font-size: 20px !important;
}

.accordion-button:focus {
  box-shadow: none !important;
  outline: none !important;
}

.accordion-item {
  margin-bottom: 15px;
  /* İstediğin kadar boşluk verebilirsin */

}

.accordion-button::after {
  filter: brightness(0) invert(1) !important;
  /* Bu, ikonu beyaz yapar */
}

/* Top border-radius for the first item */
.accordion .accordion-item:first-child {
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  overflow: hidden;
  /* prevents content from spilling out */
}

/* Bottom border-radius for the last item */
.accordion .accordion-item:last-child {
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  overflow: hidden;
}

/* acount */
.pay-text {
  width: 100%;
  text-align: center;
  color: #003900;
  font-family: cursive;
  margin-top: 20px;
}

.card {
  height: 390px !important;
  color: white;
}

.card-body-top .btn {
  margin-top: 40px;
}

.card-body {
  margin: 30px;
  color: white;
}

.card-mid {
  margin-top: 30px;
  color: white;
}

.card-alt {
  margin-top: 15px;
  color: white;
}

.btn {
  margin-top: 10px;
}

/* İleitisim */
.iletisim-text {
  font-family: serif;
  width: 100%;
  color: #4e342e;
  text-align: center;
}

.iletisim-simge {
  width: 100%;
  font-size: 30px;
  text-align: center;
}

.iletisim-simge>a {
  text-decoration: none;
  color: black;
}

.info-text-top {
  font-size: 30px;
  color: #003900;
}

.info-text-bot {
  height: fit-content;
  font-size: 20px;
}

.info-text-bot i {
  font-size: 30px;
}

/* Normalde linkler ve yazı beyaz (Senin mevcut ayarın) */
.main-nav-text,
.main-nav-link a {
  color: white;
  /* veya senin varsayılan rengin */
  transition: color 0.3s;
  /* Renk yumuşak değişsin */
}

/* JS ile "aktif-renk" sınıfı eklendiğinde devreye girecek kodlar */
#ust-bar.aktif-renk .main-nav-text {
  color: #003900 !important;
}

#ust-bar.aktif-renk .main-nav-link a {
  color: #003900 !important;
}

/* İstersen arka planı da beyaz yapabilirsin yazı okunsun diye */
#ust-bar.aktif-renk {
  background-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}