/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #ffffff;
    color: #000000;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.header {
    padding: 10px 40px;
    border-bottom: 1px solid #f0f0f0;
}

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

.logo-link {
    text-decoration: none;
    color: inherit;
}

.logo-link:hover {
    text-decoration: none;
    color: inherit;
}

.logo h1 {
    font-size: 24px;
    font-weight: 700;
    color: #000000;
    margin: 0;
    transition: opacity 0.2s ease;
}

.logo-link:hover h1 {
    opacity: 0.8;
}

.navigation {
    display: flex;
    gap: 32px;
}

.nav-link {
    color: #000000;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: #666666;
}

/* Burger menu */
.header {
    padding: 10px 40px;
    border-bottom: 1px solid #f0f0f0;
    position: relative; /* anchor for dropdown positioning */
}

.burger-button {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    gap: 6px;
    padding: 8px;
}

.burger-line {
    display: block;
    width: 22px;
    height: 2px;
    background-color: #000000;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.burger-button.is-active .burger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.burger-button.is-active .burger-line:nth-child(2) {
    opacity: 0;
}

.burger-button.is-active .burger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Hide navigation by default; shown when toggled */
.navigation {
    display: none;
}

.navigation.is-open {
    display: flex;
    position: absolute;
    top: 100%;
    right: 40px;
    flex-direction: column;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    padding: 12px;
    gap: 8px;
    border-radius: 8px;
    z-index: 1000;
    min-width: 220px;
}

.navigation.is-open .nav-link {
    padding: 8px 10px;
    border-radius: 6px;
}

.navigation.is-open .nav-link:hover {
    background-color: #f5f5f5;
}

/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-bottom: 10px;
    min-height: calc(100vh - 120px);
}

/* Footer Support Text */
.footer-support-text {
    background-color: #f8f9fa;
    padding: 20px 40px;
    text-align: center;
    border-top: 1px solid #e0e0e0;
}

.footer-support-text p {
    max-width: 1200px;
    margin: 0 auto;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* Footer */
.footer {
    border-top: 1px solid #e0e0e0;
    padding: 20px 20px;
    background-color: transparent;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.footer-logos {
    display: flex;
    align-items: center;
    gap: 40px;
}

.footer-logo {
    height: 50px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

.footer-support {
    text-align: left;
    max-width: 450px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.support-text {
    font-size: 11px;
    color: #37D5AC;
    margin-bottom: 0;
    line-height: 1.4;
}

.movetia-section {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.movetia-logo .footer-logo {
    height: 40px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    margin-bottom: 0;
}

.movetia-subtitles {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.movetia-subtitles p {
    font-size: 12px;
    color: #3BD4A8;
    margin: 0;
    line-height: 1.3;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        padding: 20px;
    }
    
    .header-content {
        flex-direction: row; /* keep logo and burger on one line */
        gap: 0;
    }
    
    .navigation.is-open {
        right: 20px; /* align with reduced mobile padding */
    }
    
    .footer {
        padding: 20px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .footer-logos {
        justify-content: center;
        gap: 30px;
    }
    
    .footer-support {
        text-align: center;
        flex-direction: column;
        gap: 12px;
    }
    
    .movetia-subtitles {
        align-items: center;
    }
}

@media (max-width: 480px) {
    .nav-link {
        font-size: 14px;
    }
}
