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

:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --border-color: #dee2e6;
    --success-color: #27ae60;
    --white: #ffffff;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.main-header {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 1rem 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.container-header {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.site-logo {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
}

.site-name {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--white);
}

.primary-nav {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.nav-list li a {
    color: var(--white);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.9rem;
}

.nav-list li a:hover,
.nav-list li a.nav-active {
    background-color: var(--secondary-color);
}

.hero-banner {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" opacity=".25"/><path d="M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z" opacity=".5"/><path d="M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z"/></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.1;
}

.hero-overlay {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.95;
}

.main-content {
    padding: 3rem 0;
}

.container-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.intro-section {
    margin-bottom: 3rem;
}

.intro-content {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.intro-content h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.intro-content h3 {
    color: var(--secondary-color);
    margin: 1.5rem 0 1rem;
    font-size: 1.5rem;
}

.intro-content p {
    margin-bottom: 1rem;
    text-align: justify;
}

.intro-content ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.translation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.translation-item {
    background: var(--light-bg);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--secondary-color);
}

.translation-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.translation-item p {
    margin-bottom: 0.5rem;
}

.timeline-section {
    margin: 3rem 0;
}

.timeline-section h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
    font-size: 2rem;
}

.timeline-container {
    position: relative;
    padding: 2rem 0;
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: var(--secondary-color);
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-year {
    flex: 0 0 100px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--secondary-color);
    background: var(--white);
    padding: 1rem;
    border-radius: 50%;
    border: 4px solid var(--secondary-color);
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.timeline-content {
    flex: 1;
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin: 0 2rem;
}

.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.featured-posts {
    margin: 3rem 0;
}

.featured-posts h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
    font-size: 2rem;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.post-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.post-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.post-content {
    padding: 1.5rem;
}

.post-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.post-content p {
    color: #666;
    margin-bottom: 1rem;
}

.read-more-btn {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s;
}

.read-more-btn:hover {
    background: var(--primary-color);
}

.features-section {
    margin: 3rem 0;
}

.features-section h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
    font-size: 2rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-box {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s;
}

.feature-box:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.feature-box h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-box p {
    color: #666;
    line-height: 1.6;
}

.site-footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-column h4 {
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.company-reg {
    margin-top: 1rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-bottom {
    text-align: center;
    padding: 2rem 0 1rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary-color);
    color: var(--white);
    padding: 1.5rem;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
    z-index: 9999;
    display: none;
}

.cookie-banner.show {
    display: block;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-content p {
    margin: 0;
    flex: 1;
}

.cookie-content a {
    color: var(--secondary-color);
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

.btn-accept,
.btn-decline {
    padding: 0.7rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: opacity 0.3s;
}

.btn-accept {
    background: var(--success-color);
    color: var(--white);
}

.btn-decline {
    background: var(--accent-color);
    color: var(--white);
}

.btn-accept:hover,
.btn-decline:hover {
    opacity: 0.9;
}

.blog-post {
    max-width: 900px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.post-header {
    margin-bottom: 2rem;
}

.post-featured-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.post-meta-container h1 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.post-meta {
    display: flex;
    gap: 1.5rem;
    color: #666;
    flex-wrap: wrap;
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-post .post-content {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.content-section {
    line-height: 1.8;
}

.content-section h2 {
    color: var(--primary-color);
    margin: 2rem 0 1rem;
    font-size: 1.8rem;
}

.content-section h3 {
    color: var(--secondary-color);
    margin: 1.5rem 0 1rem;
    font-size: 1.4rem;
}

.content-section p {
    margin-bottom: 1rem;
    text-align: justify;
}

.content-section ul {
    margin: 1rem 0 1rem 2rem;
}

.content-section ul li {
    margin-bottom: 0.5rem;
}

.lead-paragraph {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.post-tags {
    margin: 2rem 0;
    padding: 1.5rem;
    background: var(--light-bg);
    border-radius: 8px;
}

.post-tags h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.tag {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--white);
    padding: 0.4rem 1rem;
    margin: 0.3rem;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 0.3s;
}

.tag:hover {
    background: var(--primary-color);
}

.related-posts {
    margin: 3rem 0;
}

.related-posts h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.related-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.related-card:hover {
    transform: translateY(-5px);
}

.related-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.related-card h4 {
    padding: 1rem;
}

.related-card a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

.related-card a:hover {
    color: var(--secondary-color);
}

@media (max-width: 768px) {
    .container-header {
        flex-direction: column;
        gap: 1rem;
    }

    .primary-nav {
        width: 100%;
    }

    .nav-list {
        flex-direction: column;
        width: 100%;
    }

    .nav-list li a {
        width: 100%;
    }

    .hero-title {
        font-size: 2rem;
    }

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

    .timeline-container::before {
        left: 30px;
    }

    .timeline-item {
        flex-direction: row !important;
        padding-left: 80px;
    }

    .timeline-item:nth-child(even) {
        flex-direction: row !important;
    }

    .timeline-year {
        position: absolute;
        left: 0;
        width: 60px;
        height: 60px;
        font-size: 1rem;
    }

    .timeline-content {
        margin: 0 0 0 1rem;
    }

    .posts-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .post-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .post-featured-image {
        height: 250px;
    }
}

@media print {
    .main-header,
    .hero-banner,
    .cookie-banner,
    .site-footer,
    .related-posts {
        display: none;
    }
}