/* Blog Styles */
.article {
    padding: 80px 0;
    background: var(--bg-light);
}

/* Blog Post Styles */
.blog-post {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: var(--section-bg);
    border-radius: 10px;
    box-shadow: var(--card-shadow);
}

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

.post-header h1 {
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: 700;
    margin: 1rem 0;
}

.post-meta {
    color: var(--gray-text);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: flex;
    gap: 1rem;
}

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

.post-meta i {
    color: var(--accent-color);
}

.post-content {
    color: var(--text-color);
    line-height: 1.8;
}

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

.post-content p {
    margin-bottom: 1.5rem;
}

.post-content strong {
    color: var(--primary-color);
    font-weight: 600;
}

.post-featured-image {
    margin: -3rem -3rem 2rem;
    height: 400px;
    overflow: hidden;
    position: relative;
}

.featured-text {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 10px 20px;
    border-radius: 5px;
}

.featured-text h2 {
    color: #ffffff;
    margin: 0;
    font-size: 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.featured-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.content-image {
    margin: 2rem -2rem;
    position: relative;
}

.article-image {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.image-caption {
    display: block;
    text-align: center;
    color: var(--gray-text);
    font-size: 0.9rem;
    margin-top: 1rem;
    font-style: italic;
}

.post-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.author-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.author-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-bio h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.author-bio p {
    color: var(--gray-text);
    font-size: 0.95rem;
    line-height: 1.6;
}

.share-section {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.share-button {
    background: var(--section-bg);
    color: var(--primary-color);
    border: 1px solid var(--border-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.share-button:hover {
    background: var(--accent-color);
    color: var(--light-text);
    border-color: var(--accent-color);
}

@media (max-width: 768px) {
    .article {
        padding: 60px 0;
    }

    .blog-post {
        padding: 1rem;
    }

    .post-header h1 {
        font-size: 2rem;
    }

    .post-content {
        font-size: 1rem;
    }

    .post-content .lead {
        font-size: 1.1rem;
    }

    .post-content h2 {
        font-size: 1.5rem;
    }

    .post-featured-image {
        margin: -2rem -2rem 2rem;
        height: 300px;
    }

    .content-image {
        margin: 2rem -1rem;
    }

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

    .author-info {
        flex-direction: column;
        text-align: center;
    }

    .author-avatar {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 480px) {
    .blog-post {
        padding: 1.5rem;
    }

    .post-header h1 {
        font-size: 1.75rem;
    }

    .post-featured-image {
        margin: -1.5rem -1.5rem 1.5rem;
        height: 200px;
    }

    .content-image {
        margin: 1.5rem -1.5rem;
    }

    .share-section {
        flex-direction: column;
    }

    .share-button {
        width: 100%;
        justify-content: center;
    }
}

/* Navbar Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.navbar-brand:hover {
    color: var(--accent-color-dark);
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-menu li a:hover {
    color: var(--accent-color);
}

.nav-menu li a:hover::after {
    width: 100%;
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 1rem 0;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .nav-menu.active {
        display: flex;
    }
}
