/* --- Global Variables and Reset --- */
:root {
    --primary-color: #1e3a8a;
    --secondary-color: #f59e0b;
    --text-color: #1f2937;
    --light-gray: #f9fafb;
    --white: #ffffff;
    --border-color: #e5e7eb;
    --shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.8;
    margin: 0;
    background-color: var(--light-gray);
    color: var(--text-color);
    scroll-behavior: smooth;
}

h1, h2, h3 {
    font-family: 'Poppins', sans-serif;
    color: var(--primary-color);
    font-weight: 600;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 16px;
}

/* --- Navigation --- */
nav {
    margin-top: 24px;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 0;
    flex-wrap: wrap;
    width: 100%;
    margin: 0 auto;
}

nav ul li {
    padding-left: 0;
}

nav ul li::before {
    content: none;
}

nav ul li a {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--white);
    color: var(--primary-color);
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 1.1em;
    border-radius: 10px;
    border: 2px solid var(--primary-color);
    transition: var(--transition);
    min-width: 100px;
    text-align: center;
    line-height: 1.2;
}

nav ul li a:hover {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

nav ul li a.active {
    background-color: var(--secondary-color);
    color: var(--text-color);
    border-color: var(--secondary-color);
}

/* --- Header --- */
header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #3b82f6 100%);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
    border-bottom: 6px solid var(--secondary-color);
    position: relative;
    overflow: hidden;
}

header h1 {
    color: var(--white);
    margin: 0;
    font-size: 3em;
    font-weight: 700;
    letter-spacing: -0.025em;
}

header .subtitle {
    font-size: 1.3em;
    opacity: 0.95;
    margin-top: 12px;
    font-weight: 300;
}

/* --- Main Content (Blog Style) --- */
main {
    padding: 60px 0;
}

article {
    background: var(--white);
    padding: 48px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

article:hover {
    transform: translateY(-4px);
}

.article-meta {
    text-align: center;
    color: #6b7280;
    font-size: 0.95em;
    margin-bottom: 32px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 24px;
}

section {
    margin-bottom: 48px;
}

section h2 {
    font-size: 2em;
    border-bottom: 3px solid var(--secondary-color);
    display: inline-block;
    padding-bottom: 8px;
    margin-bottom: 24px;
}

ul {
    list-style-type: none;
    padding-left: 0;
}

ul li {
    padding-left: 30px;
    position: relative;
    margin-bottom: 16px;
    font-size: 1.05em;
}

ul li::before {
    content: '✓';
    color: var(--secondary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 1.2em;
}

.conclusion-box {
    background-color: #eff6ff;
    border-left: 6px solid var(--primary-color);
    padding: 32px;
    border-radius: 8px;
    margin-top: 40px;
    transition: var(--transition);
}

.conclusion-box:hover {
    background-color: #dbeafe;
}

/* --- Images --- */
.image-placeholder {
    width: 100%;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    margin: 32px 0;
    position: relative;
    transition: var(--transition);
}

.image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.image-placeholder::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    opacity: 0;
    transition: var(--transition);
}

.image-placeholder:hover::after {
    opacity: 1;
}

.image-placeholder.small {
    height: 250px;
}

/* --- Table --- */
.table-container {
    overflow-x: auto;
    margin-top: 24px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 24px;
    border-radius: 8px;
    overflow: hidden;
}

th, td {
    border: 1px solid var(--border-color);
    padding: 16px;
    text-align: left;
}

thead {
    background: var(--primary-color);
    color: var(--white);
    font-weight: 500;
}

tbody tr:nth-child(even) {
    background-color: var(--light-gray);
}

tbody tr:hover {
    background-color: #f1f5f9;
}

/* --- Privacy Page & Links --- */
.back-link {
    display: inline-block;
    margin-bottom: 32px;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.back-link:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.privacy-policy h3 {
    margin-top: 40px;
    font-size: 1.6em;
}

/* --- Footer --- */
footer {
    text-align: center;
    padding: 32px 0;
    margin-top: 64px;
    background: #111827;
    color: #d1d5db;
}

footer a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
}

footer a:hover {
    color: #fbbf24;
    text-decoration: underline;
}

/* --- Cookie Modal --- */
#cookie-modal {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 600px;
    background: #1f2937;
    color: var(--white);
    box-shadow: var(--shadow);
    z-index: 1000;
    padding: 24px;
    border-radius: 12px;
    animation: slideUp 0.5s ease-out;
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.cookie-content p {
    margin: 0;
    font-size: 0.95em;
}

.cookie-content a {
    color: var(--secondary-color);
    text-decoration: underline;
}

#accept-cookies {
    background: var(--secondary-color);
    color: var(--text-color);
    border: none;
    border-radius: 8px;
    padding: 12px 32px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

#accept-cookies:hover {
    background: #fbbf24;
    transform: translateY(-2px);
}

@keyframes slideUp {
    from {
        transform: translateX(-50%) translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

/* --- Media Queries for Responsiveness --- */
@media (max-width: 768px) {
    header h1 {
        font-size: 2.2em;
    }

    header .subtitle {
        font-size: 1.1em;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    article {
        padding: 24px;
    }

    .image-placeholder {
        height: 300px;
    }

    .image-placeholder.small {
        height: 180px;
    }

    nav ul {
        gap: 10px;
        justify-content: center;
        padding: 0 8px;
    }

    nav ul li a {
        padding: 10px 20px;
        font-size: 1em;
        min-width: 80px;
    }
}

@media (max-width: 480px) {
    header {
        padding: 40px 0;
    }

    .container {
        padding: 0 12px;
    }

    section h2 {
        font-size: 1.6em;
    }

    table {
        font-size: 0.9em;
    }

    th, td {
        padding: 12px;
    }

    nav ul {
        flex-direction: column;
        gap: 12px;
        padding: 10px 0;
        width: 100%;
        box-sizing: border-box;
    }

    nav ul li a {
        width: 100%;
        max-width: 100%;
        padding: 14px 20px;
        font-size: 1.05em;
        border-radius: 12px;
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        box-sizing: border-box; 
    }
}