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

:root {
    --dark-bg: #0a0e27;
    --darker-bg: #050814;
    --card-bg: #141b2d;
    --accent-purple: #8b5cf6;
    --accent-cyan: #06b6d4;
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --border-color: #1e293b;
    --hover-purple: #7c3aed;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    background-color: var(--darker-bg);
    color: var(--text-primary);
    line-height: 1.8;
    font-size: 17px;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 25px;
}

header {
    background-color: var(--dark-bg);
    border-bottom: 2px solid var(--border-color);
    padding: 18px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.site-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--accent-purple);
    text-decoration: none;
    letter-spacing: 1px;
}

.navigation {
    display: flex;
    list-style: none;
    gap: 35px;
    align-items: center;
}

.navigation a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    padding: 10px 0;
    position: relative;
    transition: color 0.3s;
}

.navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-cyan);
    transition: width 0.3s;
}

.navigation a:hover {
    color: var(--accent-cyan);
}

.navigation a:hover::after {
    width: 100%;
}

.menu-button {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 26px;
    cursor: pointer;
}

.main-banner {
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--card-bg) 100%);
    padding: 90px 0;
    text-align: center;
    margin-bottom: 60px;
    border-bottom: 1px solid var(--border-color);
}

.banner-title {
    font-size: 48px;
    margin-bottom: 25px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.banner-text {
    font-size: 20px;
    color: var(--text-secondary);
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.9;
}

.banner-image {
    width: 100%;
    max-width: 1200px;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.section-image {
    width: 100%;
    max-width: 900px;
    height: 500px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.content-wrapper {
    margin-bottom: 60px;
}

.section-block {
    background: var(--card-bg);
    padding: 50px 45px;
    border-radius: 12px;
    margin-bottom: 40px;
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.section-block h2 {
    font-size: 36px;
    color: var(--accent-purple);
    margin-bottom: 30px;
    font-weight: 700;
    border-left: 5px solid var(--accent-cyan);
    padding-left: 20px;
}

.section-block h3 {
    font-size: 26px;
    color: var(--text-primary);
    margin-top: 35px;
    margin-bottom: 20px;
    font-weight: 600;
}

.section-block h4 {
    font-size: 22px;
    color: var(--accent-cyan);
    margin-top: 28px;
    margin-bottom: 16px;
    font-weight: 600;
}

.section-block p {
    margin-bottom: 20px;
    color: var(--text-secondary);
    text-align: justify;
    line-height: 1.9;
}

.section-block ul {
    list-style: none;
    margin: 25px 0;
}

.section-block ul li {
    padding: 12px 0 12px 35px;
    position: relative;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}

.section-block ul li:last-child {
    border-bottom: none;
}

.section-block ul li::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--accent-cyan);
    font-size: 18px;
}

.action-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-cyan));
    color: var(--text-primary);
    padding: 16px 38px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 17px;
    transition: transform 0.3s, box-shadow 0.3s;
    margin-top: 25px;
}

.action-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(139, 92, 246, 0.4);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
    margin-top: 40px;
}

.article-card {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: transform 0.3s, border-color 0.3s;
}

.article-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-purple);
}

.article-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.article-body {
    padding: 30px;
}

.article-meta {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.article-title {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 15px;
    line-height: 1.5;
}

.article-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

.article-title a:hover {
    color: var(--accent-cyan);
}

.article-excerpt {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.category-item {
    background: var(--card-bg);
    padding: 35px 30px;
    text-align: center;
    border-radius: 12px;
    border: 2px solid var(--border-color);
    transition: border-color 0.3s, transform 0.3s;
}

.category-item:hover {
    border-color: var(--accent-purple);
    transform: scale(1.05);
}

.category-icon {
    font-size: 56px;
    color: var(--accent-cyan);
    margin-bottom: 20px;
}

.category-item h3 {
    font-size: 22px;
    color: var(--text-primary);
    margin-bottom: 15px;
    font-weight: 600;
}

.category-item p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.8;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.contact-item {
    background: var(--card-bg);
    padding: 40px 35px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    text-align: center;
}

.contact-icon {
    font-size: 48px;
    color: var(--accent-purple);
    margin-bottom: 20px;
}

.contact-item h3 {
    font-size: 20px;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.contact-item p {
    color: var(--text-secondary);
    font-size: 16px;
}

.map-container {
    margin-top: 50px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--border-color);
    height: 500px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.footer {
    background: var(--darker-bg);
    padding: 70px 0 35px;
    border-top: 2px solid var(--border-color);
    margin-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-section h4 {
    color: var(--accent-purple);
    font-size: 20px;
    margin-bottom: 25px;
    font-weight: 600;
}

.footer-section p,
.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 15px;
    line-height: 2.2;
    display: block;
    transition: color 0.3s;
}

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

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    width: 42px;
    height: 42px;
    background: var(--card-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s, transform 0.3s;
    font-size: 18px;
}

.social-icons a:hover {
    background: var(--accent-purple);
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 35px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 15px;
}

.error-page {
    text-align: center;
    padding: 120px 0;
}

.error-number {
    font-size: 150px;
    font-weight: 700;
    color: var(--accent-purple);
    margin-bottom: 30px;
    line-height: 1;
}

.error-title {
    font-size: 38px;
    color: var(--text-primary);
    margin-bottom: 20px;
    font-weight: 600;
}

.error-text {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .menu-button {
        display: block;
    }

    .navigation {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background: var(--dark-bg);
        flex-direction: column;
        padding: 30px 0;
        border-top: 2px solid var(--border-color);
        transition: left 0.3s;
        gap: 0;
    }

    .navigation.active {
        left: 0;
    }

    .navigation li {
        width: 100%;
        text-align: center;
    }

    .navigation a {
        display: block;
        padding: 18px;
        border-bottom: 1px solid var(--border-color);
    }

    .banner-title {
        font-size: 32px;
    }

    .banner-text {
        font-size: 17px;
    }

    .section-block {
        padding: 35px 30px;
    }

    .section-block h2 {
        font-size: 28px;
    }

    .articles-grid,
    .categories-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .error-number {
        font-size: 100px;
    }
}

.article-detail {
    background: var(--bg-dark);
    padding: 45px 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px var(--shadow-dark);
    margin-top: 35px;
    margin-bottom: 45px;
}

.article-header {
    margin-bottom: 35px;
}

.article-meta-detail {
    display: flex;
    gap: 25px;
    margin-bottom: 18px;
    align-items: center;
}

.article-date-detail {
    font-size: 14px;
    color: var(--text-light);
}

.article-category {
    background: var(--accent-purple);
    color: var(--bg-dark);
    padding: 6px 18px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 600;
}

.article-detail h1 {
    font-size: 36px;
    color: var(--text-white);
    margin-bottom: 18px;
    font-weight: 600;
    line-height: 1.3;
}

.article-subtitle {
    font-size: 19px;
    color: var(--text-light);
    line-height: 1.7;
}

.article-image-wrapper {
    margin: 35px 0;
    border-radius: 8px;
    overflow: hidden;
}

.article-detail-image {
    width: 100%;
    height: auto;
    display: block;
}

.article-content {
    margin-top: 35px;
}

.article-content h2 {
    font-size: 28px;
    color: var(--accent-purple);
    margin-top: 35px;
    margin-bottom: 18px;
    font-weight: 600;
}

.article-content h3 {
    font-size: 22px;
    color: var(--text-white);
    margin-top: 28px;
    margin-bottom: 15px;
    font-weight: 600;
}

.article-content p {
    margin-bottom: 20px;
    color: var(--text-light);
    line-height: 1.9;
    text-align: justify;
}

.article-footer {
    margin-top: 45px;
    padding-top: 35px;
    border-top: 2px solid var(--border-dark);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--accent-purple);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.back-link:hover {
    color: var(--accent-cyan);
}

@media (max-width: 480px) {
    .banner-title {
        font-size: 26px;
    }

    .section-block {
        padding: 25px 20px;
    }

    .section-block h2 {
        font-size: 24px;
    }

    .article-detail {
        padding: 30px 25px;
    }

    .article-detail h1 {
        font-size: 28px;
    }

    .article-subtitle {
        font-size: 17px;
    }
}

