:root {
  --color-white: #f4f4f5;
  --color-black: #231f20;
  --color-gray: #c2c2bf;
  --color-dark: #2c3337;
  --color-blue: #249cd1;
  --color-yellow: #eec21b;
}

/* ---------- HEADER GENERAL ---------- */
.sicgbor_header_general {
  width: 100%;
  height: 40px;
  background-color: var(--color-white);
  box-shadow: rgba(93, 92, 92, 0.19) 0px 3px 5px;
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.sicgbor_navigation {
  width: 100%;
  max-width: 1200px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
}

/* Logo */
.sicgbor_logo img {
  height: 45px; /* bigger logo */
  width: auto;
  object-fit: contain;
  margin-top: -2.5px;
}

/* Menu */
.sicgbor_navigation_ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  align-items: center;
}

.sicgbor_navigation_ul li a {
  text-decoration: none;
  color: var(--color-dark);
  font-weight: 500;
  transition: color 0.3s, transform 0.2s;
}

.sicgbor_navigation_ul li a:hover {
  color: var(--color-blue);
  transform: translateY(-2px);
}

/* Login button */
.sicgbor_login_index {
  padding: 0.5rem 0.8rem;
  background-color: var(--color-blue);
  color: var(--color-white) !important;
  border-radius: 5px;
  font-size: 0.9rem;
  transition: background-color 0.3s, color 0.3s;
}

.sicgbor_login_index:hover {
  background-color: var(--color-yellow);
  color: var(--color-black) !important;
}

/* Hamburger */
.menu-toggle {
  display: none;
}

.menu-icon {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--color-dark);
}

.menu-icon:hover {
  color: var(--color-blue);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
  .sicgbor_header_general {
    height: auto; /* flexible height */
    padding: 0.8rem 1rem;
  }

  .sicgbor_logo img {
    height: 40px; /* scale for mobile */
    margin-top: 0;
  }

  /* Show hamburger */
  .menu-icon {
    display: block;
  }

  .sicgbor_navigation_ul {
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
    display: none;
    background-color: var(--color-white);
    padding: 1rem 0;
    border-top: 1px solid var(--color-gray);
    box-shadow: rgba(93, 92, 92, 0.1) 0px 3px 5px;
    border-radius: 5px;
  }

  /* Show menu when checkbox checked */
  .menu-toggle:checked + .menu-icon + .sicgbor_navigation_ul {
    display: flex;
  }

  .sicgbor_navigation_ul li a {
    font-size: 1.1rem;
  }

  .sicgbor_login_index {
    width: 80%;
    text-align: center;
    padding: 0.5rem 0;
  }
}
