/* Ana Navbar Stilleri */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
  background: transparent !important;
  padding: 15px 0;
  z-index: 1030;
}

.navbar.scrolled {
  background: #5f338a !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Logo Konteyner */
.navbar-brand-container {
  display: flex;
  align-items: center;
  /* gap: 10px; */
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

/* Nav Link Stilleri */
.nav-link {
  color: #707070;
  font-family: "VistolSans-Regular", sans-serif;
  font-weight: 400;
  padding: 8px 12px !important;
  display: flex;
  align-items: center;
  transition: color 0.3s ease, transform 0.3s ease;
  position: relative;
}
/* Navbar Scroll Olduğunda Nav Link Rengi */
.navbar.scrolled .nav-link {
  color: #ffffff !important;
}

.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link:focus {
  color: #c3d940 !important; /* Hover durumunda istediğiniz renk */
  font-weight: 600;
  transform: translateY(-2px);
}

/* Hover, Focus ve Active Durumları */
.nav-link:hover,
.nav-link:focus {
  color: #7c439a !important;
  transform: translateY(-2px);
  text-decoration: none;
  font-weight: 600;
}

.navbar-nav .nav-item .nav-link.active {
    color: #495b13 !important;
    font-weight: 700;
    position: relative;
}

/* Navbar scroll durumunda active stili */
.navbar.scrolled .navbar-nav .nav-item .nav-link.active {
    color: #c3d940 !important;
}

/* Active olan nav-linkin altına çizgi ekle */
.navbar-nav .nav-item .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 12px;
    right: 12px;
    height: 2px;
    background-color: currentColor;
    transform: scaleX(1);
    transition: transform 0.3s ease;
}

/* Dropdown İkonu Animasyonu */
.nav-item.dropdown .nav-link i {
  transition: transform 0.3s ease;
  margin-left: 4px;
}

.nav-item.dropdown:hover .nav-link i {
  transform: rotate(180deg);
}

/* Dropdown Stili */
.dropdown-menu {
  display: block;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(0.95);
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  padding: 10px 0;
  margin-top: 5px;
  border: none;
}

/* Dropdown Hover Animasyonu */
.nav-item.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.dropdown-item {
  padding: 10px 20px;
  color: #707070;
  font-family: "VistolSans-Regular", sans-serif;
  transition: all 0.3s ease;
  position: relative;
  font-size: 14px;
  border-radius: 8px;
}

/* Dropdown Hover ve Focus Durumları */
.dropdown-item:hover,
.dropdown-item:focus {
  background: rgba(111, 66, 193, 0.1);
  color: #495b13;
  transform: translateX(3px);
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}
.dropdown-item.active {
  background: rgba(111, 66, 193, 0.1);
  color: #495b13;
  font-weight: 600;
  text-decoration: none;
}
.navbar-brand {
  display: inline-flex;
  align-items: center;
}

.navbar-brand img {
  width: 100%;
  height: auto;
  transition: opacity 0.3s ease; /* Scroll sırasında geçiş efekti */
}

/* Randevu Butonu */
.randevu-btn {
  background-color: #c3d940;
  border: none;
  color: #7c439a;
  padding: 4px 10px;
  border-radius: 50px;
  font-family: "VistolSans-Bold", sans-serif;
  font-weight: 800;
  font-size: 13px;
  transition: all 0.3s ease;
  display: inline-block;
}

.randevu-btn:hover {
  background-color: #fff;
  color: #7c439a;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  transform: translateY(-2px);
}
/* Desktop Styles */
@media (min-width: 1201px) {
  .desktop-navbar {
    display: flex;
  }

  .mobile-navbar,
  .mobile-menu,
  .mobile-menu-overlay {
    display: none;
  }
}

/* Mobile Styles */
@media (max-width: 1200px) {
  body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
  }
  /* Mobile Navbar */
  .mobile-navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #5f338a;
    padding: 10px 15px;
    position: fixed;
    top: 0;
    z-index: 1030;
    width: 100%;
    max-width: 100%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }

  .mobile-menu-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .menu-icon,
  .close-icon {
    transition: opacity 0.3s ease;
  }

  .mobile-menu.active ~ .mobile-navbar .menu-icon {
    display: none;
  }

  .mobile-menu.active ~ .mobile-navbar .close-icon {
    display: inline;
  }

  /* Mobile Menu */
  .mobile-menu {
    position: fixed;
    top: 56px; /* Mobile navbar'ın altında açılması için */
    left: 0;
    width: 100%;
    max-width: 100%;
    height: calc(100vh - 56px);
    background: #5f338a;
    color: #fff;
    z-index: 1020; /* Navbarın altında kalması için */
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    padding: 20px 15px;
    overflow-y: auto;
    scroll-behavior: smooth;
  }

  /* Mobile Menu Aktifken Açılması */
  .mobile-menu.active {
    transform: translateX(0);
  }

  /* Scrollbar Ayarları */
  .mobile-menu::-webkit-scrollbar {
    width: 8px;
  }

  .mobile-menu::-webkit-scrollbar-track {
    background: #7c439a;
  }

  .mobile-menu::-webkit-scrollbar-thumb {
    background: #c3d940;
    border-radius: 4px;
  }

  /* Menü Elemanları */
  .mobile-menu-items {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 16px;
    font-family: "VistolSans-Regular", sans-serif;
  }

  .mobile-menu-item {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .mobile-menu-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 5px;
    font-size: 15px;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
  }

  /* Logo Konteyner */
  .mobile-logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    gap: 15px;
  }

  .mobile-logo {
    max-height: 40px;
    margin: 0 3px;
    display: block; /* Logoların her zaman görünür olmasını sağlar */
  }

  /* Randevu Al Butonu */
  .mobile-appointment-btn {
    background-color: #fff;
    color: #7c439a;
    padding: 3px 6px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
  }

  .mobile-appointment-btn:hover {
    background-color: #c3d940;
    color: #fff;
  }

  .mobile-menu-link i {
    transition: transform 0.3s ease;
  }

  .mobile-menu-link:hover i {
    transform: rotate(180deg);
  }

  /* Submenu */
  .mobile-submenu {
    display: none;
    padding-left: 15px;
    list-style: none;
  }

  .mobile-submenu.active {
    display: block;
  }

  .mobile-submenu-link {
    display: block;
    padding: 8px 5px;
    font-size: 14px;
    color: #f0f0f0;
    text-decoration: none;
  }

  .mobile-submenu-link:hover {
    color: #c3d940;
  }
  .mobile-menu-link[data-submenu] {
    cursor: pointer;
    -webkit-tap-highlight-color: transparent; /* Mobilde tıklama efektini kaldırır */
  }

  .mobile-menu-link i.fas {
    transition: transform 0.3s ease; /* İkon dönüşünü yumuşatır */
  }
  .mobile-menu-link.active,
  .mobile-submenu-link.active {
    color: #c3d940 !important;
    font-weight: 600;
  }
  .mobile-menu-item .mobile-menu-link.active {
    background-color: rgba(255, 255, 255, 0.1);
  }
}
.fixed-buttons {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  position: fixed;
  right: -15px;
  transform: rotate(90deg);
  top: 300px;
  z-index: 1050;
}

.fixed-buttons .button-default {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: 45px;
  height: 45px;
  background: #c3d940;
  border: 1px solid transparent;
  border-radius: 50%;
  transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s; /* Geçiş efektleri ekleyin */
}
.fixed-buttons .button-default a {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  font-family: "VistolSans-Medium", sans-serif;
  font-style: normal;
  font-size: 12px;
  text-align: center;
  color: #4d4685;
  text-decoration: none;
  transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s; /* Geçiş efektleri ekleyin */
}

.fixed-buttons img {
  display: flex;
  justify-content: center;
  width: 20px;
  height: auto;
  text-decoration: none;
  color: #fff;
  transform: rotate(-90deg); /* İkonları geri döndürme */
}
.fixed-buttons .button-default:hover {
  /* background-color: #7C439A;  */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Hover sırasında gölge ekler */
  transform: scale(1.1); /* Hover sırasında biraz büyütür */
  text-decoration: none;
}

.fixed-buttons > div:first-child {
  background: #a6228e;
}
.fixed-buttons > div:nth-child(2) {
  background: #7c439a;
}
.fixed-buttons > div:last-child {
  background: #c3d940;
}
.mobile-menu-item .lang-container {
    display: flex;
    gap: 5px; /* Butonlar arası boşluk */
}

.mobile-menu-item .lang-btn {
    display: inline-block;
    padding: 5px 10px;
    font-size: 12px;
    color: #333;
    text-decoration: none;
    background-color: #f1f1f1;
    border: 1px solid #ddd;
    border-radius: 3px;
    text-align: center;
    width: 40px;
}

.mobile-menu-item .lang-btn:hover {
    background-color: #e0e0e0;
    color: #000;
}