/* Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
    direction: ltr;
}

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

ul {
    list-style: none;
}

/* Header Styles */
.site-header {
    background-color: #0A0A0A;
    color: #fff;
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-header .logo {
    font-size: 2rem;
    font-weight: bold;
    color: #FFD700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.site-header .logo:hover {
    color: #fff;
}

.main-nav ul {
    display: flex;
}

.main-nav ul li {
    margin-left: 1.5rem;
}

.main-nav ul li a {
    color: #fff;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
}

.main-nav ul li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: #FFD700;
    transition: width 0.3s ease;
}

.main-nav ul li a:hover::after, .main-nav ul li a.active::after {
    width: 100%;
}

.main-nav ul li a:hover, .main-nav ul li a.active {
    color: #FFD700;
}

.hamburger-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 20px;
    padding: 0;
}

.hamburger-menu span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #FFD700;
    transition: all 0.3s ease;
}

.mobile-nav {
    display: none;
}

/* Footer Styles */
.site-footer {
    background-color: #0A0A0A;
    color: #f4f4f4;
    padding: 3rem 0 1.5rem;
    font-size: 0.9rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
}

.footer-col {
    flex: 1;
    min-width: 250px;
    margin-bottom: 1.5rem;
}

.site-footer .logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #FFD700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    display: block;
}

.footer-col h3 {
    color: #FFD700;
    margin-bottom: 1.2rem;
    font-size: 1.2rem;
}

.footer-col p {
    margin-bottom: 0.8rem;
    color: #ccc;
}

.footer-nav ul li {
    margin-bottom: 0.7rem;
}

.footer-nav ul li a {
    color: #ccc;
    transition: color 0.3s ease;
}

.footer-nav ul li a:hover {
    color: #FFD700;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid #333;
    color: #aaa;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .main-nav {
        display: none;
    }

    .hamburger-menu {
        display: flex;
    }

    .mobile-nav {
        position: fixed;
        top: 0;
        right: -100%; /* Hidden off-screen */
        width: 70%;
        height: 100vh;
        background-color: #0A0A0A;
        padding-top: 5rem;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
        transition: right 0.3s ease-in-out;
        z-index: 999;
        display: block; /* Make it block to allow transition */
    }

    .mobile-nav.active {
        right: 0; /* Slide in */
    }

    .mobile-nav ul {
        flex-direction: column;
        align-items: flex-start;
        padding: 0 1.5rem;
    }

    .mobile-nav ul li {
        margin: 0.8rem 0;
        width: 100%;
    }

    .mobile-nav ul li a {
        display: block;
        padding: 0.8rem 0;
        font-size: 1.1rem;
        color: #fff;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .mobile-nav ul li:last-child a {
        border-bottom: none;
    }

    .hamburger-menu.active span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    .hamburger-menu.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger-menu.active span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-col {
        min-width: unset;
        width: 100%;
        margin-bottom: 2rem;
    }

    .footer-col:last-child {
        margin-bottom: 0;
    }
}