/* Belgian Government Official Style - Enhanced */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #003d82; /* Belgian blue */
    --primary-dark: #002554;
    --primary-light: #0052a3;
    --secondary-color: #ffd700; /* Gold accent */
    --secondary-dark: #e6c200;
    --text-color: #333333;
    --bg-color: #ffffff;
    --light-gray: #f5f5f5;
    --medium-gray: #e8e8e8;
    --border-color: #cccccc;
    --hover-color: #002a5c;
    --shadow-light: rgba(0, 0, 0, 0.08);
    --shadow-medium: rgba(0, 0, 0, 0.12);
    --shadow-dark: rgba(0, 0, 0, 0.16);
}

body {
    font-family: 'Arial', 'Helvetica', sans-serif;
    color: var(--text-color);
    background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 30vh);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Header */
header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 50%, var(--primary-light) 100%);
    color: white;
    padding: 25px 0;
    border-bottom: 4px solid var(--secondary-color);
    box-shadow: 0 4px 12px var(--shadow-medium);
    position: relative;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 215, 0, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.logo-section h1 {
    font-size: 1.8em;
    font-weight: bold;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
}

.language-switcher {
    display: flex;
    gap: 10px;
}

.language-switcher a {
    color: white;
    text-decoration: none;
    padding: 10px 18px;
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-radius: 5px;
    font-weight: bold;
    font-size: 0.95em;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.language-switcher a:hover {
    background-color: white;
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    border-color: white;
}

.language-switcher a.active {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--primary-dark);
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.4);
}

/* Navigation */
.main-nav {
    background: linear-gradient(to bottom, #ffffff 0%, var(--light-gray) 100%);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 3px 8px var(--shadow-light);
    position: relative;
}

.main-nav::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent 0%, var(--primary-color) 50%, transparent 100%);
}

.nav-tabs {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

.nav-tabs li {
    flex: 1;
    min-width: 150px;
    position: relative;
}

.nav-tabs li:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    bottom: 20%;
    width: 1px;
    background: linear-gradient(to bottom, transparent 0%, var(--border-color) 50%, transparent 100%);
}

.nav-tabs a {
    display: block;
    padding: 18px 25px;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    text-align: center;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.nav-tabs a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 61, 130, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-tabs a:hover {
    background: linear-gradient(to bottom, var(--medium-gray) 0%, #e0e0e0 100%);
    border-bottom-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 2px 8px var(--shadow-light);
}

.nav-tabs a:hover::before {
    opacity: 1;
}

.nav-tabs a.active {
    background: linear-gradient(to bottom, white 0%, #fafafa 100%);
    color: var(--primary-color);
    border-bottom-color: var(--secondary-color);
    box-shadow: inset 0 -2px 8px rgba(255, 215, 0, 0.2);
    font-weight: 700;
}

/* Main Content */
main {
    flex: 1;
    padding: 50px 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(245, 245, 245, 0.3) 100%);
    position: relative;
}

main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: radial-gradient(ellipse at top, rgba(0, 61, 130, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.content-section {
    background: linear-gradient(to bottom right, #ffffff 0%, #fafafa 100%);
    padding: 35px;
    border-radius: 8px;
    box-shadow: 
        0 4px 16px var(--shadow-light),
        0 1px 3px var(--shadow-medium);
    margin-bottom: 25px;
    border: 1px solid rgba(0, 61, 130, 0.08);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.content-section:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 8px 24px var(--shadow-medium),
        0 2px 6px var(--shadow-dark);
}

.content-section h2 {
    color: var(--primary-color);
    font-size: 2em;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--secondary-color);
    position: relative;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.05);
}

.content-section h2::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), transparent);
}

.content-section p {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 15px;
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: white;
    text-align: center;
    padding: 30px 0;
    margin-top: auto;
    border-top: 4px solid var(--secondary-color);
    box-shadow: 0 -4px 12px var(--shadow-medium);
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 80% 50%, rgba(255, 215, 0, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

footer p {
    margin: 0;
    font-size: 0.95em;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

.footer-links {
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.footer-links a {
    color: white;
    text-decoration: none;
    padding: 8px 15px;
    font-size: 0.9em;
    transition: all 0.3s ease;
    display: inline-block;
    border-radius: 3px;
}

.footer-links a:hover {
    background-color: rgba(255, 255, 255, 0.15);
    text-decoration: underline;
    transform: translateY(-1px);
}

.footer-separator {
    color: rgba(255, 255, 255, 0.6);
    margin: 0 5px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-top {
        flex-direction: column;
        gap: 15px;
    }
    
    .logo-section h1 {
        font-size: 1.5em;
        text-align: center;
    }
    
    .nav-tabs {
        flex-direction: column;
    }
    
    .nav-tabs li {
        flex: none;
        width: 100%;
    }
    
    .content-section {
        padding: 20px;
    }
    
    .content-section h2 {
        font-size: 1.5em;
    }
}

/* Official Badge Style */
.official-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-dark) 100%);
    color: var(--primary-dark);
    padding: 8px 20px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 0.9em;
    margin-bottom: 20px;
    box-shadow: 
        0 2px 8px rgba(255, 215, 0, 0.3),
        0 4px 16px rgba(0, 0, 0, 0.1);
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid rgba(0, 61, 130, 0.1);
    transition: transform 0.2s ease;
}

.official-badge:hover {
    transform: scale(1.05);
}

/* Info Boxes */
.info-box {
    background: linear-gradient(135deg, var(--light-gray) 0%, #fafafa 100%);
    border-left: 5px solid var(--primary-color);
    padding: 20px;
    margin: 25px 0;
    border-radius: 0 5px 5px 0;
    box-shadow: 
        0 2px 8px var(--shadow-light),
        inset 0 0 0 1px rgba(0, 61, 130, 0.05);
    position: relative;
    overflow: hidden;
}

.info-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(to bottom, var(--primary-color) 0%, var(--primary-light) 100%);
}

.info-box p {
    margin: 0;
    position: relative;
    z-index: 1;
}

.info-box p:not(:last-child) {
    margin-bottom: 10px;
}

/* Legislative Document Styles */
.legislative-document .law-title {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px;
    background: linear-gradient(135deg, var(--light-gray) 0%, #ffffff 100%);
    border: 3px solid var(--primary-color);
    border-radius: 8px;
    box-shadow: 
        0 4px 16px var(--shadow-light),
        inset 0 2px 8px rgba(0, 61, 130, 0.05);
    position: relative;
    overflow: hidden;
}

.legislative-document .law-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(to right, var(--primary-color) 0%, var(--secondary-color) 50%, var(--primary-color) 100%);
}

.legislative-document .law-title h3 {
    font-size: 1.8em;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: bold;
    text-transform: uppercase;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.05);
}

.legislative-document .law-subtitle {
    font-size: 1.2em;
    font-style: italic;
    color: var(--text-color);
    line-height: 1.6;
}

.legislative-document .law-section {
    margin-bottom: 40px;
}

.legislative-document .law-section h4 {
    font-size: 1.5em;
    color: var(--primary-color);
    margin-bottom: 25px;
    text-transform: uppercase;
    text-align: center;
    font-weight: bold;
    padding: 15px;
    background: linear-gradient(135deg, var(--light-gray) 0%, #fafafa 100%);
    border-left: 6px solid var(--primary-color);
    border-radius: 0 5px 5px 0;
    box-shadow: 0 2px 8px var(--shadow-light);
    position: relative;
}

.legislative-document .law-section h4::after {
    content: '';
    position: absolute;
    left: -6px;
    top: 0;
    bottom: 0;
    width: 6px;
    background: linear-gradient(to bottom, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.legislative-document .law-article {
    margin-bottom: 30px;
    padding: 25px;
    border-left: 4px solid var(--border-color);
    background: linear-gradient(to right, #fafafa 0%, #ffffff 100%);
    border-radius: 0 5px 5px 0;
    box-shadow: 0 2px 8px var(--shadow-light);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.legislative-document .law-article:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 12px var(--shadow-medium);
    border-left-color: var(--primary-color);
}

.legislative-document .law-article h5 {
    font-size: 1.2em;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: bold;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.03);
}

.legislative-document p {
    text-align: justify;
    margin-bottom: 15px;
    line-height: 1.8;
}

.legislative-document ul,
.legislative-document ol {
    margin-left: 30px;
    margin-bottom: 15px;
    line-height: 1.8;
}

.legislative-document li {
    margin-bottom: 10px;
}

.legislative-document strong {
    color: var(--primary-color);
    font-weight: bold;
}

.legislative-document sup {
    font-size: 0.8em;
}

/* Minister's Message - Journalistic Style */
.minister-message {
    max-width: 900px;
    margin: 0 auto;
}

.minister-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 25px;
    border-bottom: 4px solid transparent;
    background: linear-gradient(to right, transparent 0%, var(--primary-color) 50%, transparent 100%) bottom/100% 4px no-repeat;
}

.minister-header h2 {
    font-size: 2.2em;
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0;
    border-bottom: none;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.05);
}

.minister-article {
    font-family: 'Georgia', 'Times New Roman', serif;
}

.article-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 35px 25px;
    background: linear-gradient(135deg, var(--light-gray) 0%, #ffffff 50%, var(--light-gray) 100%);
    border-left: 6px solid var(--secondary-color);
    border-radius: 0 8px 8px 0;
    box-shadow: 
        0 4px 16px var(--shadow-light),
        inset 0 0 30px rgba(255, 215, 0, 0.05);
    position: relative;
}

.article-header::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 0;
    bottom: 0;
    width: 6px;
    background: linear-gradient(to bottom, var(--secondary-color) 0%, var(--secondary-dark) 100%);
}

.article-main-title {
    font-size: 2.5em;
    line-height: 1.3;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 700;
    font-family: 'Arial', 'Helvetica', sans-serif;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.05);
}

.article-subtitle {
    font-size: 1.4em;
    color: #555;
    font-style: italic;
    font-weight: 300;
    line-height: 1.5;
    margin: 0;
}

.article-lead {
    font-size: 1.2em;
    line-height: 1.9;
    color: #2c2c2c;
    margin-bottom: 40px;
    padding: 30px;
    background: linear-gradient(135deg, #f9f9f9 0%, #ffffff 100%);
    border-left: 5px solid var(--primary-color);
    border-radius: 0 5px 5px 0;
    font-weight: 400;
    box-shadow: 0 3px 12px var(--shadow-light);
    position: relative;
}

.article-lead::before {
    content: '';
    position: absolute;
    left: -5px;
    top: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(to bottom, var(--primary-color) 0%, var(--primary-light) 100%);
}

.article-lead p {
    margin: 0;
    text-align: justify;
}

.article-section {
    margin-bottom: 45px;
    padding-bottom: 30px;
    border-bottom: 2px solid transparent;
    background: linear-gradient(to right, var(--medium-gray) 0%, transparent 20%, transparent 80%, var(--medium-gray) 100%) bottom/100% 2px no-repeat;
}

.article-section:last-child {
    border-bottom: none;
    background: none;
}

.article-section h4 {
    font-size: 1.8em;
    color: var(--primary-color);
    margin-bottom: 25px;
    font-weight: 700;
    line-height: 1.4;
    font-family: 'Arial', 'Helvetica', sans-serif;
    position: relative;
    padding-left: 25px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.05);
}

.article-section h4:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background: linear-gradient(to bottom, var(--secondary-color) 0%, var(--secondary-dark) 100%);
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.3);
}

.article-section p {
    font-size: 1.15em;
    line-height: 1.9;
    color: #333;
    margin-bottom: 20px;
    text-align: justify;
}

.article-list {
    list-style: none;
    margin: 25px 0;
    padding: 0;
}

.article-list li {
    font-size: 1.1em;
    line-height: 1.8;
    color: #333;
    margin-bottom: 15px;
    padding: 12px 12px 12px 40px;
    position: relative;
    background: linear-gradient(to right, rgba(0, 61, 130, 0.02) 0%, transparent 100%);
    border-radius: 3px;
    transition: all 0.2s ease;
}

.article-list li:hover {
    background: linear-gradient(to right, rgba(0, 61, 130, 0.05) 0%, transparent 100%);
    padding-left: 45px;
}

.article-list li:before {
    content: '▸';
    position: absolute;
    left: 15px;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.3em;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.conclusion-section {
    background: linear-gradient(135deg, #f9f9f9 0%, #ffffff 50%, #f9f9f9 100%);
    padding: 35px;
    border-radius: 8px;
    border: none;
    border-left: 6px solid var(--secondary-color);
    box-shadow: 
        0 4px 16px var(--shadow-light),
        inset 0 0 30px rgba(255, 215, 0, 0.05);
    position: relative;
}

.conclusion-section::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 0;
    bottom: 0;
    width: 6px;
    background: linear-gradient(to bottom, var(--secondary-color) 0%, var(--secondary-dark) 100%);
}

.conclusion-section h4 {
    color: var(--primary-color);
    font-size: 1.9em;
    margin-bottom: 25px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.05);
}

.conclusion-section p {
    font-weight: 500;
}

/* Responsive adjustments for minister's message */
@media (max-width: 768px) {
    .article-main-title {
        font-size: 1.8em;
    }
    
    .article-subtitle {
        font-size: 1.2em;
    }
    
    .article-lead {
        font-size: 1.1em;
        padding: 20px;
    }
    
    .article-section h4 {
        font-size: 1.5em;
        padding-left: 15px;
    }
    
    .article-section p {
        font-size: 1.05em;
    }
    
    .article-list li {
        font-size: 1.05em;
        padding-left: 30px;
    }
    
    .minister-header h2 {
        font-size: 1.8em;
    }
}

/* Form button styles */
.btn-submit:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%) !important;
    box-shadow: 0 4px 8px var(--shadow-dark) !important;
}
