/* Header Styles */
.site-header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.primary-menu {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
}

.primary-menu li {
    position: relative;
}

.primary-menu a {
    color: #333;
    font-weight: 600;
    padding: 10px 0;
    display: block;
    transition: color 0.3s ease;
}

.primary-menu a:hover {
    color: #c91010;
}

.header-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle .bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px 0;
    transition: all 0.3s ease;
}

.nav-mobile {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    padding: 20px;
}

.mobile-menu {
    list-style: none;
    margin: 0;
}

.mobile-menu li {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.mobile-menu a {
    color: #333;
    font-weight: 600;
    display: block;
}

/* Footer Styles */
.site-footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: #c91010;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-section p {
    line-height: 1.8;
    color: #ccc;
}

.footer-menu {
    list-style: none;
    margin: 0;
}

.footer-menu li {
    padding: 8px 0;
}

.footer-menu a {
    color: #ccc;
    transition: color 0.3s ease;
}

.footer-menu a:hover {
    color: #c91010;
}

.contact-info {
    list-style: none;
    margin: 0;
}

.contact-info li {
    padding: 8px 0;
    color: #ccc;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
}

.seo-text {
    margin-bottom: 20px;
    color: #999;
    font-size: 0.9rem;
}

.copyright {
    color: #666;
    font-size: 0.9rem;
}

/* Content Area */
.content-area {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
    padding: 40px 0;
}

.content-wrapper {
    min-width: 0;
}

.post-item {
    margin-bottom: 30px;
}

.post-meta {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.post-meta span {
    margin-right: 20px;
}

.post-excerpt {
    margin-bottom: 20px;
    line-height: 1.8;
}

.post-tags {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.post-tags a {
    display: inline-block;
    background: #f5f5f5;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-right: 10px;
    margin-bottom: 10px;
}

.post-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 2px solid #c91010;
}

.post-navigation a {
    color: #c91010;
    font-weight: 600;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 40px 0;
}

.pagination a,
.pagination span {
    padding: 10px 15px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    color: #333;
    transition: all 0.3s ease;
}

.pagination a:hover {
    background: #c91010;
    color: #fff;
    border-color: #c91010;
}

.pagination .current {
    background: #c91010;
    color: #fff;
    border-color: #c91010;
}

/* Widgets */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    display: inline-block;
    background: #f5f5f5;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #666;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-desktop {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .header-actions {
        display: none;
    }

    .nav-mobile.active {
        display: block;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .content-area {
        grid-template-columns: 1fr;
    }

    .sidebar {
        margin-top: 30px;
    }

    .post-navigation {
        flex-direction: column;
        gap: 20px;
    }

    .primary-menu {
        flex-direction: column;
        gap: 15px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .section-content {
        padding: 20px;
    }
}
