svg {
  width: 25px;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 100%;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 100;
  padding: 0 10px;
  padding: 10px 15px;
  z-index: 1000;
  height: 60px;
  background-color: #fff;
  transition: transform 0.3s ease;
}
header.hide {
  transform: translateY(-100%);
}
header .logo {
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  color: #000;
  text-decoration: none;
}
/* search button */

#searchToggleBtn {
  position: relative;
  cursor: pointer;
  margin-right: 10px;
  top: -16px;
  background-color: #fff;
  padding: 5px;
  border: 1px solid #7e7d7d;
  border-radius: 3px;
}
#searchToggleBtn i {
  font-size: 20px;
  color: #000;
}
header .menu {
  padding: 0;
  margin: 0;
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 20px;
  font-weight: 500;
  border-radius: 50px;
  padding: 0px 20px;
  letter-spacing: 1px;
  font-weight: 400;
  color: #000;
}
header .logo {
  position: relative;
  top: 2px;
}
header .logo img {
  width: 110px;
}
/*  */
/*  */

/* Dropdown ana konteyner */
.menu {
  display: flex;
  list-style: none;
  gap: 20px;
  position: relative;
  z-index: 999;
  color: #000;
}

.menu li {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #000;
  min-width: 180px;
  padding: 8px 0;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  border-radius: 6px;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.dropdown:hover .dropdown-menu {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.dropdown-menu li {
  padding: 0;
  list-style: none;
}

.dropdown-menu li a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  color: #fff;
  text-decoration: none;
  transition: background 0.2s;
  font-size: 15px;
}

.dropdown-menu li a i {
  min-width: 20px;
  color: #fff;
}

.dropdown-menu li:hover {
  background-color: #333;
  color: #000;
}

@media (max-width: 768px) {
  .menu {
    flex-direction: column;
    align-items: flex-start;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    transform: none;
    opacity: 1;
    display: none;
  }

  .dropdown.open .dropdown-menu {
    display: block;
  }
}

/*  */
.button_menu {
  position: relative;
  display: inline-block;
  padding: 10px 20px;
  font-size: 18px;
  font-family: "Poppins", sans-serif;
  color: #000;
  background: none;
  border: none;
  cursor: pointer;
  overflow: hidden;
  transition: color 0.3s ease;
  text-decoration: none;
}

.button_menu::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  left: 0;
  bottom: 0;
  background-color: #000;
  transition: width 0.3s ease;
}

.button_menu:hover::after {
  width: 100%;
}

.button_menu:hover {
  background-color: #72717169;
}

/*  */

.hamburger {
  font-size: 25px;
  cursor: pointer;
  color: #333;
  font-weight: 100;
  transition: transform 0.2s ease, color 0.3s ease;
}
.hamburger:hover {
  transform: scale(1.1);
  color: #fff;
  border-left: 1px solid #333;
  border-right: 1px solid #333;
}
.side-menu {
  position: fixed;
  top: 60px;
  left: -250px;
  width: 250px;
  height: 100%;
  background: #fff;
  transition: left 0.3s ease;
  padding-top: 20px;
  padding-bottom: 50px;
  z-index: 999;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  overflow-y: auto;
  box-shadow: 3px 0 10px rgba(0, 0, 0, 0.3);
}

.side-menu.active {
  left: 0;
}

.side-menu ul {
  list-style: none;
}

.side-menu ul li {
  padding: 10px 15px;
  border-bottom: 1px solid #9b9797;
  font-weight: 400;
}
.side-menu ul li a {
  font-size: 14px;
}
.close-menu {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 28px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close-menu:hover {
  color: red;
}

/* Mobil görünüş */
@media (max-width: 768px) {
  header .menu {
    display: none;
  }

  .hamburger {
    display: block;
  }
}

@media (min-width: 769px) {
  .hamburger {
    display: none;
  }

  .logo {
    text-align: left;
    flex: unset;
    margin-left: 10px;
  }
}

/* favriler hem section hem butonlar */
.favorites-icon {
  position: relative;
  font-size: 24px;
  cursor: pointer;
  margin-right: 10px;
  /* border: 1px solid #ffebeb; */
  padding: 0 10px;
  color: #000;
}
span.heartbigsmall {
  display: inline-block;
  animation: beatingHeart 1.2s infinite;
}
.favorites-icon:hover {
  box-shadow: 1px 1px 10px #ffebeb;
  transition: box-shadow 0.3s;
}

.fav-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #000;
  color: white;
  border-radius: 50%;
  padding: 2px 6px;
  font-size: 12px;
  font-weight: bold;
}

.favorites-panel {
  position: fixed;
  top: 60px;
  right: -200px;
  width: 200px;
  height: 100%;
  background: #fff;
  color: #fff;
  padding: 20px;
  padding-bottom: 60px;
  transition: right 0.3s ease;
  z-index: 999;
  overflow-y: auto;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
  box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.3);
}
.favorites-panel h3 {
  margin-bottom: 20px;
  margin-top: -10px;
  color: #000;
}
.favorites-panel.open {
  right: 0;
}

.close-fav-panel {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 20px;
  color: #000;
  cursor: pointer;
  z-index: 1000;
}

.favorites-panel ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.favorites-panel .fav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.favorites-panel .fav-item img {
  width: 100px;
  object-fit: contain;
  border-radius: 4px;
}

.favorites-panel .fav-name {
  width: 50px;
  font-size: 12px;
  line-height: 1.2;
  color: #000;
}

.favorites-panel .fav-wp,
.favorites-panel .fav-del,
.favorites-panel .fav-view {
  font-size: 12px;
  padding: 2px 4px;
  border: 1px solid #333;
  border-radius: 4px;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.3);
}

.favorites-panel .fav-wp {
  color: #000;
  text-decoration: none;
  border: 1px solid greenyellow;
}

.favorites-panel .fav-del {
  border: 1px solid red;
  background: #d32f2f;
  color: #fff;
}

.favorites-panel .fav-view {
  color: #000;
  text-decoration: none;
}
/* favriler animasaiya css */
.btn-fav.animate {
  transform: scale(1.3);
  transition: transform 0.2s ease;
}

/* whatsapp silkelenen buton */
.wa-ring-fixed {
  position: fixed;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  z-index: 999;
  text-decoration: none;
}

/* İkon ölçüsü */
.wa-ring-fixed img {
  width: 56px;
  height: 56px;
  display: block;
  animation: waIconShake 2s ease-in-out infinite;
}

/* Halə effekti */
.wa-ring-fixed::before,
.wa-ring-fixed::after {
  content: "";
  position: absolute;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.45);
  opacity: 0;
  pointer-events: none;
  animation: waIconPulse 2s ease-out infinite;
}
.wa-ring-fixed::after {
  animation-delay: 0.8s;
}

/* İkon silkələnməsi */
@keyframes waIconShake {
  0%,
  100% {
    transform: rotate(0deg);
  }
  10% {
    transform: rotate(-8deg);
  }
  20% {
    transform: rotate(8deg);
  }
  30% {
    transform: rotate(-6deg);
  }
  40% {
    transform: rotate(6deg);
  }
  50% {
    transform: rotate(-3deg);
  }
  60% {
    transform: rotate(3deg);
  }
  70% {
    transform: rotate(0deg);
  }
}

/* Halənin yayılması */
@keyframes waIconPulse {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  30% {
    opacity: 0.9;
  }
  100% {
    opacity: 0;
    transform: scale(1.5);
  }
}
