:root {
    --primary-color: #1A237E;
    --accent-color: #FFC107;
    --text-color: #333;
    --light-text-color: #fff;
    --dark-bg: #111;
    --light-bg: #f8f8f8;
    --border-color: #eee;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, sans-serif;
    margin: 0;
    padding-top: 80px; 
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-bg);
}

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

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

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

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--primary-color); 
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); 
    z-index: 1000;
    min-height: 60px; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 20px;
    box-sizing: border-box;
}

.header-main-content {
    width: 100%;
    max-width: 1200px; 
    margin: 0 auto;
}

.header-top-desktop {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.site-header .logo {
    font-family: 'Arial Black', sans-serif; 
    font-size: 2.2em;
    font-weight: bold;
    color: var(--accent-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    padding: 5px 0;
    white-space: nowrap;
}

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

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

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

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

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

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

.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 25px; 
    font-weight: bold;
    text-align: center;
    text-decoration: none; 
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
    cursor: pointer;
    white-space: nowrap;
}

.btn-primary {
    background-image: linear-gradient(45deg, #FFC107, #FFA000); 
    color: var(--primary-color); 
    border: none;
    box-shadow: 0 0 15px rgba(255, 193, 7, 0.6); 
}

.btn-primary:hover {
    background-image: linear-gradient(45deg, #FFA000, #FFC107);
    box-shadow: 0 0 20px rgba(255, 193, 7, 0.8);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: #4CAF50; 
    color: var(--light-text-color);
    border: none;
    box-shadow: 0 0 10px rgba(76, 175, 80, 0.4);
}

.btn-secondary:hover {
    background-color: #66BB6A;
    box-shadow: 0 0 15px rgba(76, 175, 80, 0.6);
    transform: translateY(-2px);
}

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

.hamburger-menu span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--light-text-color);
    margin-bottom: 5px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger-menu.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}
.hamburger-menu.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.mobile-nav {
    display: none; 
    position: absolute;
    top: 100%; 
    left: 0;
    width: 100%;
    background-color: var(--primary-color);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 999; 
    padding-bottom: 10px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.mobile-nav.active {
    max-height: 500px; 
}

.mobile-nav ul {
    flex-direction: column;
    text-align: center;
}

.mobile-nav li {
    margin: 10px 0;
}

.mobile-nav a {
    color: var(--light-text-color);
    font-size: 1.1em;
    padding: 10px 20px;
    display: block;
    transition: background-color 0.3s ease;
}

.mobile-nav a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--accent-color);
}

.site-footer {
    background-color: var(--dark-bg);
    color: #ccc;
    padding: 40px 20px;
    font-size: 0.9em;
    line-height: 1.8;
}

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

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

.footer-logo {
    font-family: 'Arial Black', sans-serif;
    font-size: 2em;
    font-weight: bold;
    color: var(--accent-color);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    display: block;
    margin-bottom: 15px;
}

.site-footer h3 {
    color: var(--light-text-color);
    font-size: 1.2em;
    margin-bottom: 20px;
    position: relative;
}

.site-footer h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 50px;
    height: 3px;
    background-color: var(--accent-color);
}

.site-footer ul {
    padding: 0;
}

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

.site-footer a {
    color: #ccc;
    transition: color 0.3s ease;
}

.site-footer a:hover {
    color: var(--accent-color);
}

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

.header-top-mobile, .mobile-only {
    display: none; 
}

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

    .desktop-only {
        display: none;
    }

    .header-top-desktop {
        display: none;
    }

    .header-top-mobile {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 0;
        width: 100%;
    }

    .hamburger-menu {
        display: block; 
        order: -1; 
        margin-right: auto; 
    }

    .site-header .logo {
        flex-grow: 1; 
        text-align: center; 
        font-size: 2em;
    }
    
    .mobile-empty-space {
        width: 45px; 
        height: 1px; 
    }

    .header-buttons.mobile-only {
        display: flex; 
        justify-content: center;
        width: 100%;
        padding: 10px 0;
        background-color: var(--primary-color); 
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        z-index: 1000; 
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .header-buttons.mobile-only .btn {
        padding: 8px 15px;
        font-size: 0.9em;
    }

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

    .footer-section {
        min-width: unset;
        width: 100%;
        margin-bottom: 30px;
    }

    .site-footer h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .site-footer .footer-info p {
        max-width: 80%;
        margin-left: auto;
        margin-right: auto;
    }
}