/* ------------------ MAIN NAV ------------------ */
.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #131527;
  color: #fff;
  padding: 10px 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  z-index: 1000;
}

.nav-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  height: 50px;
  padding: 0 10px;
}

/*-------------------nav button--------------*/
.cta-button {
    background:#0099ff;
    color: white;
    border: none;
    padding: 15px 25px;
  font-family: 'ArchitypeTschicholdW90', cursive;
    font-size: 18px;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 20px;
    font-weight: bold;
   /* display: inline-block;*/
    text-decoration: none;
    transition: 0.3s ease-in-out;
}


/* ------------------ LOGO ------------------ */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: bold;
  color: #00ccff;
  text-decoration: none;
}

.logo img {
  height: 50px;
  width: auto;
  object-fit: contain;
}


/* ------------------ HAMBURGER BUTTON ------------------ */
.hamburger {
  display: none;
  width: 30px;
  height: 22px;
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  z-index: 1001;
}

.hamburger .bar {
  display: block;
  height: 3px;
  width: 100%;
  background: white;
  margin: 4px 0;
  border-radius: 2px;
  transition: 0.3s ease;
}

/* ✖ X icon when active */
.hamburger.active .top {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active .middle {
  opacity: 0;
}
.hamburger.active .bottom {
  transform: rotate(-45deg) translate(6px, -6px);
}


/* ------------------ NAV LINKS ------------------ */
.nav-links {
  display: flex;
  gap: 15px;
  align-items: center;
}

.nav-links a {
  color: #ddd;
  text-decoration: none;
  transition: color 0.3s;
  font-size: 18px;
  font-weight: 600;
}

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

.nav-links button {
  background: #00ccff;
  color: #fff;
  border: none;
  padding: 8px 12px;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
  width: 70%;
  margin: 0 auto;
}

.nav-links button:hover {
  background: #5f8035;
}


/* ------------------ MOBILE STYLES ------------------ */
@media (max-width: 768px) {
  .nav-content {
    justify-content: center;
  }

  .logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  .logo img {
    height: 40px;
  }

  .hamburger {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background: #2a2a2a;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 20px 0;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    display: none;
    animation: fadeIn 0.3s ease;
    z-index: 999;
  }

  .nav-links.show {
    display: flex;
  }

  .nav-links a,
  .nav-links button {
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
  }
}

/* ------------------ ANIMATION ------------------ */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}
