/* General Styling */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: #1A202C;
    line-height: 1.6;
}
a {
    text-decoration: none;
    color: #FFD700;
}
a:hover {
    color: #E0B500;
}

/* Header */
.site-header {
    background-color: #1A202C;
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1.5rem;
}
.logo {
    font-size: 2rem;
    font-weight: bold;
    color: #FFD700;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}
.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1.5rem;
}
.main-nav a {
    color: #fff;
    font-weight: bold;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
    position: relative;
}
.main-nav a:hover,
.main-nav a.active-link {
    color: #FFD700;
}
.main-nav a.active-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: #FFD700;
}

/* Hamburger Menu (Mobile) */
.hamburger-menu {
    display: none; /* Hidden by default on desktop */
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1000;
}
.hamburger-menu .bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #FFD700;
    margin: 5px 0;
    transition: 0.4s;
}
.hamburger-menu.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.hamburger-menu.active .bar:nth-child(2) {
    opacity: 0;
}
.hamburger-menu.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Footer */
.site-footer {
    background-color: #1A202C;
    color: #fff;
    padding: 3rem 0 1rem;
    font-size: 0.9rem;
    position: relative; /* For the back to top button */
}
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 0 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 2rem;
}
.footer-logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #FFD700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    display: block;
}
.footer-column h3 {
    color: #FFD700;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}
.footer-column p {
    margin-bottom: 0.5rem;
    color: #ccc;
}
.footer-column a {
    color: #fff;
    transition: color 0.3s ease;
}
.footer-column a:hover {
    color: #FFD700;
}
.footer-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.footer-nav li {
    margin-bottom: 0.5rem;
}
.social-links {
    margin-top: 1rem;
    display: flex;
    gap: 1rem;
}
.social-links a {
    color: #fff;
    font-size: 1rem;
    border: 1px solid #FFD700;
    padding: 0.5rem 0.8rem;
    border-radius: 4px;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.social-links a:hover {
    background-color: #FFD700;
    color: #1A202C;
}
.footer-bottom {
    max-width: 1200px;
    margin: 1rem auto 0;
    text-align: center;
    padding: 0 1.5rem;
    color: #ccc;
}

/* Back to Top Button */
#backToTopBtn {
    display: none; /* Hidden by default */
    position: fixed; /* Fixed position */
    bottom: 20px; /* Place at the bottom */
    right: 30px; /* Place at the right */
    z-index: 99; /* Make sure it's above other elements */
    border: none; /* Remove borders */
    outline: none; /* Remove outline */
    background-color: #FFD700; /* Set a background color */
    color: #1A202C; /* Text color */
    cursor: pointer; /* Add a mouse pointer on hover */
    padding: 15px; /* Some padding */
    border-radius: 10px; /* Rounded corners */
    font-size: 18px; /* Increase font size */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, color 0.3s ease;
}

#backToTopBtn:hover {
    background-color: #E0B500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        padding: 0 1rem;
    }
    .main-nav {
        position: absolute;
        top: 100%; /* Position below header */
        left: 0;
        width: 100%;
        background-color: #1A202C;
        flex-direction: column;
        align-items: center;
        padding: 1rem 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
        transform: translateY(-150%); /* Start off-screen */
        transition: transform 0.4s ease-in-out;
        z-index: 999;
    }
    .main-nav.active {
        transform: translateY(0); /* Slide in */
    }
    .main-nav ul {
        flex-direction: column;
        width: 100%;
        text-align: center;
    }
    .main-nav li {
        margin: 0.5rem 0;
    }
    .main-nav a {
        display: block;
        padding: 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        width: 100%;
    }
    .main-nav a.active-link::after {
        display: none; /* Remove underline for mobile active state */
    }
    .hamburger-menu {
        display: block; /* Show on mobile */
    }

    .footer-container {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
    .footer-column {
        text-align: center;
    }
    .footer-column h3 {
        margin-top: 1.5rem;
    }
    .social-links {
        justify-content: center;
    }
    #backToTopBtn {
        right: 20px; /* Adjust for smaller screens */
        padding: 12px;
        font-size: 16px;
    }
}