.header {
  position: relative;
  background-color: #0f0f17;
  border-bottom: 1px solid #222;
  white-space: nowrap;
}

.container {
  width: 100%;
  max-width: 1200px;
  padding: 16px 20px;
  margin: auto;
  align-items: center;
}

.header .container {
  display: flex;
  justify-content: space-between;
  position: relative;
}

.navbar-links {
  display: flex;
  gap: 20px;
}

nav a {
  opacity: 0.8;
}

nav a:hover {
  opacity: 1;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #171727;
  min-width: 160px;
}

.dropdown-content a {
  padding: 12px 16px;
  display: block;
}

.dropdown:hover .dropdown-content{
  display: block;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.dropdown-content a:hover {
  background-color: #fff;
  color: #0f0f17;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
}

.logo:hover {
  opacity: 0.8;
}

.menu-toggle {
  display: none;
  width: 26px;
  height: 18px;
  position: relative;
}

@media (max-width: 760px) {
  .header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    }
    
  .menu-toggle {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
  }
  
  .menu-toggle span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: #fff;
    transition: 0.35s ease;
  }

  .menu-toggle span:nth-child(1) {
    top: 0;
  }

  .menu-toggle span:nth-child(2) {
    top: 8px;
  }

  .menu-toggle span:nth-child(3) {
    top: 16px;
  
  }
  .menu-toggle.active span:nth-child(1) {
    top: 8px;
    transform: rotate(45deg);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    top: 8px;
    transform: rotate(-45deg);
  }

  .navbar-links {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100%;
    background: #0f0f17;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    transform: translateX(-100%);
    transition: transform 0.4s ease;
    z-index: 1000;
  }

  .navbar-links.active {
    transform: translateX(0);
  }

  .navbar-links.active ~ .logo {
    z-index: 0;
  }

  .navbar-links a {
      font-size: 1.4rem;
      opacity: 1;
    }

  .dropdown {
    text-align: center;
  }

  .dropdown > a {
    font-size: 1.4rem;
  }

  .dropdown-content {
    margin-top: 10px;
    display: block;
    position: static;
    background: none;
    box-shadow: none;
  }

  .dropdown-content a {
    padding: 6px 0;
    display: block;
    opacity: 0.8;
    font-size: 1.1rem;
  }

  .dropdown:hover .dropdown-content {
    display: block;
  }
}

.fat-footer {
  background: linear-gradient(180deg, #171727, #0f0f17);
  padding: 80px 0 30px;
  margin-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
}

.footer-col h5 {
  font-size: 15px;
  margin-bottom: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0.9;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  opacity: 0.7;
  font-size: 14px;
  transition: opacity 0.3s ease;
}

.footer-col ul li a:hover {
  opacity: 1;
}

.footer-logo {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
}

.footer-col.brand p {
  font-size: 14px;
  opacity: 0.7;
  line-height: 1.7;
}

.footer-socials {
  margin-top: 20px;
}

.footer-socials a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  margin-right: 5px;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0f0f17;
  transition: transform 0.3s ease;
}

.footer-socials a svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.footer-socials a:hover {
  transform: translateY(-3px);
}

.newsletter p {
  font-size: 14px;
  opacity: 0.7;
  margin-bottom: 20px;
}

.newsletter-form {
  display: flex;
  gap: 10px;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 14px;
  border-radius: 30px;
  border: 1px solid #222;
  background: #121220;
  color: #fff;
  font-size: 14px;
}

.newsletter-form button {
  padding: 12px 22px;
  border-radius: 30px;
  border: none;
  background: #fff;
  color: #0f0f17;
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.newsletter-form button:hover {
  background: #0f0f17;
  color: #fff;
  border: 1px solid #222;
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid #222;
  margin-top: 50px;
  padding-top: 20px;
  text-align: center;
  font-size: 13px;
  opacity: 0.6;
}

@media (max-width: 600px) {
  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form button {
    width: 100%;
  }
}

