/* Import Global Styles */

:root {
    --bg-color: #020202;
    --card-bg: #0a0a0a;
    --text-color: #ffffff;
    --text-muted: #dddddd;
    --accent-color: #00f0ff;
    --accent-glow: rgba(0, 240, 255, 0.3);
    --border-color: #222;
    --font-main: 'Outfit', sans-serif;
    --transition: all 0.3s ease;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.95rem;
    border: none;
    outline: none;
}

.btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-color);
    background: transparent;
    backdrop-filter: blur(5px);
}

.btn-outline:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: #000;
    box-shadow: 0 0 20px var(--accent-glow);
}

.btn-xs {
    padding: 8px 20px;
    font-size: 0.8rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    background: rgba(2, 2, 2, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.nav-list {
    display: flex;
    gap: 35px;
}

.nav-link {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-color);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Post Hero */
.post-hero {
    padding: 180px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-bg-beams {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../assets/images/blog-hero-beams.png') no-repeat center top/cover;
    opacity: 0.5;
    z-index: -1;
}

.post-meta {
    color: var(--accent-color);
    font-size: 0.9rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.post-meta span {
    margin: 0 10px;
}

.post-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: #fff;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.2;
}

.post-tags {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.tag {
    background: rgba(255, 255, 255, 0.1);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
    border: 1px solid transparent;
    transition: var(--transition);
}

.tag:hover {
    border-color: var(--accent-color);
    color: #fff;
}

/* Post Content */
.post-content-section {
    padding: 40px 0 100px;
}

.content-container {
    max-width: 800px;
}

.article-body {
    font-size: 1.1rem;
    color: #ddd;
    line-height: 1.8;
}

.article-body p {
    margin-bottom: 25px;
}

.article-body .lead {
    font-size: 1.3rem;
    color: #fff;
    font-weight: 300;
    margin-bottom: 40px;
    border-left: 4px solid var(--accent-color);
    padding-left: 20px;
    border-right: 4px solid var(--accent-color);
    padding-right: 20px;
}

.article-body h2 {
    font-size: 2rem;
    color: #fff;
    margin: 40px 0 20px;
}

.article-body h3 {
    font-size: 1.5rem;
    color: #fff;
    margin: 30px 0 15px;
}

.content-img {
    margin: 40px 0;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid #333;
}

.content-img img {
    width: 100%;
}

.img-caption {
    display: block;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
    padding: 10px;
    background: #0a0a0a;
    border-top: 1px solid #222;
}

blockquote {
    background: rgba(0, 240, 255, 0.05);
    border-left: 4px solid var(--accent-color);
    padding: 30px;
    margin: 40px 0;
    font-size: 1.2rem;
    font-style: italic;
    color: #fff;
    border-radius: 0 10px 10px 0;
}

/* Post Footer */
.post-footer {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid #222;
    display: flex;
    justify-content: center;
}

.share-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.share-buttons span {
    color: var(--text-muted);
}

.share-buttons a {
    width: 40px;
    height: 40px;
    background: #111;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: var(--transition);
}

.share-buttons a:hover {
    background: var(--accent-color);
    color: #000;
}

/* Related Articles */
.related-articles {
    padding: 80px 0;
    background: #050505;
    border-top: 1px solid #111;
}

.section-title {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 40px;
    text-align: center;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.article-card {
    background: #0a0a0a;
    border: 1px solid #222;
    border-radius: 15px;
    overflow: hidden;
    transition: var(--transition);
}

.article-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-5px);
}

.card-img {
    height: 200px;
    overflow: hidden;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-content {
    padding: 20px;
}

.card-content h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #fff;
}

.card-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 15px;
}

/* Footer */
.footer {
    padding: 80px 0 30px;
    background: #000;
    border-top: 1px solid #111;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 20px 0;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 36px;
    height: 36px;
    background: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.social-links a:hover {
    background: var(--accent-color);
    color: #000;
}

.footer-heading {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: #fff;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    gap: 12px;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.contact-info i {
    color: var(--accent-color);
    margin-top: 4px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #111;
    color: #444;
    font-size: 0.85rem;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.8s forwards;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 0.8s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: #050505;
        padding: 20px;
        border-bottom: 1px solid var(--border-color);
        transform: translateY(-150%);
        transition: var(--transition);
        z-index: 999;
    }

    .nav.active {
        transform: translateY(0);
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .mobile-menu-btn {
        display: block;
    }

    .header .btn {
        display: none;
    }

    .post-title {
        font-size: 2.5rem;
    }

    .articles-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}