/* Blog Specific Styles */

/* Blog Header */
.blog-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(47, 74, 52, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.blog-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.blog-nav-list a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.blog-nav-list a:hover,
.blog-nav-list a.active {
    background: var(--gold);
    color: var(--text-dark);
}

.blog-mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
}

.blog-mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Blog Hero Section */
.blog-hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: 80px; /* Account for fixed header */
}

.blog-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.blog-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.blog-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(47, 74, 52, 0.8) 0%,
        rgba(31, 59, 92, 0.6) 50%,
        rgba(111, 78, 55, 0.7) 100%
    );
    z-index: 2;
}

.blog-hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    max-width: 800px;
    margin: 0 auto;
}

.blog-hero h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.blog-hero p {
    font-size: 1.25rem;
    margin-bottom: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Blog Layout */
.blog-content {
    padding: 4rem 0;
    background: var(--cream);
}

.blog-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Main Content */
.blog-main {
    background: white;
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.blog-post .post-header {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--cream);
}

.blog-post h1 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--pine-green);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    color: var(--wood-brown);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.post-meta time,
.post-author {
    display: flex;
    align-items: center;
}

.post-meta time::before {
    content: '\f073';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-right: 0.5rem;
}

.post-author::before {
    content: '\f007';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-right: 0.5rem;
}

.post-excerpt {
    font-size: 1.1rem;
    color: var(--coastal-navy);
    font-style: italic;
    line-height: 1.6;
    margin: 0;
}

/* Post Content */
.post-content {
    line-height: 1.7;
    color: var(--text-dark);
}

.post-content h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--pine-green);
    margin: 2.5rem 0 1.5rem 0;
    position: relative;
}

.post-content h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--wood-brown);
    margin: 2rem 0 1rem 0;
}

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

.post-content ul,
.post-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.post-content li {
    margin-bottom: 0.75rem;
    font-size: 1.05rem;
}

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

/* Lifestyle Sections */
.lifestyle-section {
    background: var(--cream);
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
    border-left: 4px solid var(--gold);
}

.lifestyle-section h3 {
    margin-top: 0;
    color: var(--pine-green);
    font-size: 1.3rem;
}

/* Post CTA */
.post-cta {
    background: linear-gradient(135deg, var(--pine-green), var(--coastal-navy));
    color: white;
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    margin: 3rem 0;
}

.post-cta h3 {
    color: white;
    margin-bottom: 1rem;
}

.post-cta p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.post-cta .btn {
    background: var(--gold);
    color: var(--text-dark);
    border: none;
    font-weight: 600;
}

.post-cta .btn:hover {
    background: #f4d03f;
    transform: translateY(-2px);
}

/* Post Footer */
.post-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--cream);
}

.post-share {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
}

.post-share span {
    font-weight: 600;
    color: var(--pine-green);
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.share-btn.facebook { background: #3b5998; }
.share-btn.twitter { background: #1da1f2; }
.share-btn.pinterest { background: #bd081c; }

.share-btn:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Sidebar */
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-widget {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.sidebar-widget h3 {
    font-family: var(--font-heading);
    color: var(--pine-green);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

/* Author Card */
.author-card {
    text-align: center;
}

.author-info h4 {
    color: var(--wood-brown);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.author-info p {
    color: var(--text-dark);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Category List */
.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    margin-bottom: 0.75rem;
}

.category-list a {
    color: var(--text-dark);
    text-decoration: none;
    padding: 0.5rem 0;
    display: block;
    border-bottom: 1px solid var(--cream);
    transition: color 0.3s ease;
}

.category-list a:hover {
    color: var(--pine-green);
}

.category-list a::before {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-right: 0.5rem;
    color: var(--gold);
}

/* Social Links */
.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.social-link {
    color: var(--text-dark);
    text-decoration: none;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--cream);
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--pine-green);
}

.social-link i {
    margin-right: 0.75rem;
    width: 20px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .blog-header-content {
        padding: 0 1rem;
    }
    
    .blog-nav-list {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--pine-green);
        flex-direction: column;
        gap: 0;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    }
    
    .blog-nav-list.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .blog-nav-list li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .blog-nav-list a {
        display: block;
        padding: 1rem;
        border-radius: 0;
    }
    
    .blog-mobile-menu-toggle {
        display: flex;
    }
    
    .blog-hero {
        margin-top: 70px;
    }
    
    .blog-hero h1 {
        font-size: 2.5rem;
    }
    
    .blog-hero p {
        font-size: 1.1rem;
    }
    
    .blog-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .blog-main {
        padding: 2rem 1.5rem;
    }
    
    .blog-post h1 {
        font-size: 2rem;
    }
    
    .post-content h2 {
        font-size: 1.5rem;
    }
    
    .post-share {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .lifestyle-section {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }
    
    .post-cta {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .blog-header {
        padding: 0.75rem 0;
    }
    
    .blog-hero {
        height: 50vh;
        min-height: 300px;
        margin-top: 60px;
    }
    
    .blog-hero h1 {
        font-size: 2rem;
    }
    
    .blog-hero-content {
        padding: 0 1rem;
    }
    
    .blog-content {
        padding: 2rem 0;
    }
    
    .blog-layout {
        padding: 0 1rem;
    }
    
    .blog-main {
        padding: 1.5rem 1rem;
    }
    
    .blog-post h1 {
        font-size: 1.75rem;
    }
    
    .post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .sidebar-widget {
        padding: 1.5rem;
    }
}

/* Growth Chart Specific Styles */
.weight-chart {
    background: var(--cream);
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.growth-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

.growth-table th,
.growth-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(47, 74, 52, 0.2);
}

.growth-table th {
    background: var(--pine-green);
    color: white;
    font-weight: 600;
}

.growth-table tr:hover {
    background: rgba(212, 175, 55, 0.1);
}

.highlight-row {
    background: rgba(212, 175, 55, 0.15);
    font-weight: 600;
}

.chart-note {
    font-style: italic;
    color: #666;
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* Growth Stages */
.growth-stage {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
    border-left: 5px solid var(--wood-brown);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.growth-stage h3 {
    color: var(--pine-green);
    margin-bottom: 1rem;
}

.growth-stage h3 i {
    color: var(--wood-brown);
    margin-right: 0.5rem;
}

/* Care Tips */
.care-tips {
    display: grid;
    gap: 1.5rem;
    margin: 2rem 0;
}

.tip-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.tip-item i {
    color: var(--wood-brown);
    font-size: 1.5rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.tip-item p {
    margin: 0;
    line-height: 1.6;
}

/* FAQ Section */
.faq-section {
    margin: 2rem 0;
}

.faq-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    margin: 1.5rem 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.faq-item h3 {
    color: var(--pine-green);
    margin-bottom: 1rem;
}

.faq-item h3 i {
    color: var(--wood-brown);
    margin-right: 0.5rem;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .growth-table {
        font-size: 0.9rem;
    }
    
    .growth-table th,
    .growth-table td {
        padding: 0.75rem 0.5rem;
    }
    
    .weight-chart {
        padding: 1.5rem;
    }
    
    .growth-stage {
        padding: 1.5rem;
    }
    
    .tip-item {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
    }
    
    .faq-item {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .growth-table {
        font-size: 0.8rem;
    }
    
    .growth-table th,
    .growth-table td {
        padding: 0.5rem 0.25rem;
    }
}

/* Clean blog hero for individual articles - no overlay */
.blog-hero-clean {
    width: 100%;
    margin-bottom: 2rem;
}

.blog-hero-image-clean {
    width: 100%;
    height: 400px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-hero-image-clean img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Mobile optimization for clean hero */
@media (max-width: 768px) {
    .blog-hero-image-clean {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .blog-hero-image-clean {
        height: 250px;
    }
}

/* Blog Article Cards */
.blog-intro {
    text-align: center;
    margin-bottom: 3rem;
    padding-top: 2rem;
}

.blog-intro h1 {
    font-size: 3rem;
    color: var(--pine-green);
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

.blog-intro-text {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.articles-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.article-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid rgba(47, 74, 52, 0.1);
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--gold);
}

.article-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    position: relative;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.article-card:hover .article-image img {
    transform: scale(1.03);
}

.article-content {
    padding: 2rem;
}

.article-content h2 {
    font-size: 1.5rem;
    color: var(--pine-green);
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
    line-height: 1.4;
}

.article-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.article-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.9rem;
    color: #888;
}

.article-meta i {
    color: var(--wood-brown);
    margin-right: 0.5rem;
}

/* Mobile responsive for article cards */
@media (max-width: 768px) {
    .blog-intro h1 {
        font-size: 2.5rem;
    }
    
    .blog-intro-text {
        font-size: 1.1rem;
    }
    
    .article-image {
        height: 250px;
    }
    
    .article-content {
        padding: 1.5rem;
    }
    
    .article-content h2 {
        font-size: 1.3rem;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .blog-intro h1 {
        font-size: 2rem;
    }
    
    .article-image {
        height: 200px;
    }
    
    .article-content {
        padding: 1rem;
    }
    
    .article-content h2 {
        font-size: 1.2rem;
    }
}