/* Base Styles */
:root {
    --primary-color: #FFD700; /* Gold */
    --secondary-color: #2C3E50; /* Dark Blue */
    --text-color: #333;
    --light-text-color: #f0f0f0;
    --link-hover-color: #E6C200;
    --bg-dark: #1a252f;
    --bg-light: #ffffff;
}

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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-light);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: var(--secondary-color);
}

a:hover {
    color: var(--link-hover-color);
}

ul {
    list-style: none;
}

/* Header Styles */
.site-header {
    background-color: var(--bg-dark);
    padding: 1rem 0;
    border-bottom: 3px solid var(--primary-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px 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 20px;
}

.logo {
    font-family: 'Georgia', serif; /* Creative font choice */
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    transition: color 0.3s ease;
}

.logo:hover {
    color: var(--link-hover-color);
}

.main-nav ul {
    display: flex;
    gap: 25px;
}

.main-nav a {
    color: var(--light-text-color);
    font-weight: 600;
    font-size: 1.1rem;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
}

.main-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 3px;
    background-color: var(--primary-color);
    transition: width 0.3s ease-in-out;
}

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

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary-color);
}

.hamburger-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger-menu .bar {
    display: block;
    width: 30px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 6px 0;
    transition: 0.4s;
}

/* Footer Styles */
.site-footer {
    background-color: var(--secondary-color);
    color: var(--light-text-color);
    padding: 3rem 0;
    font-size: 0.95rem;
    border-top: 3px solid var(--primary-color);
    position: relative;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding: 0 20px;
}

.footer-column h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    text-transform: uppercase;
}

.footer-column p {
    margin-bottom: 0.8rem;
}

.footer-column a {
    color: var(--light-text-color);
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--primary-color);
}

.footer-logo {
    font-family: 'Georgia', serif;
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    margin-bottom: 1rem;
    display: inline-block;
}

.footer-logo:hover {
    color: var(--link-hover-color);
}

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

.copyright {
    margin-top: 1.5rem;
    font-size: 0.85rem;
    opacity: 0.8;
}

#backToTop {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background-color: var(--primary-color);
    color: var(--bg-dark);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s ease, transform 0.3s ease;
    opacity: 0;
    visibility: hidden;
}

#backToTop.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#backToTop:hover {
    background-color: var(--link-hover-color);
    transform: translateY(-3px);
}

.arrow-up {
    display: block;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 12px solid var(--secondary-color);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .header-container {
        padding: 0 15px;
    }

    .hamburger-menu {
        display: block;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-dark);
        border-top: 1px solid var(--primary-color);
        display: none;
        flex-direction: column;
        text-align: center;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    }

    .main-nav.active {
        display: flex;
    }

    .main-nav ul {
        flex-direction: column;
        padding: 1rem 0;
        gap: 0;
    }

    .main-nav li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .main-nav li:last-child {
        border-bottom: none;
    }

    .main-nav a {
        display: block;
        padding: 1rem 0;
        width: 100%;
    }

    .main-nav a::after {
        display: none; /* Hide underline for mobile menu items */
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-column h3 {
        margin-top: 2rem;
        margin-bottom: 1rem;
    }

    .footer-logo {
        margin-bottom: 0.5rem;
    }

    .copyright {
        margin-top: 1rem;
    }

    #backToTop {
        bottom: 15px;
        right: 15px;
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 2rem;
    }

    .footer-logo {
        font-size: 1.8rem;
    }
}