/* nav.css */

/* Header */
header {
  background-color: rgba(0, 0, 0, 0.85);
  padding: 1rem 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.7);
  position: sticky;
  top: 0;
  z-index: 999;
}

.navbar {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

/* Animated Logo */
.animated-logo {
  position: relative;
  width: 100px;
  height: 100px;
  display: inline-block;
  cursor: pointer;
}

.animated-logo img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: contain;
  top: 0;
  left: 0;
}

/* Logo Animations */
@keyframes spinCW {
  0%   { transform: rotate(0deg); }
  50%  { transform: rotate(180deg); }
  100% { transform: rotate(0deg); }
}

@keyframes spinCCW {
  0%   { transform: rotate(0deg); }
  50%  { transform: rotate(-180deg); }
  100% { transform: rotate(0deg); }
}

.text-ring {
  animation: spinCW 60s linear infinite;
}

.triangle {
  animation: spinCCW 60s linear infinite;
}

/* Navigation Links */
.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.nav-links li a {
  color: #00e6e6;
  font-weight: 600;
  text-decoration: none;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.nav-links li a:hover,
.nav-links li a.active {
  color: #ffffff;
  text-decoration: underline;
}

/* Responsive Nav */
@media (max-width: 600px) {
  .nav-links {
    flex-direction: column;
    width: 100%;
    margin-top: 1rem;
  }

  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Footer */
footer {
  background-color: rgba(0, 0, 0, 0.85);
  color: #bbb;
  text-align: center;
  padding: 1rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: auto;
  font-size: 0.9rem;
}
