:root {
    --color-primary: #d4ff00;
    --color-text: #000;
    --color-text-inverse: #fff;
    --color-bg-dark: #000;
    --color-hover-dark: #333;
    --transition-fast: 0.2s;
    --border-radius: 4px;
    --border-radius-pill: 25px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--color-primary);
    min-height: 100vh;
}

/* Header Styles */
.site-header {
    padding: 1rem 2rem;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

/* Logo */
.logo a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--color-text);
}

.logo img {
    width: 40px;
    height: 40px;
}

.logo-text {
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.5px;
}

/* Navigation */
.header-nav-row {
    flex: 1;
    display: flex;
    justify-content: center;
}

.header-nav-row ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    margin: 0;
}

.header-nav-row a {
    text-decoration: none;
    color: var(--color-text);
    font-weight: 500;
    font-size: 0.95rem;
    transition: opacity var(--transition-fast);
}

.header-nav-row a:hover,
.lang-current:hover {
    opacity: 0.7;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-shrink: 0;
}

.language-switcher {
    position: relative;
}

.lang-current {
    background: none;
    border: none;
    color: var(--color-text);
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    padding: 0.5rem 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: opacity var(--transition-fast);
}

.dropdown-arrow {
    font-size: 0.7rem;
}

.lang-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 0.25rem);
    right: 0;
    background-color: var(--color-primary);
    border: 2px solid var(--color-text);
    border-radius: var(--border-radius);
    min-width: 140px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    z-index: 1000;
}

.lang-dropdown::before {
    content: '';
    position: absolute;
    top: -0.5rem;
    left: 0;
    right: 0;
    height: 0.5rem;
}

.language-switcher:hover .lang-dropdown,
.lang-dropdown:hover {
    display: block;
}

.lang-option {
    display: block;
    padding: 0.75rem 1rem;
    text-decoration: none;
    color: var(--color-text);
    font-weight: 400;
    font-size: 0.95rem;
    transition: background-color var(--transition-fast);
}

.lang-option:hover {
    background-color: rgba(0,0,0,0.05);
}

.lang-option.active {
    font-weight: 600;
    background-color: rgba(0,0,0,0.08);
}

/* Contact Button */
.btn-contact {
    background-color: var(--color-bg-dark);
    color: var(--color-text-inverse);
    padding: 0.6rem 1.5rem;
    border-radius: var(--border-radius-pill);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: background-color var(--transition-fast);
    white-space: nowrap;
    display: inline-block;
    min-width: 120px;
    text-align: center;
}

.btn-contact:hover {
    background-color: var(--color-hover-dark);
}

/* Responsive */
@media (max-width: 1024px) {
    .header-nav-row ul {
        gap: 1.5rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .site-header {
        padding: 0.75rem 1rem;
    }

    .header-container {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .logo {
        flex: 0 0 auto;
    }

    .logo img {
        width: 32px;
        height: 32px;
    }

    .logo-text {
        font-size: 1.1rem;
    }

    .header-actions {
        gap: 0.5rem;
        flex-shrink: 0;
    }

    .header-nav-row {
        flex-basis: 100%;
        order: 3;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .header-nav-row ul {
        gap: 1rem;
        font-size: 0.85rem;
        padding-bottom: 0.25rem;
        white-space: nowrap;
    }

    .lang-current {
        font-size: 0.75rem;
        padding: 0.4rem 0.6rem;
    }

    .lang-dropdown {
        min-width: 120px;
    }

    .lang-option {
        font-size: 0.85rem;
        padding: 0.6rem 0.8rem;
    }
}

@media (max-width: 480px) {
    .site-header {
        padding: 0.5rem 0.75rem;
    }

    .header-container {
        gap: 0.5rem;
    }

    .header-nav-row ul {
        gap: 0.75rem;
        font-size: 0.8rem;
    }
}
