/* Base Styles */
:root {
    --primary-color: #1A2E47;
    --secondary-color: #FFD700;
    --text-color: #333;
    --light-text-color: #f0f0f0;
    --dark-bg-color: #0d1a2b;
    --button-gradient-primary: linear-gradient(90deg, #FFD700 0%, #FFA500 100%);
    --button-gradient-secondary: linear-gradient(90deg, #1A2E47 0%, #2A4C73 100%);
    --button-text-primary: #1A2E47;
    --button-text-secondary: #FFD700;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding-top: 80px; /* Default for desktop */
    line-height: 1.6;
    color: var(--text-color);
    background-color: #f8f8f8;
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* Header Styles */
.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    min-height: 70px; /* Minimum height for desktop header */
    background-color: var(--primary-color);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: flex;
    align-items: center;
    padding: 0 20px;
    box-sizing: border-box;
}

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

.header-top-desktop {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.site-header .logo {
    font-size: 28px;
    font-weight: bold;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 5px 0;
}

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

.main-nav a {
    color: var(--light-text-color);
    font-weight: 500;
    font-size: 16px;
    padding: 10px 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,
.main-nav a.active {
    color: var(--secondary-color);
}

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

.header-actions-desktop {
    display: flex;
    gap: 15px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none; /* Crucial: no underline */
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.btn-primary {
    background: var(--button-gradient-primary);
    color: var(--button-text-primary);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 215, 0, 0.4);
}

.btn-secondary {
    background: var(--button-gradient-secondary);
    color: var(--button-text-secondary);
    border: 1px solid var(--secondary-color);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(26, 46, 71, 0.4);
}

/* Mobile Header Styles */
.header-mobile {
    display: none; /* Hidden by default on desktop */
    flex-direction: column;
    width: 100%;
}

.header-top-mobile {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 60px;
    padding: 0 10px;
    box-sizing: border-box;
    position: relative;
    z-index: 1001;
}

.header-top-mobile .logo {
    flex-grow: 1;
    text-align: center;
    font-size: 24px;
    padding: 0;
}

.mobile-placeholder {
    width: 40px;
    height: 1px;
}

.hamburger-menu {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    position: relative;
    z-index: 1002;
}

.hamburger-menu span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}

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

.header-buttons-mobile {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 10px 10px;
    background-color: var(--primary-color);
    width: 100%;
    box-sizing: border-box;
    z-index: 999; /* Below header-top-mobile */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.header-buttons-mobile .btn {
    flex-grow: 1;
    max-width: 150px;
    font-size: 14px;
    padding: 8px 15px;
}

.main-nav-mobile {
    position: fixed;
    top: 0; /* Will be adjusted by JS */
    left: 0;
    width: 100%;
    background-color: var(--dark-bg-color);
    padding-top: 130px; /* Initial padding to clear header top and buttons */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
    z-index: 1000;
    height: 100vh;
    overflow-y: auto;
    box-sizing: border-box;
}

.main-nav-mobile.open {
    transform: translateX(0);
}

.main-nav-mobile ul {
    flex-direction: column;
    gap: 0;
}

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

.main-nav-mobile a {
    display: block;
    padding: 15px 20px;
    color: var(--light-text-color);
    font-size: 18px;
    font-weight: 500;
}

.main-nav-mobile a:hover,
.main-nav-mobile a.active {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--secondary-color);
}

/* Footer Styles */
.site-footer {
    background-color: var(--dark-bg-color);
    color: var(--light-text-color);
    padding: 40px 20px 20px;
    font-size: 15px;
    line-height: 1.8;
}

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

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

.footer-section h3 {
    font-size: 20px;
    color: var(--secondary-color);
    margin-bottom: 20px;
    position: relative;
}

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

.site-footer .logo-footer {
    font-size: 28px;
    font-weight: bold;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 15px;
}

.footer-about p {
    font-size: 14px;
    opacity: 0.9;
}

.footer-nav ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav a {
    color: var(--light-text-color);
    transition: color 0.3s ease;
    font-size: 15px;
    opacity: 0.9;
}

.footer-nav a:hover {
    color: var(--secondary-color);
    opacity: 1;
}

.footer-contact p {
    margin-bottom: 10px;
    opacity: 0.9;
}

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

.footer-contact a:hover {
    color: var(--secondary-color);
}

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

/* Responsive adjustments */
@media (max-width: 992px) {
    .main-nav ul {
        gap: 15px;
    }
    .main-nav a {
        font-size: 15px;
    }
    .header-actions-desktop {
        gap: 10px;
    }
    .btn {
        padding: 8px 15px;
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 110px; /* Adjusted for mobile header height (top + buttons) */
    }

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

    .header-top-desktop,
    .main-nav,
    .header-actions-desktop {
        display: none;
    }

    .header-mobile {
        display: flex;
    }

    .footer-content-wrapper {
        flex-direction: column;
        gap: 20px;
    }

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