/*
Theme Name: Industrial Glassmorphic
Author: Web Developer
Version: 1.0.0
*/

:root {
    --bg-main: #090d16;
    --bg-surface: rgba(15, 23, 42, 0.65);
    --border-glass: rgba(255, 255, 255, 0.08);
    --text-pure: #ffffff;
    --text-body: #94a3b8;
    --neon-cyan: #00f0ff;
    --neon-green: #39ff14;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    background-color: var(--bg-main);
    color: var(--text-body);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body.admin-bar .site-header {
    top: 32px;
}

@media (max-width: 782px) {
    body.admin-bar .site-header {
        top: 46px;
    }
}

.site-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background-color: rgba(9, 13, 22, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-glass);
    z-index: 9999;
    display: flex;
    align-items: center;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.site-logo a {
    color: var(--text-pure);
    font-size: 24px;
    font-weight: 900;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.burger-trigger {
    background: none;
    border: none;
    width: 32px;
    height: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    padding: 0;
}

.burger-line {
    width: 100%;
    height: 3px;
    background-color: var(--neon-cyan);
    border-radius: 2px;
    transition: background-color 0.2s ease;
}

.burger-trigger:hover .burger-line {
    background-color: var(--neon-green);
}

.menu-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.menu-lightbox.is-active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(5, 7, 12, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.lightbox-popup {
    position: relative;
    background: var(--bg-surface);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    padding: 40px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
    z-index: 2;
    transform: scale(0.95);
    transition: transform 0.3s ease;
    box-sizing: border-box;
}

.menu-lightbox.is-active .lightbox-popup {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-pure);
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    transition: color 0.2s ease;
}

.lightbox-close:hover {
    color: var(--neon-cyan);
}

.lightbox-search {
    margin-bottom: 30px;
    margin-top: 10px;
}

.lightbox-search-form {
    display: flex;
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.2);
}

.search-field {
    flex-grow: 1;
    background: none;
    border: none;
    padding: 14px 16px;
    color: var(--text-pure);
    font-size: 15px;
    outline: none;
}

.search-submit {
    background: none;
    border: none;
    padding: 0 16px;
    cursor: pointer;
    font-size: 16px;
}

.lightbox-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.lightbox-menu-list a {
    display: block;
    color: var(--text-pure);
    font-size: 20px;
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.lightbox-menu-list a:hover {
    color: var(--neon-green);
    padding-left: 6px;
}

.site-footer {
    background-color: #05070c;
    border-top: 1px solid var(--border-glass);
    padding: 50px 0 30px 0;
    margin-top: 80px;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-info-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
}

.footer-site-name {
    font-size: 22px;
    font-weight: 900;
    color: var(--text-pure);
    letter-spacing: -0.5px;
}

.footer-age-badge {
    display: inline-block;
    border: 2px solid #ef4444;
    color: #ef4444;
    font-weight: 900;
    font-size: 14px;
    padding: 4px 10px;
    border-radius: 6px;
}

.footer-contacts-block {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 450px;
}

.contact-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.contact-icon {
    font-size: 16px;
    line-height: 1.4;
}

.contact-text, .contact-link {
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-body);
}

.contact-link {
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-link:hover {
    color: var(--neon-cyan);
}

.footer-bottom {
    border-top: 1px solid var(--border-glass);
    padding-top: 25px;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-body);
    margin: 0;
}

@media (max-width: 768px) {
    .footer-grid {
        flex-direction: column;
        gap: 30px;
    }
    .lightbox-popup {
        padding: 30px 20px;
    }
    .lightbox-menu-list a {
        font-size: 18px;
    }
}

@media (max-width: 300px) {
    .site-logo a {
        font-size: 19px;
    }
    .footer-site-name {
        font-size: 18px;
    }
    .contact-text, .contact-link {
        font-size: 13px;
    }
    .lightbox-popup {
        padding: 20px 15px;
    }
}

.page-layout-spacer {
    padding-top: 120px;
    min-height: 70vh;
}

.archive-main-title {
    font-size: 32px;
    font-weight: 900;
    color: var(--text-pure);
    text-transform: uppercase;
    letter-spacing: -0.5px;
    margin-top: 0;
    margin-bottom: 30px;
    border-left: 4px solid var(--neon-cyan);
    padding-left: 15px;
}

.archive-main-title span {
    color: var(--neon-cyan);
}

.main-posts-flow {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
}

.flow-post-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.flow-post-thumb {
    width: 100%;
    height: auto;
    max-height: 400px;
    overflow: hidden;
    border-bottom: 1px solid var(--border-glass);
}

.flow-post-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.flow-post-content {
    padding: 30px;
    box-sizing: border-box;
}

.flow-post-title {
    font-size: 24px;
    font-weight: 800;
    margin-top: 0;
    margin-bottom: 15px;
    line-height: 1.3;
}

.flow-post-title a {
    color: var(--text-pure);
    text-decoration: none;
    transition: color 0.2s ease;
}

.flow-post-title a:hover {
    color: var(--neon-cyan);
}

.flow-post-excerpt p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-body);
    margin-top: 0;
    margin-bottom: 20px;
}

.flow-post-more-btn {
    display: inline-block;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.15);
    color: var(--text-pure);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 10px 22px;
    border-radius: 6px;
    text-decoration: none;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.flow-post-more-btn:hover {
    border-color: var(--neon-cyan);
    background: rgba(0, 240, 255, 0.05);
    color: var(--text-pure);
}

.no-posts-found {
    background: var(--bg-surface);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 40px;
    text-align: center;
}

.no-posts-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-pure);
    margin-top: 0;
    margin-bottom: 10px;
}

.no-posts-p {
    font-size: 15px;
    color: var(--text-body);
    margin: 0;
}

.posts-flow-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.posts-flow-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 6px;
    background: var(--bg-surface);
    border: 1px solid var(--border-glass);
    color: var(--text-pure);
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    border-radius: 6px;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
}

.posts-flow-pagination .page-numbers:hover {
    border-color: var(--neon-cyan);
}

.posts-flow-pagination .page-numbers.current {
    background: var(--neon-cyan);
    color: #000000;
    border-color: var(--neon-cyan);
}

@media (max-width: 768px) {
    .page-layout-spacer {
        padding-top: 100px;
    }
    .flow-post-content {
        padding: 20px;
    }
    .flow-post-title {
        font-size: 20px;
    }
    .archive-main-title {
        font-size: 24px;
    }
}

@media (max-width: 300px) {
    .archive-main-title {
        font-size: 19px;
    }
    .flow-post-title {
        font-size: 17px;
    }
    .flow-post-excerpt p {
        font-size: 13px;
    }
    .flow-post-content {
        padding: 15px;
    }
    .no-posts-found {
        padding: 20px 15px;
    }
}

.ind-hero-image {
    width: 100%;
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--border-glass);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(0, 240, 255, 0.05);
    aspect-ratio: 16 / 9;
}

.ind-main-banner-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 991px) {
    .ind-hero-image {
        margin-top: 20px;
    }
}