:root {
    --primary-color: #1A237E; /* Dark Blue */
    --secondary-color: #FFD700; /* Gold */
    --text-color: #f0f0f0;
    --bg-dark: #121212;
    --bg-light-dark: #1e1e1e;
}

body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    background-color: var(--bg-dark);
}

body.no-scroll {
    overflow: hidden;
}

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

a:hover {
    text-decoration: underline;
}

/* Header Styles */
.site-header {
    background-color: var(--primary-color);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.site-header .logo {
    font-family: 'Georgia', serif; /* A more classic/stronger font for brand */
    font-size: 2.2em;
    font-weight: bold;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    white-space: nowrap; /* Prevent logo from breaking */
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 25px;
}

.main-nav a {
    color: var(--text-color);
    font-size: 1.1em;
    font-weight: 500;
    padding: 5px 0;
    position: relative;
    transition: color 0.3s ease;
}

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

.main-nav a:hover {
    color: var(--secondary-color);
}

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

.auth-buttons {
    display: flex;
    gap: 10px;
}

.btn {
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    transition: background-color 0.3s ease, color 0.3s ease;
    white-space: nowrap;
}

.btn-login {
    background-color: transparent;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
}

.btn-login:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    text-decoration: none;
}

.btn-register {
    background-color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    color: var(--primary-color);
}

.btn-register:hover {
    background-color: #e6c200; /* Slightly darker gold */
    border-color: #e6c200;
    text-decoration: none;
}

.hamburger-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 1001; /* Above main-nav when open */
}

.hamburger-menu .bar {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--secondary-color);
    margin-bottom: 5px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger-menu .bar:last-child {
    margin-bottom: 0;
}

.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 Styles */
.site-footer {
    background-color: var(--primary-color);
    color: var(--text-color);
    padding: 40px 0 20px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.5);
    margin-top: 50px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-columns {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-col {
    flex: 1;
    min-width: 250px;
}

.footer-col.footer-info {
    flex: 1.5; /* Give more space to info column */
    min-width: 300px;
}

.site-footer .footer-logo {
    font-family: 'Georgia', serif;
    font-size: 1.8em;
    font-weight: bold;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    display: block;
}

.footer-col p {
    font-size: 0.95em;
    line-height: 1.6;
    margin-bottom: 10px;
}

.footer-col h3 {
    font-size: 1.3em;
    color: var(--secondary-color);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 5px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--text-color);
    font-size: 0.95em;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.contact-details p {
    margin-bottom: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9em;
}

.copyright {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
}

.scroll-to-top {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.5em;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s ease, transform 0.3s ease;
    position: fixed; /* Fixed position */
    bottom: 30px;
    right: 30px;
    z-index: 999;
    opacity: 0; /* Hidden by default */
    visibility: hidden;
    transform: translateY(10px);
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .main-nav ul {
        gap: 15px;
    }
    .btn {
        padding: 8px 15px;
    }
    .site-header .logo {
        font-size: 1.8em;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-wrap: wrap;
        justify-content: center;
        position: relative;
    }

    .site-header .logo {
        flex-basis: 100%;
        text-align: center;
        margin-bottom: 15px;
    }

    .main-nav {
        order: 3; /* Move nav below logo and auth buttons */
        flex-basis: 100%;
        background-color: var(--primary-color);
        position: absolute;
        top: 100%; /* Position below header */
        left: 0;
        width: 100%;
        height: 0;
        overflow: hidden;
        transition: height 0.3s ease, padding 0.3s ease;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
        z-index: 999;
        padding: 0;
    }

    .main-nav.active {
        height: auto; /* Adjust height dynamically based on content */
        max-height: 300px; /* Max height to prevent overflow issues */
        padding: 15px 0;
    }

    .main-nav ul {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .main-nav a {
        padding: 10px 0;
        display: block;
    }

    .auth-buttons {
        order: 2; /* Position next to hamburger */
        margin-left: auto; /* Push to the right */
        margin-right: 15px;
        display: none; /* Hide by default, can be shown in a dedicated mobile menu if desired */
    }
    
    .hamburger-menu {
        display: block;
        position: absolute;
        top: 25px;
        right: 20px;
    }

    /* Footer Responsive */
    .footer-columns {
        flex-direction: column;
        gap: 40px;
    }

    .footer-col {
        min-width: unset;
        width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
    }
}