/* ===== LOGO STYLING SESUAI TINGGI HEADER ===== */
/* Logo container yang menyesuaikan tinggi header */
.custom-logo-link {
  display: inline-block;
  line-height: 1;
  max-width: 100%;
  height: auto;
  /* Mobile: header 64px - padding 16px = 48px maksimum */
  max-height: 48px;
  width: auto; /* Width otomatis berdasarkan aspect ratio */
  overflow: hidden;
  transition: transform 0.2s ease;
}

/* Logo image dengan proporsi terjaga */
.custom-logo {
  width: auto;
  height: auto;
  max-width: 100%;
  /* Mobile: maksimum 48px untuk muat dalam header 64px */
  max-height: 48px;
  /* Menjaga rasio aspek tanpa distorsi */
  object-fit: contain;
  object-position: left center;
  /* Ketajaman gambar */
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  background: transparent;
  display: block;
  transition: all 0.2s ease;
  /* Minimum height untuk readability */
  min-height: 24px;
}

/* Desktop: header 80px - padding 16px = 64px maksimum */
@media (min-width: 1024px) {
  .custom-logo-link {
    max-height: 64px;
  }
  
  .custom-logo {
    max-height: 64px;
  }
}

/* Hover effect */
.custom-logo-link:hover {
  transform: scale(1.05);
}

.custom-logo-link:hover .custom-logo {
  filter: brightness(1.1);
}

/* Container logo dengan alignment yang tepat */
.logo-container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
  flex-shrink: 0;
  padding-right: 1rem;
}