:root {
    --primary-color: #007bff;
    --secondary-color: #ffc107;
    --accent-color: #dc3545;
    --text-color: #333;
    --light-text-color: #f8f9fa;
    --dark-bg: #212529;
    --light-bg: #ffffff;
    --gray-bg: #f8f9fa;
}

body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding-top: 70px; /* Default padding for desktop header height */
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a:hover {
    text-decoration: underline;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--light-text-color);
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
}

.btn-primary:hover {
    background-color: #0056b3;
    box-shadow: 0 6px 12px rgba(0, 123, 255, 0.4);
    text-decoration: none;
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--dark-bg);
    box-shadow: 0 4px 8px rgba(255, 193, 7, 0.3);
}

.btn-secondary:hover {
    background-color: #e0a800;
    box-shadow: 0 6px 12px rgba(255, 193, 7, 0.4);
    text-decoration: none;
}

.btn-accent {
    background-color: var(--accent-color);
    color: var(--light-text-color);
    box-shadow: 0 4px 8px rgba(220, 53, 69, 0.3);
}

.btn-accent:hover {
    background-color: #c82333;
    box-shadow: 0 6px 12px rgba(220, 53, 69, 0.4);
    text-decoration: none;
}

.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    min-height: 70px;
    background-color: var(--dark-bg);
    color: var(--light-text-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    box-sizing: border-box;
}

.site-header .header-top-bar {
    display: flex;
    align-items: center;
    order: 1;
}

.site-header .logo {
    font-size: 2em;
    font-weight: bold;
    color: var(--secondary-color);
    text-decoration: none;
    padding: 10px 0;
    display: block;
}

.site-header .logo:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.site-header .main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
    order: 2;
}

.site-header .main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
}

.site-header .main-nav li {
    margin: 0 15px;
}

.site-header .main-nav a {
    color: var(--light-text-color);
    font-weight: bold;
    padding: 10px 0;
    display: block;
    position: relative;
    transition: color 0.3s ease;
}

.site-header .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;
}

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

.site-header .main-nav a:hover {
    color: var(--primary-color);
}

.site-header .desktop-nav-buttons {
    display: flex;
    gap: 10px;
    margin-left: auto;
    order: 3;
}

.site-header .hamburger-menu,
.site-header .mobile-buttons-area,
.site-header .mobile-spacer,
.site-header .mobile-menu-overlay {
    display: none;
}

.site-footer {
    background-color: var(--dark-bg);
    color: var(--light-text-color);
    padding: 40px 20px;
    font-size: 0.9em;
}

.site-footer .footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    max-width: 1200px;
    margin: 0 auto 30px auto;
    gap: 20px;
}

.site-footer .footer-section {
    flex: 1;
    min-width: 200px;
    margin-bottom: 20px;
}

.site-footer h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 1.2em;
}

.site-footer p,
.site-footer li {
    margin-bottom: 8px;
}

.site-footer a {
    color: var(--light-text-color);
    text-decoration: none;
}

.site-footer a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

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

.site-footer .footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 20px;
}

@media (max-width: 768px) {
    body {
        padding-top: 130px;
    }

    .site-header {
        flex-direction: column;
        align-items: stretch;
        min-height: unset;
        padding: 0;
    }

    .site-header .header-top-bar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 20px;
        background-color: var(--dark-bg);
        width: 100%;
        box-sizing: border-box;
        order: 1;
    }

    .site-header .logo {
        flex-grow: 1;
        text-align: center;
        font-size: 1.8em;
        padding: 0;
        display: block;
    }

    .site-header .hamburger-menu {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        width: 30px;
        height: 25px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 1001;
        order: 1;
    }

    .site-header .hamburger-menu .bar {
        width: 100%;
        height: 3px;
        background-color: var(--light-text-color);
        transition: all 0.3s ease;
    }

    .site-header .hamburger-menu.active .bar:nth-child(1) {
        transform: translateY(11px) rotate(45deg);
    }

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

    .site-header .hamburger-menu.active .bar:nth-child(3) {
        transform: translateY(-11px) rotate(-45deg);
    }

    .site-header .mobile-spacer {
        width: 30px;
        order: 3;
        display: block;
    }

    .site-header .mobile-buttons-area {
        display: flex;
        justify-content: center;
        gap: 10px;
        padding: 10px 20px;
        background-color: var(--dark-bg);
        width: 100%;
        box-sizing: border-box;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        z-index: 1000;
        order: 2;
        flex-wrap: wrap;
    }
    .site-header .mobile-buttons-area .btn {
        flex: 1 1 auto;
        min-width: 120px;
    }

    .site-header .main-nav {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        width: 70%;
        height: 100vh;
        background-color: var(--dark-bg);
        padding-top: 80px;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 1000;
        order: unset;
    }

    .site-header .main-nav.active {
        display: flex;
        transform: translateX(0);
    }

    .site-header .main-nav ul {
        flex-direction: column;
        width: 100%;
    }

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

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

    .site-header .main-nav a {
        padding: 15px 20px;
        text-align: left;
        color: var(--light-text-color);
    }

    .site-header .main-nav a::after {
        display: none;
    }
    .site-header .main-nav a:hover {
        background-color: var(--primary-color);
        color: var(--light-text-color);
    }

    .site-header .desktop-nav-buttons {
        display: none;
    }

    .mobile-menu-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }

    .mobile-menu-overlay.active {
        display: block;
    }

    .site-footer .footer-content {
        flex-direction: column;
        align-items: center;
    }

    .site-footer .footer-section {
        text-align: center;
        width: 100%;
        min-width: unset;
    }
}