/* Drawer.css - Cleaned Version */

/* Drawer içindeki üst resim */
.drawer-header-image-icon {
  align-self: stretch;
  position: relative;
  max-width: 100%;
  overflow: hidden;
  max-height: 100%;
  object-fit: cover;
}

/* Üst fotoğraf alanı */
.top-photo {
  align-self: stretch;
  background-color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: var(--padding-3xs) var(--padding-sm);
}

/* Ortak flex düzenlemeleri */
.text-and-arrow,
.flag-text-arrow {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
}
.flag-text-arrow {
  gap: var(--gap-base);
}

/* Dil butonları */
.english-button-drawer,
.turkish-button-drawer {
  cursor: pointer;
  border: none;
  padding: var(--padding-sm) var(--padding-base);
  flex: 1;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  border-top: 1px solid var(--color-aliceblue);
  border-bottom: 1px solid var(--color-aliceblue);
}
.english-button-drawer {
  background-color: var(--color-whitesmoke);
}
.turkish-button-drawer {
  background-color: var(--white);
  border-left: 1px solid var(--color-aliceblue);
}
.trflag-2-icon {
  width: 35px;
  height: 20px;
  position: relative;
  object-fit: cover;
}
.trke {
  font-size: var(--font-size-lg);
  font-weight: 500;
  font-family: var(--font-urbanist);
  color: var(--color-black);
  text-align: center;
  position: relative;
}

/* Dil seçenekleri container */
.language-options-drawer {
  align-self: stretch;
  flex: 1;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

/* Navigasyon butonları içerisindeki ikon ve metin */
.home-icon {
  width: 19px;
  height: 19px;
  position: relative;
}
.home5 {
  font-size: var(--font-size-lg);
  font-weight: 500;
  font-family: var(--font-urbanist);
  color: var(--color-black);
  text-align: left;
  position: relative;
}

/* Drawer navigasyon butonları */
.drawer-home-button,
.drawer-company-profile-button {
  cursor: pointer;
  border: none;
  padding: var(--padding-sm) var(--padding-base);
  background-color: var(--white);
  align-self: stretch;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: var(--gap-base);
}
.drawer-home-button {
  border-bottom: 0.5px solid var(--color-aliceblue);
}
.drawer-company-profile-button {
  border-bottom: 0.5px solid var(--color-aliceblue);
  box-sizing: border-box;
  height: 53px;
}

/* Diğer ikonlar */
.products-icon {
  width: 18px;
  height: 18px;
  position: relative;
}
.certificate-icon {
  width: 24px;
  position: relative;
  max-height: 100%;
}

/* Drawer navigasyon linklerini içeren container */
.drawer-links {
  margin: 0;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}

/* Drawer içeriği */
.drawer-content {
  width: 344px;
  height: 363.8px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}

/* Drawer genel tanımı */
.drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 344px;
  height: 100vh;
  background-color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  overflow-y: auto;
  z-index: 999;
  transform: translateX(-110%);
  transition: transform 0.3s ease-in-out;
}
.drawer.active {
  transform: translateX(0);
}
.drawer.animate {
  animation: 0.25s ease 0s 1 normal forwards slide-in-left;
}

@keyframes slide-in-left {
  0% {
    transform: translateX(-200px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Responsive ayarlar */
@media screen and (max-width: 960px) {
  .trke {
    font-size: var(--font-size-lg);
  }
}

/* Overlay */
#drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 999;
}
#drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Drawer içindeki navigasyon butonları ortak ayarları */
.drawer-links button {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: var(--gap-base);
}
.drawer-links button img {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}
.drawer-links button .home5 {
  flex: 1;
  text-align: left;
  padding-left: 4px;
}
