/* MAIN STYLES */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background-color: #000;
  color: #fff;
}

/* NAVIGATION */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background-color: #151515;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  border-bottom: 2px solid #fcd500;
}

.logo {
  order: 0;
}

.logo img {
  max-width: 150px;
  height: auto;
}

.amv {
  max-width: 150px;
  height: 65px;
  margin: 0 10px;
  order: -1;
}

.nav-links {
  display: flex;
  gap: 20px;
  align-items: center;
  order: 1;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #fcd500;
}

/* DROPDOWN MENU */
.nav-links .dropdown {
  position: relative;
}

.nav-links .dropdown > a {
  display: flex;
  align-items: center;
  gap: 5px;
  padding-right: 20px;
  position: relative;
}

.nav-links .dropdown > a::after {
  content: "\f078";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 0.8rem;
  transition: transform 0.3s ease;
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
}

.nav-links .dropdown.active > a::after,
.nav-links .dropdown:hover > a::after {
  transform: translateY(-50%) rotate(180deg);
}

.dropdown-content {
  position: absolute;
  top: 100%;
  left: 0;
  background: #252525;
  border: 1px solid #fcd500;
  border-radius: 5px;
  min-width: 220px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.dropdown-content a {
  display: block;
  padding: 12px 20px;
  border-bottom: 1px solid #333;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.dropdown-content a:last-child {
  border-bottom: none;
}

.dropdown-content a:hover {
  background: rgba(252, 213, 0, 0.1);
  color: #fcd500;
  padding-left: 25px;
}

/* Show dropdown on hover for desktop */
@media (min-width: 769px) {
  nav {
    justify-content: flex-start;
    gap: 28px;
  }

  .logo {
    margin-right: 0;
    order: 0;
  }

  .nav-links {
    margin-left: 10px;
    order: 1;
  }

  .hamburger {
    order: 2;
    margin-left: auto;
  }

  .nav-links .dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

/* CONTACT CTA in nav */
.nav-links a.nav-contact {
  background: #fcd500;
  color: #000;
  padding: 10px 14px;
  border: 1px solid #fcd500;
  font-weight: 700;
  line-height: 1;
  border-radius: 0;
}

.nav-links a.nav-contact:hover {
  background: #ffdf32;
  border-color: #ffdf32;
  color: #000;
}

.nav-links a.nav-contact:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  padding: 15px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 1001;
  transition: transform 0.3s ease;
}

.hamburger i {
  transition: transform 0.3s ease;
}

.hamburger.active i {
  transform: rotate(90deg);
}

/* MOBILE NAV */
@media (max-width: 768px) {
  nav {
    justify-content: space-between;
    flex-wrap: nowrap;
    padding: 10px 15px;
  }

  .logo img {
    max-width: 100px;
  }

  .hamburger {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 68px;
    right: -100%;
    width: 100%;
    height: calc(100vh - 68px);
    background-color: #151515;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 20px;
    transition: right 0.3s ease;
    z-index: 1000;
    overflow-y: auto;
    margin-left: 0;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a,
  .nav-links .dropdown > a {
    width: 100%;
    padding: 15px 0;
    border-bottom: 1px solid #333;
  }

  .dropdown {
    width: 100%;
  }

  .dropdown > a {
    justify-content: space-between;
    padding-right: 25px;
  }

  .dropdown-content {
    position: static;
    display: none;
    border: none;
    background: transparent;
    padding-left: 20px;
    transform: none;
    min-width: 100%;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
  }

  .dropdown.active .dropdown-content {
    display: block;
    animation: fadeIn 0.3s ease;
  }

  .dropdown-content a {
    padding: 12px 0;
    font-size: 0.9rem;
    border-bottom: 1px solid #2c2c2c;
    white-space: normal;
  }

  .dropdown-content a:hover {
    padding-left: 10px;
  }

  .nav-links .dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-links a.nav-contact {
    margin-top: 15px;
    padding: 12px 14px;
    text-align: center;
    display: inline-block;
    width: auto;
    border-bottom: none;
  }

  @keyframes fadeIn {
    from {
      opacity: 0;
      max-height: 0;
    }
    to {
      opacity: 1;
      max-height: 500px;
    }
  }
}

/* Improved footer */
.site-footer {
  background-color: #151515;
  border-top: 2px solid #fcd500;
  padding: 56px 20px 18px;
}

.site-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr 0.9fr;
  gap: 28px;
  align-items: start;
}

.footer-title {
  color: #fcd500;
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.footer-muted {
  color: rgba(255, 255, 255, 0.78);
  margin: 0 0 12px;
  line-height: 1.6;
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.footer-link {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  line-height: 1.55;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.footer-link:hover {
  color: #fcd500;
  transform: translateX(2px);
}

.footer-link:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* Certifications */
.footer-certs {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 10px;
}

.footer-cert {
  display: inline-flex;
  align-items: center;
}

.footer-cert img {
  height: auto;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.footer-cert img:hover {
  transform: scale(1.05);
}

.footer-cert .amv {
  max-height: 65px;
  max-width: 150px;
}

.footer-cert .id06 {
  max-height: 70px;
  max-width: 150px;
}

/* Bottom bar */
.site-footer-bottom {
  max-width: 1200px;
  margin: 24px auto 0;
  padding-top: 14px;
  border-top: 1px solid rgba(252, 213, 0, 0.18);
}

.footer-bottom-text {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 1100px) {
  .site-footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .site-footer {
    padding: 46px 15px 16px;
  }

  .site-footer-inner {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

/* Utility colors */
.white {
  color: white;
}

.yellow {
  color: #fcd500;
}
