/* QuizDutch - Dutch Language Learning Website */

:root {
    --primary: #FF6B35;
    --secondary: #004E89;
    --accent: #F7931E;
    --success: #27AE60;
    --warning: #E74C3C;
    --light: #ECF0F1;
    --dark: #2C3E50;
    --text: #333;
    --border: #BDC3C7;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: #f9f9f9;
}

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

/* Header Styles */
header {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    color: white;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.header-top {
    background: rgba(0,0,0,0.1);
    padding: 10px 0;
    font-size: 0.9rem;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-contact span {
    margin-right: 20px;
}

.header-social a {
    margin-left: 15px;
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    transition: transform 0.3s;
}

.header-social a:hover {
    transform: scale(1.2);
}

.header-main {
    padding: 15px 0;
}

.header-main .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo:hover {
    opacity: 0.9;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
    font-weight: 500;
}

nav a:hover {
    opacity: 0.8;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--accent);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s, transform 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
}

.btn:hover {
    background: #E67E0E;
    transform: translateY(-2px);
}

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

.btn-secondary:hover {
    background: #003A6B;
}

/* Main Content */
main {
    padding: 40px 20px;
}

article {
    background: white;
    border-radius: 8px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: var(--shadow);
}

.article-header {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    color: white;
    padding: 60px 20px;
    margin-bottom: 40px;
    border-radius: 8px;
}

.article-header h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.article-meta {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 0.95rem;
    opacity: 0.9;
}

.article-body {
    font-size: 1.05rem;
    line-height: 1.8;
}

.article-body h2 {
    color: var(--secondary);
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 1.8rem;
    border-bottom: 3px solid var(--accent);
    padding-bottom: 10px;
}

.article-body h3 {
    color: var(--primary);
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.article-body p {
    margin-bottom: 15px;
    text-align: justify;
}

.article-body ul,
.article-body ol {
    margin: 20px 0 20px 30px;
}

.article-body li {
    margin-bottom: 10px;
    line-height: 1.8;
}

.article-body img {
    max-width: 100%;
    height: auto;
    margin: 30px 0;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

/* Vocabulary Box */
.vocab-box {
    background: linear-gradient(135deg, #E8F4F8 0%, #F0E8F8 100%);
    border-left: 5px solid var(--primary);
    padding: 20px;
    margin: 25px 0;
    border-radius: 5px;
    font-size: 1.05rem;
}

.vocab-box strong {
    color: var(--secondary);
}

.vocab-box em {
    color: var(--primary);
}

/* Grammar Box */
.grammar-box {
    background: linear-gradient(135deg, #FFF4E6 0%, #F0F8E8 100%);
    border-left: 5px solid var(--secondary);
    padding: 20px;
    margin: 25px 0;
    border-radius: 5px;
    font-size: 1.05rem;
}

.grammar-box code {
    background: rgba(0,0,0,0.05);
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    color: var(--secondary);
}

/* Example Box */
.example-box {
    background: #F8F9FA;
    border: 2px dashed var(--accent);
    padding: 20px;
    margin: 20px 0;
    border-radius: 5px;
}

.example-box .label {
    font-weight: bold;
    color: var(--accent);
    margin-bottom: 10px;
    display: block;
}

.example-box .dutch {
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 8px;
}

.example-box .english {
    color: #666;
    font-style: italic;
}

/* Pronunciation Guide */
.pronunciation {
    background: #E8F8E8;
    border-left: 5px solid var(--success);
    padding: 15px;
    margin: 15px 0;
    border-radius: 5px;
    font-family: 'Courier New', monospace;
}

.pronunciation .label {
    font-weight: bold;
    color: var(--success);
    margin-bottom: 5px;
}

/* Tips Box */
.tip-box {
    background: #FFF3CD;
    border-left: 5px solid var(--warning);
    padding: 20px;
    margin: 25px 0;
    border-radius: 5px;
}

.tip-box strong {
    color: var(--warning);
}

/* Comparison Table */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    background: white;
    box-shadow: var(--shadow);
    border-radius: 5px;
    overflow: hidden;
}

.comparison-table th {
    background: var(--secondary);
    color: white;
    padding: 15px;
    text-align: left;
    font-weight: 600;
}

.comparison-table td {
    padding: 15px;
    border-bottom: 1px solid var(--border);
}

.comparison-table tr:hover {
    background: #F5F5F5;
}

/* Quiz Section */
.quiz-section {
    background: linear-gradient(135deg, #E8F4F8 0%, #F0E8F8 100%);
    padding: 30px;
    border-radius: 8px;
    margin: 30px 0;
}

.quiz-section h3 {
    color: var(--secondary);
    margin-bottom: 20px;
}

.quiz-question {
    background: white;
    padding: 20px;
    margin: 15px 0;
    border-radius: 5px;
    border-left: 5px solid var(--accent);
}

.quiz-question p {
    font-weight: 600;
    margin-bottom: 15px;
}

.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.quiz-option {
    padding: 10px 15px;
    background: #F5F5F5;
    border: 2px solid transparent;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
}

.quiz-option:hover {
    background: #E8F4F8;
    border-color: var(--secondary);
}

/* Footer */
footer {
    background: var(--dark);
    color: white;
    padding: 50px 20px 20px;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3 {
    margin-bottom: 15px;
    color: var(--accent);
}

.footer-section ul {
    list-style: none;
}

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

.footer-section a {
    color: #BDC3C7;
    text-decoration: none;
    transition: color 0.3s;
}

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

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 20px;
    text-align: center;
    color: #BDC3C7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    nav ul {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    article {
        padding: 20px;
    }

    .article-header {
        padding: 40px 20px;
    }

    .article-header h1 {
        font-size: 1.8rem;
    }

    .article-meta {
        flex-direction: column;
        gap: 15px;
    }

    .comparison-table {
        font-size: 0.9rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 10px;
    }

    .vocab-box,
    .grammar-box,
    .example-box {
        font-size: 0.95rem;
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .article-header h1 {
        font-size: 1.4rem;
    }

    nav ul {
        gap: 15px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mt-40 {
    margin-top: 40px;
}

.mb-40 {
    margin-bottom: 40px;
}

.highlight {
    background: #FFFACD;
    padding: 2px 6px;
    border-radius: 3px;
}

.badge {
    display: inline-block;
    padding: 5px 12px;
    background: var(--accent);
    color: white;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-right: 10px;
    margin-bottom: 10px;
}

.success {
    color: var(--success);
}

.warning {
    color: var(--warning);
}

.info {
    color: var(--secondary);
}
