/* ===================================
   HEADER & FOOTER LAYOUT
   =================================== */

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(47, 52, 63, 0.3);
    z-index: 1000;
}

.navbar>.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
}

.nav-links {
    position: absolute;
    left: 49.5%;
    transform: translateX(-50.5%);
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--gray-light);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--green-accent);
}

.nav-buttons {
    display: flex;
    gap: 1rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #f9f9f9;
    text-decoration: none;
    position: relative;
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #0f9d66, #10b981);
    transition: width 0.3s ease;
}

.logo:hover::after {
    width: 100%;
}

/* Footer */
.footer {
  background: var(--black);
  border-top: 1px solid var(--gray-dark);
  padding: 3rem 2rem 2rem;
}

.footer-links a {
  color: var(--gray-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--green-accent);
}

.footer-copyright {
  color: var(--white);
  text-shadow: var(--green-primary) 0px 0px 5px;
  font-size: 0.9rem;
}

.github-link * {
    color: var(--gray-light);
}

.github-link {
  color: var(--gray-light) !important;
  font-weight: 500;
  transition: color 0.3s ease;
}

.github-link:hover {
  color: var(--green-accent) !important;
}

.github-link i {
  margin-right: 0.4rem;
  font-size: 1.2rem;
  vertical-align: middle;
  transition: color 0.3s ease;
}
.github-link:hover * {
  color: var(--green-accent);
}

/* ===================================
   HEADER / NAVBAR
   =================================== */

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(47, 52, 63, 0.3);
    z-index: 1000;
}

.navbar > .logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
}

.nav-links {
    position: absolute;
    left: 49.5%;
    transform: translateX(-50.5%);
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--gray-light);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--green-accent);
}

.nav-buttons {
    display: flex;
    gap: 1rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #f9f9f9;
    text-decoration: none;
    position: relative;
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #0f9d66, #10b981);
    transition: width 0.3s ease;
}

.logo:hover::after {
    width: 100%;
}

/* Nav Link (for auth pages) */
.nav-link {
    color: #e9e9e9;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.nav-link:hover {
    color: #0f9d66;
    border-color: rgba(15, 157, 102, 0.3);
    background: rgba(15, 157, 102, 0.05);
}

/* ===================================
   FOOTER
   =================================== */

.footer {
    background: var(--black);
    border-top: 1px solid var(--gray-dark);
    padding: 3rem 2rem 2rem;
}

.footer-links a {
    color: var(--gray-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--green-accent);
}

.footer-copyright {
    color: var(--white);
    text-shadow: var(--green-primary) 0px 0px 5px;
    font-size: 0.9rem;
}

.github-link * {
    color: var(--gray-light);
}

.github-link {
    color: var(--gray-light) !important;
    font-weight: 500;
    transition: color 0.3s ease;
}

.github-link:hover {
    color: var(--green-accent) !important;
}

.github-link i {
    margin-right: 0.4rem;
    font-size: 1.2rem;
    vertical-align: middle;
    transition: color 0.3s ease;
}

.github-link:hover * {
    color: var(--green-accent);
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        padding: 1rem;
    }

    .nav-links {
        display: none;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}