:root {
    --martin-oragen : #e84922;
}
/* ================================
   Menü Taşma + Dropdown + Badge (Final)
   ================================ */

#menu-1-d1a6ab7 {
  display: flex;
  flex-wrap: nowrap !important; /* Alt satıra geçme */
  align-items: center;
  white-space: nowrap;
  overflow: visible; /* 🔹 dropdown'un görünmesi için visible */
  position: relative;
}

/* Menü item boşluklarını sıfırla */
#menu-1-d1a6ab7 > li {
  margin: 0 !important;
  padding: 0 !important;
}

/* "Diğer" menü */
#menu-1-d1a6ab7 .menu-item-more {
  position: relative;
  flex: 0 0 auto;
  list-style: none;
}

#menu-1-d1a6ab7 .menu-item-more.hidden {
  display: none;
}

/* Dropdown menü */
#menu-1-d1a6ab7 .menu-item-more .sub-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px); /* Biraz aşağıda */
  right: 0;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  min-width: 180px;
  padding: 8px 0;
  z-index: 9999;
  list-style: none;
  animation: dropdownFade 0.2s ease;
}

#menu-1-d1a6ab7 .menu-item-more.open .sub-menu {
  display: block;
}

/* Dropdown itemlar */
#menu-1-d1a6ab7 .menu-item-more .sub-menu li {
  white-space: nowrap;
  padding: 6px 16px;
  transition: background-color 0.2s ease;
}

#menu-1-d1a6ab7 .menu-item-more .sub-menu li:hover {
  background-color: #f5f5f5;
}

#menu-1-d1a6ab7 .more-trigger {
  display: flex;
  align-items: center;
  gap: 6px;
}

#menu-1-d1a6ab7 .more-trigger svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

#menu-1-d1a6ab7 .badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--martin-oragen);
  color: #fff;
    font-size: 12px;
    font-weight: 500;
    border-radius: 50%;
    min-width: 20px;
    height: 20px;
    padding: 0 4px;
    line-height: 1;
    margin-left: 2px;
    position: relative;
    top: 0px;
    left: -10px;
}

#menu-1-d1a6ab7 .menu-item-more .sub-arrow {
  display: none !important;
}

@keyframes dropdownFade {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1024px) {
  #menu-1-d1a6ab7 .menu-item-more {
    display: none !important;
  }
}

.layer01 {
    background: url('/wp-content/uploads/2025/11/layer_01.png') no-repeat;
    height: 12px;
    width: 12px;
    display: inline-block;
    background-size: 12px;
    margin: 0 10px;
}
span.martinColor {
    color: var(--martin-oragen);
}

.center {
    text-align: center;
}
.scroll-stack {
  position: sticky;
  top: 60px;
  left: 0;
  width: 100%;
}

#panel1 { z-index: 1; }
#panel2 { z-index: 2; }
#panel3 { z-index: 3; }


#herodetail {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 9999;
  transition: top 0.3s ease;
  transition: background-color 0.3s ease, top 0.3s ease;
}

.scroll-up-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: var(--martin-oragen);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 22px;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.scroll-up-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-up-btn:hover {
    background: #333;
}
.tabler--arrow-up {
  display: inline-block;
  width: 24px;
  height: 24px;
  --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M12 5v14m6-8l-6-6m-6 6l6-6'/%3E%3C/svg%3E");
  background-color: currentColor;
  -webkit-mask-image: var(--svg);
  mask-image: var(--svg);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}