:root {
  --text-dark: #484848;
  --yellow: #ffdb00;
  --blue-top: #79aad5;
  --blue-bottom: #3b688f;
  --blue: #0057ad;
  --darker-blue: #004494;

  --light-gray: #f5f5f5;
  --white: #fffefb;
  --green-light: #dffea5;
  --orange: #ffc758;
  --faq-line: #000;
  --darker-yellow: #d9ba00;
  --lighter-yellow: #fff094;

  --background-white: #f6f3f3;
  --hack-club-red: #ec3750;

  --green: #28a745;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family:
    "Noto Sans",
    system-ui,
    -apple-system,
    sans-serif;
  background: var(--white);
  color: var(--text-dark);
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.top-nav {
  width: 100%;
  padding: 18px 16px 10px;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  padding: 16px;
}

.nav-logo {
  height: 48px;
  width: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-logo img {
  height: 100%;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.nav-logo:hover img {
  animation: wave 1.2s ease-in-out;
}

@keyframes wave {
  0%,
  100% {
    transform: rotate(0deg);
  }
  10% {
    transform: rotate(-10deg);
  }
  20% {
    transform: rotate(10deg);
  }
  30% {
    transform: rotate(-10deg);
  }
  40% {
    transform: rotate(10deg);
  }
  50% {
    transform: rotate(-5deg);
  }
  60% {
    transform: rotate(5deg);
  }
  70% {
    transform: rotate(0deg);
  }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
  font-size: 20px;
  font-weight: 400;
}

.nav-links a {
  cursor: pointer;
  transition:
    transform 0.2s ease,
    color 0.2s ease;
}

.nav-links a:hover {
  transform: scale(1.05);
  color: var(--blue);
}

.nav-submit {
  font-weight: 600;
}

.nav-links a.nav-submit:hover {
  color: var(--hack-club-red);
}

.nav-toggle {
  display: none;
}

.nav-toggle-btn {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle-btn span {
  width: 28px;
  height: 3px;
  background: var(--text-dark);
  border-radius: 3px;
}

@media (max-width: 600px) {
  .nav-container {
    gap: 16px;
  }

  .nav-toggle-btn {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    right: 16px;
    background: var(--white);
    border: 1px solid var(--light-gray);
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    padding: 12px 14px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    min-width: 180px;
    z-index: 10;
  }

  .nav-links a {
    width: 100%;
  }

  .nav-toggle:checked + .nav-toggle-btn + .nav-links {
    display: flex;
  }
}

/* Footer */
.page-footer {
  width: 100%;
  background: var(--light-gray);
  border-top: 1px solid #e0e0e0;
  margin-top: 48px;
  padding: 32px 16px;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  text-align: center;
  font-size: 14px;
  color: var(--text-dark);
}

.footer-content p {
  margin: 0;
}

.footer-content a {
  color: var(--blue);
  text-decoration: underline;
}

.footer-content a:hover {
  color: var(--darker-blue);
}

.footer-build-info {
  font-size: 12px;
  color: var(--text-medium, #888);
}
