/* Navbar Genel Stil Ayarları */
#navbar {
  background-color: transparent;
  box-shadow: none;
  padding: 0;
  transition: background-color 0.5s ease, box-shadow 0.5s ease;
  display: flex;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

#mobile-navbar.scrolled {
  background-color: rgba(77, 70, 133, 0.5);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  color: #fff;
}

#navbar.scrolled {
  background-color: #4d4685;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  color: #fff;
}
#navbar.scrolled .nav-link {
  color: #fff;
}

/* Nav Linkler */
.nav-link {
  font-family: "Montserrat-Medium", sans-serif;
  padding: 8px 0;
  margin: 0 3px;
  color: #4d4685;
  transition: transform 0.3s ease, background-color 0.3s ease,
    box-shadow 0.3s ease;
  border-radius: 5px;
  font-size: 14px;
}

.nav-link:hover {
  color: #4d4685;
  background-color: rgba(255, 197, 7, 0.5);
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
/* Mega Dropdown Menu */
.mega-dropdown {
  width: 700px;
  /* left: 45%; */
  /* transform: translateX(-50%) translateY(20px); */
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  position: absolute;
  border-radius: 8px;
  background: radial-gradient(circle, #ffffff 0%, #eaeaea 100%);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  top: 72px;
}

/* Show mega-dropdown on hover or focus */
.nav-item.dropdown:hover .mega-dropdown,
.nav-item.dropdown:focus-within .mega-dropdown {
  opacity: 1;
  visibility: visible;
  /* transform: translateX(-50%) translateY(5%); */
}

/* Diğer CSS kuralları aynı kalacak */

.dropdown-item {
  display: flex;
  padding: 15px 10px;
  transition: background-color 0.2s ease;
  white-space: normal;
  overflow-wrap: break-word;
  word-wrap: break-word;
  flex: 1;
}
.dropdown-item img {
  width: 80px;
  height: auto;
  grid-row: span 2; /* Görseli başlık ve linkin üzerine yerleştirin */
}
.dropdown-item h3 {
  font-family: "Montserrat-Medium", sans-serif;
  font-size: 13px; /* Başlık boyutunu ayarlayın */
  margin-bottom: 2px; /* Başlık ile link arasında biraz boşluk bırakır */
}

.cihaza_git {
  color: #4d4685; /* Link rengi */
  font-size: 12px; /* Link boyutu */
  text-decoration: none;
  display: inline-block;
  font-family: "Montserrat-Regular", sans-serif;
}

.cihaza_git:hover {
  color: #a7814e !important; /* Link hover rengi */
}

.dropdown-item:hover,
.dropdown-item:focus {
  background-color: #eaeaea;
}

/* View All Products Button */
.view-btn {
  background-color: #a7814e;
  padding: 10px !important;
  text-align: center;
  width: 100%;
  margin-top: 15px;
  color: #fff;
  font-family: "Montserrat-Regular", sans-serif;
  font-size: 12px;
}

.view-btn:hover {
  background-color: #e6b200;
  color: #fff;
}
/* Sosyal Medya İkonları */
.navbar-nav .nav-item .nav-link i {
  font-size: 1.4rem;
  transition: transform 0.3s, color 0.3s;
}

.navbar-nav .nav-item .nav-link i:hover {
  transform: scale(1.2);
  color: #4d4685;
}

/* Sosyal medya ikonları pozisyonu */
.d-none.d-lg-flex {
  position: relative;
  right: 0;
}

@media (max-width: 991.98px) {
  /* Mobil Navbar Genel Stil Ayarları */
  #mobile-navbar {
    background-color: #4d4685;
    padding: 10px 15px;
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }

  /* Logo Solda */
  .navbar-brand {
    margin-left: 0;
  }

  /* Daha şık toggle butonu */
  .navbar-toggler {
    position: relative;
    width: 30px;
    height: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    border: none;
    background-color: transparent;
  }

  .navbar-toggler div {
    width: 100%;
    height: 3px;
    background-color: #fff;
    transition: all 0.3s ease;
  }

  .navbar-toggler.open div:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .navbar-toggler.open div:nth-child(2) {
    opacity: 0;
  }

  .navbar-toggler.open div:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  /* Offcanvas Menü Tam Ekran Açılması İçin */
  .offcanvas {
    width: 100% !important;
    height: 100% !important;
    background-color: #4d4685;
    color: white;
  }

  /* Offcanvas Başlık ve Kapatma Butonu (Logo Eklendi) */
  .offcanvas-header {
    background-color: #4d4685;
    color: #fff;
    justify-content: space-between;
  }

  /* Collapsible Menü ve Sosyal Medya */
  .offcanvas-body {
    padding: 20px;
    overflow-y: auto;
  }

  .offcanvas-body::-webkit-scrollbar {
    width: 8px;
  }

  .offcanvas-body::-webkit-scrollbar-thumb {
    background-color: #a7814e;
    border-radius: 10px;
  }

  .collapse-menu {
    list-style-type: none;
    padding-left: 0;
    font-size: 1.2rem;
  }

  .collapse-menu li {
    margin: 15px 0;
    list-style: none;
  }

  .collapse-menu li a {
    text-decoration: none;

    transition: color 0.3s ease;
    font-size: 15px;
    font-family: "Montserrat-Regular", sans-serif;
  }

  .collapse-menu li a:hover {
    color: #a7814e;
  }

  /* Collapsible İç Menü - Cihaz Görselleri */
  .collapse-menu img {
    width: 30px;
    height: 30px;
    margin-right: 10px;
    object-fit: cover;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }

  .offcanvas-body .collapse-menu li .dropdown-toggle {
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    color: #fff;
    font-family: "Montserrat-Regular", sans-serif;
  }

  .offcanvas-body .collapse-menu li .dropdown-toggle:hover {
    color: #a7814e !important;
  }

  /* Açık olduğunda Collapse Menüde Arka Plan Gri */
  .collapse.show {
    background-color: #f2f2f2;
    padding: 10px;
  }
  #collapseKurumsal li a {
    color: #4d4685 !important;
  }
  #collapseCihazlar li a {
    color: #4d4685 !important;
  }
  .collapse-menu li a {
    color: #fff !important;
  }

  /* Sosyal Medya İkonları */
  .social-icons {
    display: flex;
    justify-content: center;
    margin-top: 20px;
  }

  .social-icons a {
    margin: 0 10px;
    color: #fff !important;
    font-size: 12px;
    transition: color 0.3s ease;
    font-family: "Montserrat-Regular", sans-serif;
  }

  .social-icons a:hover {
    color: #a7814e !important;
  }

  /* Görsel ve Cihaz Bilgisi Yan Yana */
  .device-item {
    display: flex;
    align-items: center;
  }
  .device-item a:hover {
    color: #4d4685 !important;
  }

  /* Görsel İçin */
  .device-item img {
    margin-right: 10px;
  }

  /* Minimal Dil Butonları */
  .language-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
  }

  .language-buttons a {
    margin: 0 5px;
    color: #fff;
    font-size: 12px;
    font-family: "Montserrat-Regular", sans-serif;
    text-decoration: none;
    transition: color 0.3s ease;
  }

  .language-buttons a:hover {
    color: #a7814e;
  }

  /* Dikey Çizgi */
  .language-divider {
    height: 20px;
    width: 1px;
    background-color: #fff;
    margin: 0 10px;
  }
}
.fixed-buttons {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  align-content: center;
  gap: 8px;
  position: fixed;
  right: -100px;
  transform: rotate(90deg);
  top: 300px;
}
.fixed-buttons .whatsapp-button-default {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: 145px;
  height: 42px;
  background: #fff;
  border: 1px solid transparent;
  border-radius: 2px;
}
.fixed-buttons .morfit-button-default {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: 145px;
  height: 42px;
  background: #fff;
  border: 1px solid transparent;
  border-radius: 2px;
}
.fixed-buttons .whatsapp-button-default a {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  font-family: "Montserrat-Medium", sans-serif;
  font-style: normal;
  font-size: 12px;
  text-align: center;
  color: #4d4685;
}
.fixed-buttons .morfit-button-default a {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  font-family: "Montserrat-Medium", sans-serif;
  font-style: normal;
  font-size: 12px;
  text-align: center;
  color: #fff;
}
.fixed-buttons i {
  font-size: 16px;
}
.fixed-buttons .whatsapp-button-default a:hover {
  color: #a7814e;
  text-decoration: none;
}
.fixed-buttons .morfit-button-default a:hover {
  color: #4d4685;
  text-decoration: none;
}
.fixed-buttons > div:first-child {
  background: #f2f2f2;
}
.fixed-buttons > div:last-child {
  background: #a7814e;
}
.kurumsal-dropdown .dropdown-menu {
  display: block; /* Menü, mouse ile üzerine gelince görünür olacak */
  visibility: hidden; /* Varsayılan olarak gizli */
  opacity: 0;
  transition: visibility 0.3s, opacity 0.3s ease;
  top: 50px;
  border-radius: 8px;
  background: radial-gradient(circle, #ffffff 0%, #eaeaea 100%);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.kurumsal-dropdown .dropdown-menu.show {
  visibility: visible; /* Menü açıldığında görünür yap */
  opacity: 1;
}

.kurumsal-dropdown .dropdown-menu .dropdown-item {
  padding: 0.5rem 1rem;
  color: #000;
}

.kurumsal-dropdown .dropdown-menu .dropdown-item:hover {
  background-color: #4d4685;
  color: #fff;
}
#collapseKurumsal {
  transition: height 0.3s ease;
}
@media (min-width: 992px) {
    .navbar-expand-lg .navbar-collapse {
        display: flex !important;
        flex-basis: auto;
        text-wrap: nowrap;
    }
}
.language-selector {
    position: relative; /* For absolute positioning of dropdown */
    margin-left: 15px; /* Optional spacing */
}

.language-selector .btn {
    background-color: transparent; /* Match the navbar style */
    color: #4d4685; /* Button text color */
    padding: 4px 8px; /* Minimal padding */
    border: 1px solid #4d4685; /* Border for distinction */
    border-radius: 5px; /* Consistent border radius */
    font-size: 13px; /* Font size */
    transition: background-color 0.3s ease, color 0.3s ease; /* Smooth transition */
}

.language-selector .dropdown-menu {
    min-width: 40px; /* Minimum width for dropdown */
    border-radius: 5px; /* Match other dropdowns */
    position: absolute; /* Position relative to selector */
    z-index: 1000; /* Ensure visibility above other elements */
    display: none; /* Initially hidden */
}

/* Show dropdown on hover */
.language-selector:hover .dropdown-menu {
    display: block; /* Show on hover */
}

.language-selector .dropdown-item {
    padding: 5px; /* Minimal padding for dropdown items */
    text-align: center; /* Center align text */
    color: #4d4685; /* Default text color */
    transition: background-color 0.3s ease; /* Smooth hover effect */
}

.language-selector .dropdown-toggle::after {
    display: none; /* Hide default dropdown indicator */
}

.dropdown-item.active {
    background-color: #e9ecef; /* Active background color */
    color: #4d4685; /* Active text color */
}

.dropdown-item:hover {
    background-color: rgba(255, 197, 7, 0.5); /* Hover background */
    color: #4d4685; /* Hover text color */
}
#navbar.scrolled .language-selector .btn {
    background-color: transparent; /* Match the navbar style */
    color: #fff; /* Button text color */
    padding: 4px 8px; /* Minimal padding */
    border: 1px solid #fff; /* Border for distinction */
    border-radius: 5px; /* Consistent border radius */
    font-size: 13px; /* Font size */
    transition: background-color 0.3s ease, color 0.3s ease; /* Smooth transition */
}