body {
    font-family: 'Noto Sans Georgian', sans-serif;
}

.bg-color {
    background-color: #1a1a2e;
}

.bg-color {
        background-color: #1a1a2e;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
    }

    .bg-color > .container {
        flex: 1;
    }


/* Menu Styles */
.menu-bar {
    display: flex;
    gap: 0;
    background-color: #16213e;
    border-radius: 8px;
    overflow: visible;
    position: relative;
    flex-wrap: wrap;
}

.menu-bar a {
    color: #e0e0e0;
    text-decoration: none;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 500;
    transition: background-color 0.3s, color 0.3s;
    display: block;
}

.menu-bar a:hover {
    background-color: #0f3460;
    color: #e94560;
}

.menu-bar a.active {
    background-color: #e94560;
    color: #ffffff;
}

/* Menu Item with Submenu */
.menu-item {
    position: relative;
}

/* Submenu Styles */
.sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #16213e;
    border-radius: 0 0 8px 8px;
    min-width: 200px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    z-index: 1000;
    flex-direction: column;
    overflow: visible;
}

.sub-menu > a {
    padding: 10px 20px;
    font-size: 0.9rem;
    border-bottom: 1px solid #0f3460;
}

.sub-menu > a:last-child {
    border-bottom: none;
}

.menu-item:hover > .sub-menu {
    display: flex;
}

/* Recursive Submenu Items */
.menu-item-sub {
    position: relative;
}

.menu-item-sub > a {
    padding: 10px 20px;
    font-size: 0.9rem;
    border-bottom: 1px solid #0f3460;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-item-sub > a::after {
    content: '▸';
    font-size: 0.7rem;
    margin-left: 8px;
    color: #e94560;
    transition: transform 0.3s ease;
}

.menu-item-sub:last-child > a {
    border-bottom: none;
}

.menu-item-sub:hover > a::after {
    transform: translateX(3px);
}

/* Recursive Sub-Menu (works for any depth) */
.menu-item-sub > .sub-menu {
    top: 0;
    left: 100%;
    border-radius: 0 8px 8px 0;
    border-left: 2px solid #e94560;
    z-index: 1001;
}

.menu-item-sub:hover > .sub-menu {
    display: flex;
}

/* Depth visual indicator - progressively darker background */
.menu-item-sub .menu-item-sub > .sub-menu {
    background-color: #132040;
}

.menu-item-sub .menu-item-sub .menu-item-sub > .sub-menu {
    background-color: #101a35;
}

.menu-item-sub .menu-item-sub .menu-item-sub .menu-item-sub > .sub-menu {
    background-color: #0d152b;
}

.site-title {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #e94560, #0f3460, #e94560);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease infinite;
    letter-spacing: 3px;
    text-shadow: none;
    position: relative;
    display: inline-block;
}

.site-title::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #e94560, #0f3460);
    transition: width 0.5s ease;
    margin: 4px auto 0;
}

.site-title:hover::after {
    width: 100%;
}

.site-title:hover {
    animation-duration: 1.5s;
    cursor: pointer;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Search Box */
.menu-search {
    margin-left: auto;
    display: flex;
    align-items: center;
    padding: 4px 12px;
}

.search-input {
    background-color: #1a1a2e;
    border: 1px solid #0f3460;
    border-radius: 20px;
    color: #e0e0e0;
    padding: 6px 16px;
    font-size: 0.9rem;
    outline: none;
    width: 180px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, width 0.3s ease;
}

.search-input:focus {
    border-color: #e94560;
    box-shadow: 0 0 8px rgba(233, 69, 96, 0.3);
    width: 240px;
}

.search-input::placeholder {
    color: #666;
}

 /* Section Title */
    .section-title {
        color: #e94560;
        font-weight: 600;
        letter-spacing: 1px;
        padding-bottom: 8px;
    }

    .section-desc {
        color: #999;
        font-size: 0.9rem;
        margin-top: 4px;
        margin-bottom: 0;
    }

    .section-divider {
        border: none;
        border-top: 1px solid #0f3460;
        margin-top: 12px;
        margin-bottom: 0;
        opacity: 1;
    }

/* Post Cards */
.post-card {
    background-color: #16213e;
    border: 1px solid #0f3460;
    border-radius: 10px;
    padding: 20px;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
}

.post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(233, 69, 96, 0.15);
    border-color: #e94560;
}

.post-thumb {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #0f3460;
    margin-bottom: 12px;
}

.post-date {
    font-size: 0.8rem;
    color: #e94560;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.post-title {
    color: #e0e0e0;
    font-weight: 600;
    margin-top: 8px;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.post-card:hover .post-title {
    color: #ffffff;
}

.post-text {
    color: #999;
    font-size: 0.9rem;
    line-height: 1.6;
}

.post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #0f3460;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 16px;
}

.post-comments {
    font-size: 0.8rem;
    color: #666;
    font-weight: 500;
    transition: color 0.3s ease;
}

.post-card:hover .post-comments {
    color: #e94560;
}

.post-link {
    color: #e94560;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s ease, letter-spacing 0.3s ease;
}

.post-link:hover {
    color: #ffffff;
    letter-spacing: 1px;
}
/* Article Page */
.article-card {
    background-color: #16213e;
    border: 1px solid #0f3460;
    border-radius: 10px;
    padding: 32px;
}

.article-title {
    color: #ffffff;
    font-weight: 700;
    margin-top: 10px;
    margin-bottom: 20px;
}

.article-subtitle {
    color: #e94560;
    font-weight: 600;
    margin-top: 24px;
    margin-bottom: 12px;
}

.article-text {
    color: #bbb;
    font-size: 1rem;
    line-height: 1.8;
}

.article-list {
    color: #bbb;
    font-size: 1rem;
    line-height: 2;
    padding-left: 20px;
}

.article-list li {
    margin-bottom: 8px;
}

.article-list strong {
    color: #e0e0e0;
}

.article-footer {
    margin-top: 32px;
    padding-top: 16px;
    border-top: 1px solid #0f3460;
}

.back-link {
    color: #e94560;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease, letter-spacing 0.3s ease;
}

.back-link:hover {
    color: #ffffff;
    letter-spacing: 1px;
}

/* Comments Section */
.comment-section {
    background-color: #16213e;
    border: 1px solid #0f3460;
    border-radius: 10px;
    padding: 24px;
}

.comment-input {
    background-color: #1a1a2e;
    border: 1px solid #0f3460;
    color: #e0e0e0;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.comment-input:focus {
    border-color: #e94560;
    box-shadow: 0 0 8px rgba(233, 69, 96, 0.3);
    background-color: #1a1a2e;
    color: #e0e0e0;
}

.comment-input::placeholder {
    color: #666;
}

.btn-comment {
    background: linear-gradient(135deg, #e94560, #0f3460);
    border: none;
    color: #ffffff;
    padding: 8px 24px;
    border-radius: 6px;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.btn-comment:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(233, 69, 96, 0.4);
    color: #ffffff;
}

.btn-comment:active {
    transform: translateY(0);
}

.comment-list {
    border-top: 1px solid #0f3460;
    padding-top: 16px;
}

.comment-item {
    background-color: #1a1a2e;
    border: 1px solid #0f3460;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 12px;
    transition: border-color 0.3s ease;
}

.comment-item:hover {
    border-color: #e94560;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.comment-author {
    color: #e94560;
    font-weight: 600;
    font-size: 0.95rem;
}

.comment-date {
    color: #666;
    font-size: 0.8rem;
}

.comment-text {
    color: #bbb;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Hamburger Button */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px 16px;
    flex-direction: column;
    gap: 0;
}

.menu-toggle:hover {
    background-color: #0f3460;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 3px;
    background-color: #e0e0e0;
    margin: 4px 0;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.menu-toggle:hover span {
    background-color: #e94560;
}

/* Responsive Menu */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .menu-bar {
        flex-direction: column;
    }

    .menu-bar > a,
    .menu-item,
    .menu-search {
        display: none;
        width: 100%;
    }

    .menu-bar.active > a,
    .menu-bar.active .menu-item,
    .menu-bar.active .menu-search {
        display: block;
    }

    .menu-bar > a {
        border-bottom: 1px solid #0f3460;
    }

    .menu-item > a {
        border-bottom: 1px solid #0f3460;
    }

    .sub-menu {
        position: static;
        box-shadow: none;
        border-radius: 0;
        min-width: 100%;
        background-color: #1a1a2e;
        overflow: visible;
    }

    .sub-menu a {
        padding-left: 32px;
    }

    .menu-search {
        padding: 8px 12px;
        margin-left: 0;
    }

    .search-input {
        width: 100%;
    }

    .search-input:focus {
        width: 100%;
    }

    /* Responsive Recursive Sub-Menu */
    .menu-item-sub > a::after {
        content: '▾';
    }

    .menu-item-sub > .sub-menu {
        position: static;
        box-shadow: none;
        border-radius: 0;
        min-width: 100%;
        border-left: none;
        border-top: 1px solid #0f3460;
    }

    /* Recursive mobile indentation */
    .menu-item-sub > .sub-menu a {
        padding-left: 48px;
    }

    .menu-item-sub .menu-item-sub > .sub-menu a {
        padding-left: 64px;
    }

    .menu-item-sub .menu-item-sub .menu-item-sub > .sub-menu a {
        padding-left: 80px;
    }

    .menu-item-sub .menu-item-sub .menu-item-sub .menu-item-sub > .sub-menu a {
        padding-left: 96px;
    }

    /* Recursive mobile depth colors */
    .menu-item-sub > .sub-menu {
        background-color: #152038;
    }

    .menu-item-sub .menu-item-sub > .sub-menu {
        background-color: #111a30;
    }

    .menu-item-sub .menu-item-sub .menu-item-sub > .sub-menu {
        background-color: #0d1528;
    }

    .menu-item-sub .menu-item-sub .menu-item-sub .menu-item-sub > .sub-menu {
        background-color: #0a1020;
    }
}

/* Pagination */
    .pagination-bar {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 6px;
        flex-wrap: wrap;
    }

    /* Breadcrumb */
    .breadcrumb-bar {
        /* background-color: #16213e; */
        border-radius: 8px;
        padding: 10px 20px;
        display: flex;
        align-items: center;
        gap: 8px;
        flex-wrap: wrap;
    }

    .breadcrumb-link {
        color: #e94560;
        text-decoration: none;
        font-size: 0.9rem;
        font-weight: 500;
        transition: color 0.3s ease;
    }

    .breadcrumb-link:hover {
        color: #ffffff;
    }

    .breadcrumb-sep {
        color: #ffffff;
        font-size: 1rem;
        user-select: none;
    }

    .breadcrumb-current {
        color: #e0e0e0;
        font-size: 0.9rem;
        font-weight: 500;
    }

    .page-btn {
        display: inline-flex;
        justify-content: center;
        align-items: center;
        min-width: 38px;
        height: 38px;
        padding: 0 10px;
        background-color: #16213e;
        color: #e0e0e0;
        border: 1px solid #0f3460;
        border-radius: 6px;
        text-decoration: none;
        font-size: 0.9rem;
        font-weight: 500;
        transition: background-color 0.3s, color 0.3s, border-color 0.3s, transform 0.2s;
    }

    .page-btn:hover {
        background-color: #0f3460;
        color: #e94560;
        border-color: #e94560;
        transform: translateY(-2px);
    }

    .page-btn.active {
        background-color: #e94560;
        color: #ffffff;
        border-color: #e94560;
    }

    .page-dots {
        color: #666;
        font-size: 1rem;
        padding: 0 4px;
        user-select: none;
    }


/* Footer */
    .site-footer {
        background-color: #16213e;
        border-radius: 8px;
        padding: 30px 24px 0;
    }

    .footer-title {
        color: #e94560;
        font-weight: 600;
        margin-bottom: 16px;
        letter-spacing: 0.5px;
    }

    .footer-text {
        color: #999;
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .footer-links {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .footer-links li {
        margin-bottom: 8px;
    }

    .footer-links a {
        color: #e0e0e0;
        text-decoration: none;
        font-size: 0.9rem;
        transition: color 0.3s ease, padding-left 0.3s ease;
    }

    .footer-links a:hover {
        color: #e94560;
        padding-left: 6px;
    }

    .footer-bottom {
        border-top: 1px solid #0f3460;
        padding: 16px 0;
        margin-top: 16px;
        color: #666;
        font-size: 0.85rem;
    }

    /*Page Not Found */
    .error-container {
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            padding: 2rem;
        }

        .error-code {
            font-size: 8rem;
            font-weight: 700;
            color: #e94560;
            line-height: 1;
            text-shadow: 0 0 20px rgba(233, 69, 96, 0.4);
        }

        .error-message {
            font-size: 1.5rem;
            color: #e0e0e0;
            margin-top: 1rem;
        }

        .error-description {
            color: #a0a0a0;
            margin-top: 0.5rem;
            font-size: 1rem;
        }

        .back-btn {
            display: inline-block;
            margin-top: 2rem;
            padding: 12px 32px;
            background-color: #e94560;
            color: #fff;
            border: none;
            border-radius: 8px;
            font-size: 1rem;
            text-decoration: none;
            transition: background-color 0.3s;
        }

        .back-btn:hover {
            background-color: #c73652;
            color: #fff;
        }
        /* Page Not Found */