/* General reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #000;
  color: #fff;
}

/* Navbar container */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  background: #000;
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Logo */
.logo img {
  height: 35px;
  width: auto;
  display: block;
}

/* Nav links */
.nav-links {
  display: flex;
  gap: 25px;
}

.nav-links a {
  text-decoration: none;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: bold;
  color: #fff;
  transition: color 0.3s ease;
}
.nav-links a:hover {
  color: #054321;
}

/* Right section */
.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-right .lang {
  font-size: 12px;
  cursor: pointer;
}

.nav-right i {
  cursor: pointer;
  font-size: 14px;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  font-size: 18px;
}

/* Responsive Navbar */
@media (max-width: 992px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background: #000;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    padding: 20px;
  }
  .nav-links.active {
    display: flex;
  }
  .menu-toggle {
    display: block;
  }
}

/* Search overlay (hidden by default) */
.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  color: #000;
  display: flex;
  flex-direction: column;
  z-index: 1000;
  padding: 40px;

  /* Animation setup */
  opacity: 0;
  transform: translateY(-100%);
  transition: transform 0.5s ease, opacity 0.5s ease;
  pointer-events: none;
}

/* Show overlay */
.search-overlay.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Close button */
.search-header {
  display: flex;
  justify-content: flex-end;
}
.close-search {
  cursor: pointer;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 2px;
}

/* Search box */
.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 40px auto 0;
  width: 80%;
  border-bottom: 1px solid #000;
  padding-bottom: 10px;
}
.search-box i {
  font-size: 18px;
}
.search-box input {
  border: none;
  outline: none;
  flex: 1;
  font-size: 18px;
}

/* Suggestions */
.search-suggestions {
  width: 80%;
  margin: 10px auto 0;
  max-height: 250px;
  overflow-y: auto;
  display: none;
  flex-direction: column;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #ccc;
}
.search-suggestions.active {
  display: flex;
}
.search-suggestions a {
  text-decoration: none;
  color: #000;
  font-size: 15px;
  padding: 5px 0;
  transition: color 0.3s;
}
.search-suggestions a:hover {
  color: #054321;
}

/* Quick links */
.quick-links {
  margin-top: auto;
  border-top: 1px solid #ccc;
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 14px;
}
.quick-links p {
  flex: 1 1 100%;
  font-weight: bold;
}
.quick-links a {
  text-decoration: none;
  color: #000;
  font-size: 14px;
  transition: color 0.3s;
}
.quick-links a:hover {
  color: #054321;
}

/* Responsive search */
@media (max-width: 768px) {
  .search-box {
    width: 100%;
  }
  .search-suggestions {
    width: 100%;
  }
  .quick-links {
    flex-direction: column;
    gap: 10px;
  }
}

.logo img { height: 35px; width: auto; display: block; }
.nav-links { display: flex; gap: 25px; }
.nav-links a {
  text-decoration: none;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: bold;
  color: #fff;
  transition: color 0.3s ease;
}
.nav-links a:hover { color: #054321; }
.nav-right { display: flex; align-items: center; gap: 20px; }
.nav-right i { cursor: pointer; font-size: 14px; }
.menu-toggle { display: none; cursor: pointer; font-size: 14px; font-weight: bold; letter-spacing: 2px; }

/* FULLSCREEN MOBILE MENU */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: #000;
  color: #fff;
  display: flex;
  flex-direction: column;
  padding: 20px;
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.5s ease, opacity 0.5s ease;
  z-index: 1000;
}
.mobile-menu.active {
  transform: translateY(0);
  opacity: 1;
}
.menu-header {
  display: flex;
  justify-content: flex-end;
  font-size: 12px;
  letter-spacing: 2px;
}
.close-menu { cursor: pointer; font-weight: bold; }
.menu-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 40px;
}
.menu-links a {
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  font-size: 14px;
  letter-spacing: 2px;
  border-bottom: 1px solid #333;
  padding-bottom: 10px;
  text-transform: uppercase;
}
.menu-links a:hover { color: #054321; }
.search-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 15px;
  border-top: 1px solid #333;
  font-size: 13px;
  cursor: pointer;
}
.search-row i { cursor: pointer; }

/* RESPONSIVE NAV */
@media (max-width: 992px) {
  .nav-links { display: none; }
  .menu-toggle { display: block; }
}

/* SEARCH OVERLAY */
.search-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: #fff;
  color: #000;
  display: flex;
  flex-direction: column;
  z-index: 2000;
  padding: 40px;
  opacity: 0;
  transform: translateY(-100%);
  transition: transform 0.5s ease, opacity 0.5s ease;
  pointer-events: none;
}
.search-overlay.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.search-header { display: flex; justify-content: flex-end; }
.close-search { cursor: pointer; font-size: 14px; font-weight: bold; letter-spacing: 2px; }
.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 40px auto 0;
  width: 80%;
  border-bottom: 1px solid #000;
  padding-bottom: 10px;
}
.search-box input {
  border: none; outline: none; flex: 1; font-size: 18px;
}
.search-suggestions {
  width: 80%; margin: 10px auto 0; max-height: 250px;
  overflow-y: auto; display: none; flex-direction: column; gap: 10px;
  padding: 10px 0; border-bottom: 1px solid #ccc;
}
.search-suggestions.active { display: flex; }
.search-suggestions a {
  text-decoration: none; color: #000; font-size: 15px; padding: 5px 0;
}
.search-suggestions a:hover { color: #054321; }
.quick-links {
  margin-top: auto; border-top: 1px solid #ccc; padding-top: 20px;
  display: flex; flex-wrap: wrap; gap: 20px; font-size: 14px;
}
.quick-links p { flex: 1 1 100%; font-weight: bold; }
.quick-links a { text-decoration: none; color: #000; font-size: 14px; }
.quick-links a:hover { color: #054321; }
@media (max-width: 768px) {
  .search-box, .search-suggestions { width: 100%; }
  .quick-links { flex-direction: column; gap: 10px; }
}
