/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  background-color: transparent;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: background-color 0.3s ease;
}

/* Scroll effect */
.navbar.scrolled {
  /* background-color: rgba(14, 14, 14, 0.95); */
  background-color: #1C1C25;
}

/* Logo */
.logo img {
  width: 170px;
}

/* Nav links */
.nav-links {
  display: flex;
  gap: 20px;
  align-items: center;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #ccc;
}

.get-touch-btn {
  padding: 12px 18px;
  background: transparent;
  border: 2px solid white;
  color: white;
  border-radius: 25px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.get-touch-btn:hover {
  color: black;
  background: white;
  transition: 0.7sec;
}

/* Hamburger (hidden on desktop) */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.navbar-menu-btn-text {
  display: none;
}

.menu-for-phone {
  display: none;
}

.navbar-menu-btn {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .nav-links a {
    color: gray;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
  }

  .navbar {
    padding: 22px 22px;
  }

  .nav-links {
    display: none;
    position: absolute;
    align-items: left;
    top: 0px;
    right: 0px;
    background-color: #111111;
    flex-direction: column;
    width: 100%;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  }

  .nav-links.active .navbar {
    display: none;
  }

  .nav-links.active {
    display: flex;
    width: 100%;
    height: 100vh;
    padding: 22px 22px;
    align-items: normal;
  }

  .logo img {
    width: 160px;
  }

  .nav-links.active .navbar-menu-btn-text {
    display: flex;
    margin-bottom: 5px;
    width: 100%;
    font-size: 16px;
    color: white;
    font-weight: 200;
  }

  .nav-links.active .navbar-menu-btn-text p {
    margin-top: 25px;
  }

  .nav-links.active .navbar-menu-btn {
    gap: 18px;
    font-size: 24px;
    padding-right: 12px;
    padding-top: 6rem;
    flex-direction: column;
    align-items: flex-end;
    width: 100%;
    display: flex;
  }

  .nav-links.active .menu-for-phone {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .hamburger {
    width: 30px;
    height: 21px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 1001;
  }

  .hamburger span {
    display: block;
    height: 3px;
    background: white;
    transition: all 0.3s ease;
    border-radius: 2px;
  }

  /* Transform hamburger to X */
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
  }
}