/* =========================
   HEADER & NAVIGATION
========================= */
header {
    font-family: "Orbitron", sans-serif;
    background: #220800;
    color: #fff;
    padding: .5rem 0 .5rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* LEFT */
.nav-left img {
    height: 7vw;
    display: block;
    transform: translateY(4px);
}

/* CENTER */
.nav-center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.nav-center a {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    letter-spacing: 0.5px;
    color: #fff;
    text-decoration: none;
}

.nav-center a:hover {
    color: #FB9E0A;
    text-shadow:
        0 0 12px rgba(119, 30, 6, 0.8),
        0 0 28px rgba(119, 30, 6, 0.6),
        0 10px 25px rgba(0, 0, 0, 0.4);
}

/* RIGHT */
.nav-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;

}

.nav-right a {
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.nav-right a:hover {
    color: #FB9E0A;
    transition: all 0.3s ease;
    text-shadow:
        0 0 12px rgba(119, 30, 6, 0.8),
        0 0 28px rgba(119, 30, 6, 0.6),
        0 10px 25px rgba(0, 0, 0, 0.4);
}

/* NAVBAR DONATE BUTTON */
.donate-btn {
    background: #FB9E0A;
    color: #fff;
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow:
        0 0 12px rgba(119, 30, 6, 0.7),
        0 0 28px rgba(119, 30, 6, 0.5),
        0 10px 25px rgba(0, 0, 0, 0.25);
}

.donate-btn:hover {
    background-color: #FDE525;
    color: #fff !important;
    transform: translateY(-3px);
    box-shadow:
        inset 0 0 15px #FDE525,
        0 0 30px rgba(253, 229, 37, 0.8),
        0 0 60px rgba(251, 158, 10, 0.6),
        0 0 90px rgba(188, 44, 2, 0.4),
        0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Hamburger Button */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent !important;
    border: none;
    box-shadow: none !important;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background: #10D9EE !important;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Animate hamburger into X when open */
.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
    display: none; /* Hidden by default */
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    background: #0a0a0a;
    border-top: 1px solid #10D9EE;
    padding: 2rem;
    position: absolute;
    top: 100%; /* Sits right below the header */
    left: 0;
    width: 100%;
    z-index: 1001;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.mobile-menu.active {
    display: flex !important; /* Forces the menu to show when JS toggles the class */
}

.mobile-menu a {
    display: block;
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em; 
    width: 100%;
    text-align: center;
}

.mobile-menu a:hover {
    color: #FB9E0A;
    transition: all 0.3s ease;
    text-shadow:
        0 0 12px rgba(119, 30, 6, 0.8),
        0 0 28px rgba(119, 30, 6, 0.6),
        0 10px 25px rgba(0, 0, 0, 0.4);
}


/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1200px) {

    /* Hide center title completely */
    .nav-center {
        display: none;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.4rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .steps-container {
        gap: 1.5rem;
    }

    header {
        padding: 0.75rem 0;
    }

    /* Hide all right links EXCEPT donate */
    .nav-right a:not(.donate-btn) {
        display: none;
    }

    .navbar {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    /* Move the Logo to the far right */
    .nav-left {
        order: 3;
    }

    /* Move the Donate/Links container to the middle */
    .nav-right {
        order: 2;
        margin-left: auto;
        margin-right: 1rem;
    }
    

    /* Move the Hamburger to the far left */
    .hamburger {
        order: 1;
        display: flex;
    }

    /* Ensure logo sizing is consistent */
    .nav-left img {
        height: 45px;
        width: auto;
    }

    /* Compact donate button */
    .donate-btn {
        padding: 0.45rem 1.1rem;
        font-size: 0.75rem;
        border-radius: 20px;
    }

    .mobile-menu.active {
        display: flex !important; 
    }
}

/* Mobile phones */
@media (max-width: 480px) {
    .navbar {
        flex-wrap: wrap;
        gap: 0rem;
        padding: 0 0.75rem;
    }

    .nav-left img {
        height: 50px;
    }

    .donate-btn {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }

    .nav-center a {
        font-size: 1.25rem;
    }
}

/* Very small screens */
@media (max-width: 360px) {
    .nav-center a {
        font-size: 1.1rem;
    }

    .donate-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.7rem;
    }
}