/* Blog Page Styles - Complete Overhaul v6.5.0 */

/* Skip Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #30D5C8;
    color: #1a1a1a;
    padding: 8px 16px;
    z-index: 10000;
    font-weight: 600;
    text-decoration: none;
    border-radius: 0 0 4px 0;
}

.skip-link:focus {
    top: 0;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f9f9f9;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 15px 0;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
}

.main-nav .nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.main-nav .nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.main-nav .nav-links a:hover,
.main-nav .nav-links a.active {
    color: #30D5C8;
}

.nav-cta {
    background: #30D5C8 !important;
    color: #1a1a1a !important;
    padding: 10px 24px;
    border-radius: 25px;
    font-weight: 600 !important;
}

.nav-cta:hover {
    background: #28c4b8 !important;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    z-index: 999;
    padding: 20px;
    transform: translateY(-100%);
    opacity: 0;
    transition: all 0.3s ease;
}

.mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
}

.mobile-menu ul {
    list-style: none;
}

.mobile-menu ul li {
    border-bottom: 1px solid #eee;
}

.mobile-menu ul li:last-child {
    border-bottom: none;
}

.mobile-menu ul a {
    display: block;
    padding: 15px 0;
    color: #333;
    text-decoration: none;
    font-weight: 500;
}

.mobile-menu ul a:hover {
    color: #30D5C8;
}

/* Blog Hero */
.blog-hero {
    background: linear-gradient(135deg, #0a3d38 0%, #0d4f4a 25%, #1a8a7d 50%, #0d4f4a 75%, #0a3d38 100%);
    color: #fff;
    text-align: center;
    padding: 140px 20px 80px;
    margin-top: 80px;
}

.blog-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.blog-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Blog Posts Section */
.blog-posts {
    background: #f9f9f9;
    padding: 60px 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

/* Blog Image Placeholders */
.blog-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-image-home {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.blog-image-home::before {
    content: '\f015';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.3);
}

.blog-image-office {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
}

.blog-image-office::before {
    content: '\f1ad';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.3);
}

.blog-image-eco {
    background: linear-gradient(135deg, #56ab2f 0%, #a8e063 100%);
}

.blog-image-eco::before {
    content: '\f06c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.3);
}

.blog-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #30D5C8;
    color: #1a1a1a;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.blog-content {
    padding: 25px;
}

.blog-meta {
    display: flex;
    gap: 20px;
    color: #888;
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.blog-meta i {
    margin-right: 5px;
    color: #30D5C8;
}

.blog-card h2 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-card h2 a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-card h2 a:hover {
    color: #30D5C8;
}

.blog-card > .blog-content > p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #30D5C8;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    transition: gap 0.2s ease;
}

.read-more:hover {
    gap: 12px;
}

/* Blog CTA */
.blog-cta {
    background: linear-gradient(135deg, #0d4f4a 0%, #1a8a7d 100%);
    color: #fff;
    text-align: center;
    padding: 80px 20px;
}

.blog-cta h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.blog-cta p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-button-large {
    display: inline-block;
    background: #30D5C8;
    color: #1a1a1a;
    padding: 16px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-button-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(48, 213, 200, 0.3);
}

/* Footer */
.site-footer {
    background: #1a1a1a;
    color: #fff;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #30D5C8;
}

.footer-section h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #fff;
}

.footer-section p {
    color: #aaa;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-section ul a:hover {
    color: #30D5C8;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
    color: #888;
    font-size: 0.9rem;
}

/* Footer Contact */
.footer-contact {
    margin-top: 15px;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 0.95rem;
    color: #aaa;
}

.footer-contact i {
    color: #30D5C8;
    width: 20px;
}

.footer-contact a {
    color: #30D5C8;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-contact a:hover {
    color: #fff;
}

/* Footer Social */
.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.2s ease;
}

.footer-social a:hover {
    background: #30D5C8;
    color: #1a1a1a;
}

/* Responsive */
@media (max-width: 992px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .mobile-menu {
        display: block;
    }
    
    .blog-hero {
        padding: 120px 20px 60px;
        margin-top: 80px;
    }
    
    .blog-hero h1 {
        font-size: 1.8rem;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .blog-cta h2 {
        font-size: 1.6rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-contact p {
        justify-content: center;
    }
    
    .footer-social {
        justify-content: center;
    }
}
