*,
*::before,
*::after {
  box-sizing: border-box;
}
html, body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

header {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #1a1a1a;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  animation: slideDown 0.5s ease;
}

@keyframes slideDown {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
}

.header-left, .header-center, .header-right {
  flex: 1;
}
.header-left { text-align: left; }
.header-center { text-align: center; }
.header-right { text-align: right; }

.header-left a img {
  max-height: 100%;
  max-width: 150px;
  transition: transform 0.3s ease;
}
.header-left a img:hover {
  transform: scale(1.1);
}

.header-center nav {
  display: inline-block;
}
.header-center nav a {
  color: #fff;
  font-size: 1.1rem;
  text-decoration: none;
  margin: 0 15px;
  position: relative;
  transition: color 0.3s ease;
}
.header-center nav a:hover {
  color: #FFD700;
}
.header-center nav a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: #FFD700;
  transition: width 0.3s ease;
}
.header-center nav a:hover::after {
  width: 100%;
}

.language-dropdown {
  position: relative;
  display: inline-block;
}
.dropdown-btn {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0;
}
.dropdown-btn:focus {
  outline: none;
}
.dropdown-btn .world-icon {
  font-size: 1.5rem;
}
.dropdown-content {
  display: none;
  position: absolute;
  right: 0;
  background: #fff;
  min-width: 120px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  border-radius: 4px;
  z-index: 1001;
}
.dropdown-content a {
  color: #333;
  padding: 10px 10px;
  text-decoration: none;
  display: block;
  transition: background 0.3s ease;
  text-align: left;
}
.dropdown-content a:hover {
  background: #f0f0f0;
}
.language-dropdown:hover .dropdown-content {
  display: block;
}

.hamburger {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  outline: none;
}
.hamburger .bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 4px 0;
  background-color: #fff;
  transition: all 0.3s ease;
}

.mobile-menu {
  position: fixed; 
  top: 90px;
  left: 0;
  width: 100%;
  background: #1a1a1a;
  padding: 10px 0;
  z-index: 999;

  display: none; 
  flex-direction: column;
}
.mobile-menu.active {
  display: flex; 
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.mobile-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 1.1rem;
  padding: 10px 20px;
  width: 100%;
  text-align: center;
  border-top: 1px solid #333;
}
.mobile-nav a:hover {
  background: #333;
}
.mobile-language {
  margin-top: 10px;
}
.mobile-language a {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  margin: 0 5px;
}

@media (max-width: 768px) {
  .header-container {
    padding: 0 10px;
  }
  .header-center {
    display: none;
  }
  .hamburger {
    display: block;
  }
  .header-left, .header-right {
    flex: 0 0 auto;
  }
  .header-left a img {
    max-height: 100%;
    max-width: 120px;
  }
  .language-dropdown {
    display: none;
  }
}
