:root {
    --primary-color: #1f2937;
    --primary-hover: #263961;
    --primary-accent: #4769b1;
    --success-color: #059669;
    --error-color: #dc2626;
    --warning-color: #d97706;
    --text-primary: #111827;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-gray: #f3f4f6;
    --border-color: #e5e7eb;
    --border-dark: #d1d5db;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-secondary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Main Content */
main {
    flex: 1;
    padding: 0;
}

/* Quiz Layout Styles */
.quiz-wrapper {
    min-height: calc(100vh - 140px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    background: var(--bg-secondary);
}

.quiz-container {
    width: 100%;
    max-width: 1000px;
    min-width: 1000px;
    background: var(--bg-primary);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    min-height: 650px;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
}

/* Quiz Header */
.quiz-header {
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
}

.quiz-header-top {
    padding: 2rem;
}

.quiz-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.quiz-stats {
    display: flex;
    justify-content: space-around;
    gap: 2rem;
}

.stat-item {
    text-align: center;
    flex: 1;
}

.stat-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

.stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.progress-bar {
    height: 3px;
    background: var(--bg-gray);
    position: relative;
}

.progress-fill {
    height: 100%;
    background: var(--primary-accent);
    transition: width 0.3s ease;
    width: 0%;
}

/* Quiz Body */
.quiz-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 2.5rem;
    background: var(--bg-secondary);
}

/* Loading State */
.loading-state {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
}

.spinner {
    width: 48px;
    height: 48px;
    border: 3px solid var(--border-color);
    border-top-color: var(--text-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1.5rem;
}

.loading-state p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Question Section */
.question-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    animation: fadeIn 0.3s ease;
}

.question-box {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    min-height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.question-text {
    font-size: 1.375rem;
    font-weight: 500;
    color: var(--text-primary);
    text-align: center;
    line-height: 1.7;
    margin: 0;
}

/* Answers Section */
.answers-section {
    flex: 1;
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.answers-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    width: 100%;
}

.answer-btn {
    padding: 1.5rem;
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.15s ease;
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.5;
}

.answer-btn:hover:not(.disabled) {
    background: var(--primary-hover);
    color: white;
    border-color: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.answer-btn.correct {
    background: var(--success-color);
    color: white;
    border-color: var(--success-color);
}

.answer-btn.wrong {
    background: var(--error-color);
    color: white;
    border-color: var(--error-color);
}

.answer-btn.disabled {
    cursor: not-allowed;
    opacity: 0.8;
    pointer-events: none;
}

/* Timer Section */
.timer-section {
    margin-top: auto;
}

.timer-bar {
    height: 6px;
    background: var(--border-color);
    border-radius: 3px;
    overflow: hidden;
}

.timer-fill {
    height: 100%;
    background: var(--primary-accent);
    transition: width 1s linear;
    width: 100%;
}

/* Results Section */
.results-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.results-card {
    text-align: center;
    padding: 2rem;
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
}

.results-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.results-title {
    font-size: 1.875rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

.results-stats {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.final-score {
    margin-bottom: 1.5rem;
}

.score-label {
    display: block;
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

.score-value {
    display: block;
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.score-breakdown {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.breakdown-item {
    text-align: center;
}

.breakdown-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.breakdown-value {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* Results Actions */
.results-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.75rem;
    border: none;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-primary {
    background: var(--text-primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--bg-primary);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--bg-gray);
}

/* Home Page Styles */
.hero {
    text-align: center;
    padding: 4rem 0;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 700;
}

.hero p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.quiz-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.quiz-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.75rem;
    transition: all 0.2s;
    text-decoration: none;
    color: inherit;
}

.quiz-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-dark);
}

.quiz-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.quiz-card p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.quiz-meta {
    display: flex;
    justify-content: space-between;
    color: var(--text-light);
    font-size: 0.875rem;
}

/* Footer */
.site-footer {
    background: var(--bg-primary);
    padding: 2rem 0;
    margin-top: 2rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.question-id-timer {
    font-size: 0.7rem;
    color: var(--text-light);
    text-align: center;
    font-family: monospace;
    margin-top: 0.5rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .quiz-container {
        min-width: auto;  /* Remove min-width on smaller screens */
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .quiz-grid {
        grid-template-columns: 1fr;
    }

    .answer-btn:hover:not(.disabled) {
    background: none;
    border-color: none;
    }

    .btn-primary:hover {
    background: none;
    border-color: none;
    }

    .container {
        padding: 0;
    }

    .quiz-wrapper {
        padding: 1rem;
    }
    
    .quiz-header-top {
        padding: 1.5rem;
    }
    
    .quiz-title {
        font-size: 1.25rem;
    }
    
    .stat-value {
        font-size: 1.25rem;
    }
    
    .quiz-body {
        padding: 1.5rem;
    }
    
    .question-text {
        font-size: 1.125rem;
    }
    
    .answers-grid {
        grid-template-columns: 1fr;
    }
    
    .answer-btn {
        min-height: 75px;
    }
    
    .score-breakdown {
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .quiz-stats {
        gap: 1rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
    
    .stat-value {
        font-size: 1.125rem;
    }
    
    .question-box {
        padding: 1.5rem;
    }
    
    .results-actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
}








































/* Vakwoorden Styles */
.vakwoorden-wrapper {
    min-height: calc(100vh - 140px);
    padding: 2rem 1rem;
    background: var(--bg-secondary);
}

.vakwoorden-container {
    width: 100%;
    max-width: 1200px;
    min-width: 1200px;
    margin: 0 auto;
    background: var(--bg-primary);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    min-height: 700px;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
}

.vakwoorden-header {
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    padding: 2rem;
}

.vakwoorden-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.search-container {
    position: relative;
    max-width: 500px;
    margin: 0 auto 1rem;
}

.search-input {
    width: 100%;
    padding: 0.75rem 2.5rem 0.75rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.2s;
}

.search-input:focus {
    outline: none;
    border-color: var(--text-primary);
}

.search-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
}

.stats-bar {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.vakwoorden-body {
    flex: 1;
    background: var(--bg-secondary);
    overflow: visible;
}

.content-container {
    display: flex;
    height: calc(100vh - 400px);
}

.word-list-section {
    width: 40%;
    border-right: 1px solid var(--border-color);
    overflow-y: auto;
    background: var(--bg-primary);
}

.definition-section {
    flex: 1;
    position: sticky;
    top: 0;
    height: calc(100vh - 400px);
    overflow-y: auto;
    background: var(--bg-secondary);
    padding: 2rem;
}

.word-list {
    padding: 1rem;
}

.word-group {
    margin-bottom: 1.5rem;
}

.letter-header {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    padding: 0.5rem;
    background: var(--bg-secondary);
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.word-items {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.word-item {
    padding: 0.75rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.word-item:hover {
    background: var(--bg-secondary);
}

.word-item.active {
    background: var(--primary-hover);
    color: white;
}

.word-text {
    font-weight: 500;
}

.word-tags {
    display: flex;
    gap: 0.25rem;
    flex-wrap: wrap;
}

.word-tag {
    font-size: 0.7rem;
    padding: 0.15rem 0.4rem;
    background: var(--bg-gray);
    border-radius: 4px;
    color: var(--text-secondary);
}

.word-item.active .word-tag {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.definition-section {
    flex: 1;
    padding: 2rem;
    overflow-y: auto;
    background: var(--bg-secondary);
    position: sticky;
    top: 0;
    height: 100vh;
}

.definition-panel {
    background: var(--bg-primary);
    border-radius: 8px;
    padding: 2rem;
    min-height: 400px;
    border: 1px solid var(--border-color);
}

.definition-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    color: var(--text-secondary);
}

.placeholder-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.definition-content {
    animation: fadeIn 0.3s;
}

.definition-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.definition-word {
    font-size: 1.875rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.definition-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.definition-tag {
    font-size: 0.875rem;
    padding: 0.25rem 0.75rem;
    background: var(--bg-gray);
    border-radius: 4px;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.definition-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

.definition-link {
    color: var(--text-primary);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: all 0.2s;
}

.definition-link:hover {
    background: var(--bg-gray);
    padding: 2px 4px;
    border-radius: 4px;
    text-decoration: none;
}

.related-words {
    background: var(--bg-gray);
    border-radius: 8px;
    padding: 1rem;
    margin-top: 2rem;
}

.related-words h4 {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.related-link {
    color: var(--text-primary);
    font-weight: 500;
    text-decoration: none;
    padding: 2px 6px;
    border-radius: 4px;
    transition: all 0.2s;
}

.related-link:hover {
    background: var(--bg-primary);
    text-decoration: underline;
}

.related-text {
    color: var(--text-secondary);
}

.definition-footer {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    text-align: right;
}

.definition-id {
    font-size: 0.75rem;
    color: var(--text-light);
    font-family: monospace;
}

.no-words {
    text-align: center;
    color: var(--text-secondary);
    padding: 2rem;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .vakwoorden-container {
        min-width: auto;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .content-container {
        flex-direction: column;
    }
    
    .word-list-section {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        max-height: 300px;
    }
    
    .definition-section {
        width: 100%;
    }
    
    .definition-word {
        font-size: 1.5rem;
    }
    
    .definition-text {
        font-size: 1rem;
    }
    
    .definition-header {
        flex-direction: column;
        align-items: flex-start;
    }
}




































/* Handleidingen Styles */
.handleidingen-wrapper {
    min-height: calc(100vh - 140px);
    padding: 2rem 1rem;
    background: var(--bg-secondary);
}

.handleidingen-container {
    width: 100%;
    max-width: 1200px;
    min-width: 1200px;
    margin: 0 auto;
    background: var(--bg-primary);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    min-height: 700px;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
}

.handleidingen-header {
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    padding: 2rem;
}

.handleidingen-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.handleidingen-body {
    flex: 1;
    background: var(--bg-secondary);
    overflow: visible;
}

.brand-list-section {
    width: 35%;
    border-right: 1px solid var(--border-color);
    overflow-y: auto;
    background: var(--bg-primary);
}

.brand-list {
    padding: 1rem;
}

.brand-items {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.brand-item {
    padding: 1rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s;
    border: 1px solid transparent;
}

.brand-item:hover {
    background: var(--bg-secondary);
}

.brand-item.active {
    background: var(--primary-hover);
    color: white;
}

.brand-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-name {
    font-weight: 500;
    font-size: 1rem;
}

.brand-count {
    font-size: 0.875rem;
    padding: 0.25rem 0.5rem;
    background: var(--bg-gray);
    border-radius: 12px;
    color: var(--text-secondary);
}

.brand-item.active .brand-count {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.models-section {
    flex: 1;
    position: sticky;
    top: 0;
    height: calc(100vh - 400px);
    overflow-y: auto;
    background: var(--bg-secondary);
    padding: 2rem;
}

.models-panel {
    min-height: 400px;
}

.models-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    color: var(--text-secondary);
}

.placeholder-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.models-content {
    animation: fadeIn 0.3s;
}

.models-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.models-brand {
    font-size: 1.875rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.models-count {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.models-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.model-item {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.15s;
}

.model-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.model-info {
    margin-bottom: 1rem;
}

.model-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.5rem 0;
}

.model-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0.5rem 0;
}

.model-meta {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-top: 0.75rem;
    flex-wrap: wrap;
}

.model-tags {
    display: flex;
    gap: 0.25rem;
    flex-wrap: wrap;
}

.model-tag {
    font-size: 0.75rem;
    padding: 0.2rem 0.5rem;
    background: var(--bg-gray);
    border-radius: 4px;
    color: var(--text-secondary);
}

.model-year {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.model-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.file-info {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.file-type {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    background: var(--text-primary);
    color: white;
    border-radius: 4px;
    text-transform: uppercase;
}

.file-size {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--text-primary);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.15s;
}

.download-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.download-icon {
    font-size: 1.125rem;
}

.model-footer {
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-color);
    text-align: right;
}

.model-id {
    font-size: 0.7rem;
    color: var(--text-light);
    font-family: monospace;
}

.no-brands,
.no-models {
    text-align: center;
    color: var(--text-secondary);
    padding: 2rem;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .handleidingen-container {
        min-width: auto;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .content-container {
        flex-direction: column;
    }
    
    .brand-list-section {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        max-height: 250px;
    }
    
    .models-section {
        width: 100%;
    }
    
    .models-brand {
        font-size: 1.5rem;
    }
    
    .model-name {
        font-size: 1.125rem;
    }
    
    .model-actions {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .download-btn {
        justify-content: center;
    }
}

/* File type colors */
.file-type-pdf {
    background: #dc2626;
}

.file-type-doc,
.file-type-docx {
    background: #2563eb;
}

.file-type-png,
.file-type-jpg,
.file-type-jpeg,
.file-type-webp {
    background: #16a34a;
}

.file-type-zip {
    background: #7c3aed;
}

.file-type-txt {
    background: #6b7280;
}

.file-type-xls,
.file-type-xlsx {
    background: #059669;
}







/* Header Styles - Updated */
.site-header {
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-primary);
}

.logo-icon {
    font-size: 1.5rem;
}

/* Desktop Navigation */
.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--text-primary);
}

/* Hamburger Button */
.nav-toggle {
    display: none;
    width: 35px;
    height: 35px;
    border: 1px solid var(--text-primary);
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    z-index: 9999 !important;
}

.hamburger-line {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--text-primary);
    margin: 3px auto;
    transition: 0.3s;
}

.nav-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translateY(6px);
}

.nav-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translateY(-6px);
}

/* Mobile Styles */
@media screen and (max-width: 768px) {
    .nav-toggle {
        display: block;
    }
    
    .nav-links {
        display: none;
        position: fixed;
        top: 60px;
        right: 0;
        width: 250px;
        height: calc(100vh - 60px);
        background: var(--bg-primary);
        flex-direction: column;
        padding: 2rem 0;
        gap: 0;
        border-left: 1px solid var(--border-color);
        box-shadow: -2px 0 5px rgba(0,0,0,0.1);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links li {
        width: 100%;
    }
    
    .nav-links a {
        display: block;
        padding: 1rem 2rem;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-links a:hover {
        background: var(--bg-secondary);
    }
}