
/* Modal stil ayarları */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
  background-color: #fefefe;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 90%;
  max-width: 500px;
  border-radius: 10px;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.auth-buttons {
  display: flex;
  justify-content: space-around;
  margin-bottom: 20px;
}

.auth-form {
  display: none;
}

.auth-form.active {
  display: block;
}

@media (max-width: 768px) {
  .modal-content {
    width: 95%;
  }
}





.navbar-custom {
    height: 100px;
    background-color: #4e69ff7a;
    padding: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between; /* İçeriği ikiye bölmek için */
    align-items: center;
}

  .navbar-brand {
    font-weight: bold;
    color: white;
    font-size: 1.25rem;
  }

  /* Search Bar Styling */
  .search-bar {
    height: 60px;
    border-radius: 30px;
    background-color: white;
    padding: 8px 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 500px; /* Maksimum genişlik sınırlaması */
    margin-top: 15px; /* Mobilde arama çubuğunu biraz daha aşağı al */
  }

  .search-bar input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 1.1rem;
  }

  .search-bar button {
    width: 80px;
    height: 50px;
    background-color: #e67e22; /* Turuncu buton rengi */
    color: white;
    padding: 5px 15px;
    border: none;
    border-radius: 30px;
    transition: background-color 0.3s;
  }

  .search-bar button:hover {
    background-color: #cf6d18;
  }

  .btn-custom {
background-color: #f7f9f9; /* Hafif krem beyaz */
color: #3b6978; /* Ana renk ile uyumlu */
border-radius: 30px;
padding: 12px 25px; /* Increase padding for larger button */
font-size: 1.1rem; /* Slightly larger font size */
font-weight: bold;
transition: all 0.3s ease;
}


  .btn-custom:hover {
    background-color: #e3e6e6;
    color: #2c535e;
  }

  .nav-item a {
    color: white;
    font-weight: 500;
    margin-left: 15px;
    transition: color 0.3s;
  }

  .nav-item a:hover {
    color: #d0d0ff;
  }
  #openModal {
    color: #ffffff; /* Buraya istediğiniz renk kodunu yazabilirsiniz */
    font-weight: bold;
}

  .login-signup-container a {
      color : white;
      font-size: 1.3rem;
      text-decoration: none;
  }
  /* Mobile menu button color */
  .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
  }

  .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba%28255, 255, 255, 0.7%29' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
  }

  @media (max-width: 768px) {
    .container {
      padding-top: 60px; /* Kategoriler bölümünü aşağı almak için */
    }

    .categories-container {
      margin-top: 0; /* Margin-top'u sıfırladım çünkü container'a padding ekledik */
    }

    .login-signup-container {
      display: flex;
      justify-content: center;
      width: 100%;
      margin-top: 10px;
      text-align: center;
    }

    .login-signup-container a {
      font-size:1.2rem;
      color: #ffffff;
      text-decoration: none;
      font-weight: bold;
      margin: 0 10px;
    }
    
    .login-signup-container a:hover {
      color: #d0d0ff;
    }

    .search-bar {
      margin-top: 15px;
    }

    .search-bar button {
      padding: 5px 10px;
      font-size: 0.9rem;
    }
    .navbar-custom{
      
      height:100%;
    }
    
  }

  .profile-infoo {
    display: flex;
    align-items: center;
    justify-content: center; /* Ortalar */
    margin: 10px ; /* Merkezde konumlandırmak için */
    
  }
  
  .profile-photo {
    margin-right: 10px; /* Profil fotoğrafı ile kullanıcı adı arasında boşluk */
  }
  
  
  .profile-infoo .d-flex {
    display: flex; /* Yan yana hizalamak için */
    align-items: center; /* Dikey hizalama */
  }
  

  .categories-container {
    display: flex;
    justify-content: space-between; /* Kategorileri eşit aralıklarla dağıt */
    padding: 10px;
    margin: 10px 0;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    -ms-overflow-style: none;  /* Internet Explorer 10+ */
    scrollbar-width: none;  /* Firefox */
  }
  
  body.dark-mode .categories-container {
    background-color: #495057; /* Karanlık modda kategori konteyneri arka planı */
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.1); /* Daha yumuşak gölge */
  }
  
  .categories-container::-webkit-scrollbar {
    display: none;  /* Chrome, Safari, Opera için kaydırma çubuğunu gizle */
  }
  
  .categories-container {
    display: flex;
    flex-wrap: nowrap; /* Kategorilerin aynı satırda kalmasını sağlar */
    overflow-x: auto; /* Yatay kaydırmayı etkinleştirir */
    padding: 10px;
    margin: 10px 0;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    scrollbar-width: thin; /* İnce kaydırma çubuğu */
  }
  
  body.dark-mode .categories-container {
    background-color: #495057; /* Karanlık mod arka plan */
  }
  
  .category {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    margin: 0 10px; /* Sağ ve sol kenar boşlukları */
    padding: 10px;
    text-align: center;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    min-width: 100px; /* Kategorilerin minimum genişliği */
  }
  
  body.dark-mode .category {
    background-color: #343a40; /* Karanlık modda kategori kartı arka planı */
    box-shadow: 0 2px 6px rgba(255, 255, 255, 0.1); /* Daha yumuşak gölge */
  }
  
  .category img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    margin-bottom: 10px;
    border-radius: 50%;
    border: 2px solid #e0e0e0;
  }
  
  body.dark-mode .category img {
    border: 2px solid #adb5bd; /* Karanlık modda resim kenarları */
  }
  



.username-display {
  font-size: 1rem; /* Font boyutunu ayarlayın */
  font-weight: 600; /* Yazıyı kalın yapar */
  color: #333; /* Yazı rengi */
  padding: 5px 10px; /* İç boşluk ekleyerek yazının etrafını güzelleştirir */
  border-radius: 5px; /* Hafif köşe yuvarlatma */
  background-color: #f0f0f0; /* Arka plan rengi */
  transition: background-color 0.3s, color 0.3s; /* Hover efektleri için geçiş animasyonu */
}

.username-display:hover {
  background-color: #e0e0e0; /* Hover sırasında arka plan değişir */
  color: #007bff; /* Hover sırasında yazı rengi değişir */
  cursor: pointer; /* İmleci el simgesine çevirir */
}




@media (max-width: 768px) {
.categories-container {
  overflow-x: auto; /* Mobilde yatay kaydırma aktif */
}

.category {
  min-width: 80px; /* Mobilde kategori genişliğini biraz daha küçültür */
  margin: 0 8px; /* Kenar boşlukları */
}

/* Kaydırma çubuğu için özelleştirme */
.categories-container::-webkit-scrollbar {
  height: 8px; /* Yatay kaydırma çubuğunun yüksekliği */
}

.categories-container::-webkit-scrollbar-thumb {
  background-color: #888; /* Kaydırma çubuğu rengi */
  border-radius: 10px;
}




.category span {
font-size: 0.9rem;
color: #555;
font-weight: 600;
}


.category:hover {
transform: scale(1.05);
}


.profile-menu {
  width: 100%; /* Menü genişliğini tam genişlik yap */
  left: 0; /* Menü genişliğini tam olarak profil fotoğrafının altına hizala */
  top: calc(100% + 5px); /* Profil fotoğrafının hemen altında, biraz boşluk bırak */
}

}



/* Hover üzerinde alt çizgi veya başka stil efektlerini engellemek için */
.profile-menu a {
  text-decoration: none; /* Alt çizgiyi kaldır */
  border: none; /* Kenarlıkları kaldır */
}

.profile-menu a:hover {
  text-decoration: none; /* Hover durumunda alt çizgiyi kaldır */
  border: none; /* Hover durumunda kenarlıkları kaldır */
  color: black;
}
