/* =========================================
   main.css - GLOBAL, HEADER & FOOTER
   ========================================= */

:root {
    --primary-blue: #1f58ab;
    --heading-blue: #2762b8;
    --dark-bg: #161616;
    --nav-grey: #a4a4a4;
    --white: #ffffff;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--dark-bg);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- HEADER & NAV --- */
header {
    background: var(--dark-bg);
    height: 80px;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo img {
    height: 60px;
    width: auto;
    object-fit: contain;
    display: block;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav ul li a {
    text-decoration: none;
    color: var(--white);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    transition: var(--transition);
}

nav ul li a:hover, nav ul li a.active {
    color: var(--primary-blue);
}

/* --- HAMBURGER & DRAWER ICONS --- */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 10px;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background-color: var(--white);
    transition: var(--transition);
    border-radius: 2px;
}

.close-btn {
    display: none;
}

/* --- FOOTER --- */
footer {
    padding: 40px 0;
    border-top: 1px solid #333;
    text-align: center;
    font-size: 13px;
    color: var(--nav-grey);
}

.powered {
    margin-top: 10px;
}

/* --- MOBILE DRAWER LOGIC --- */
@media (max-width: 768px) {
    .hamburger { display: flex; }

    #nav-drawer {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: #111111;
        display: flex;
        flex-direction: column;
        padding: 80px 0 0 0;
        transition: 0.4s ease-in-out;
        z-index: 9999;
    }

    #nav-drawer.active { right: 0; }

    .close-btn {
        display: block;
        position: absolute;
        top: 20px;
        right: 25px;
        font-size: 35px;
        cursor: pointer;
        color: var(--white);
    }

    nav ul {
        flex-direction: column;
        gap: 0;
    }

    nav ul li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    nav ul li a {
        display: block;
        padding: 25px 30px;
        font-size: 20px;
        text-transform: none; 
        font-weight: 400;
    }

    nav ul li a.active {
        font-weight: 700;
        background: rgba(255, 255, 255, 0.05);
        border-left: 4px solid var(--primary-blue);
    }
}