header{
    height: 10vh;
    display: flex;
    background: var(--black);
    color: white;
    justify-content: space-around;
    align-items: center;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 99;
}
ul{
    display: flex;
    justify-content: space-around;
    gap: 10px;
    list-style: none;
}
.logo a{
    font-size: 30px;
    font-weight: bold;
}
.nav-link {
    position: relative;
    text-decoration: none;
    color: #e0e0e0;
    transition: 0.5s;
}

.nav-link:hover {
    color: #fff;
}

.nav-link::after,
.nav-link::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 0%;
    height: 2px;
    transition: 0.3s;
    background: var(--yellow);
}

.nav-link::after {
    bottom: -5px;
}

.nav-link::before {
    top: -5px;
}

.nav-active::after,
.nav-active::before,
.nav-link:hover::after,
.nav-link:hover::before {
    width: 100%;
}
.nav-active{
    color: #fff;
}

/* HAMBURGER (mobile menu toggle) */

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    flex-shrink: 0;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* FOOTER */

.footer {
    margin-top: 50px;
    padding: 50px 40px 20px;
    background: #111;
    color: #ddd;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
}

.footer-section h3 {
    margin: 0 0 15px;
    color: #fff;
}

.footer-section p {
    margin: 8px 0;
    line-height: 1.6;
}

.footer-section a {
    display: block;
    width: fit-content;
    margin: 8px 0;

    color: #bbb;
    text-decoration: none;

    transition: 0.2s ease;
}

.footer-section a:hover {
    color: #70ff6b;
}

.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0;
    padding-top: 20px;

    border-top: 1px solid #333;

    color: #888;
    font-size: 14px;
}


/* =========================
   RESPONSIVE (shared: header + footer)
   ========================= */

   @media (max-width: 800px) {

    header {
        justify-content: flex-start;
        padding: 15px 20px;
    }

    .logo {
        flex-shrink: 0;
    }

    .hamburger {
        display: flex;
        margin-left: auto;
    }

    nav ul {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        background: var(--black);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease;
    }

    nav ul.nav-open {
        max-height: 400px;
    }

    nav ul li {
        text-align: center;
        padding: 14px 0;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

}

@media (max-width: 480px) {

    .footer {
        padding: 40px 20px 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }

}