/* RESET */
* { margin: 0; padding: 0; box-sizing: border-box; }

/* HEADER BASE */
.main-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 80px;
  background: linear-gradient(90deg, #0d1b2a, #1b263b, #415a77);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* LEFT SECTION */
.logo-link {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
}

img {
  height: 55px; /* fixed, previously too big */
  transition: height 0.3s ease;
}

/* Company Text */
.company-title h1 {
  color: #fff;
  font-size: 1.1em;
  line-height: 1.2;
  font-weight: 300;
}

/* NAVIGATION */
.main-nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

.main-nav a {
  color: #fff;
  text-decoration: none;
  padding: 5px 10px;
  border-radius: 4px;
  transition: 0.3s;
}

.main-nav a:hover {
  color: #ffd60a;
  background: rgba(255,214,10,0.1);
}

/* RIGHT SECTION */
.right-section {
  display: flex;
  align-items: center;
  gap: 15px;
}

.language-select,
.login-btn,
.logout-btn {
  background: #1b263b;
  color: #fff;
  border: 1px solid #415a77;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
}

.theme-toggle {
  font-size: 1.2em;
  padding: 5px 10px;
  border: 1px solid #415a77;
  border-radius: 6px;
  background: none;
  cursor: pointer;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
}

.profile-img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ffd60a;
}

/* Vision 2030 */
.vision2030 img {
  height: 42px;
  width: auto;
  object-fit: contain;
}

/* MOBILE HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  border: none;
  background: none;
  cursor: pointer;
}

.hamburger span {
  width: 28px;
  height: 3px;
  background: #fff;
  transition: 0.3s;
}

/* MOBILE MENU */
@media (max-width: 920px) {

  .hamburger { display: flex; }

  .main-nav { display: none; }
  .right-section { display: none; }

  .main-nav.active,
  .right-section.active {
    display: flex;
    flex-direction: column;
    background: #1b263b;
    width: 100%;
    text-align: center;
    padding: 15px 0;
    gap: 15px;
  }

  /* Hamburger animation */
  .hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }
  .hamburger.open span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
}

/* LOGO RESPONSIVE SIZES */
@media (max-width: 992px) {
  .logo-img { height: 48px; }
}

@media (max-width: 600px) {
  .logo-img { height: 42px; }
}

@media (max-width: 400px) {
  .logo-img { height: 36px; }
}

/* DARK MODE */
body.dark-mode {
  background: #0d0d0d;
  color: #eee;
}
