/* Blog Specific Styles */

/* Blog Header */
.blog-header {
    background: linear-gradient(135deg, #0a121d 0%, #182a43 100%);
    padding: 120px 0 60px;
    color: white;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.blog-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
    align-items: center;
}

.blog-category {
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.blog-date,
.blog-read-time {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

.blog-read-time {
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-title {
    font-family: 'Google Sans', sans-serif;
    font-size: 48px;
    font-weight: 500;
    margin-bottom: 16px;
    line-height: 1.2;
}

.blog-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
    line-height: 1.5;
}

.blog-author {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
}

.author-photo {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 3px solid white;
    object-fit: cover;
}

.author-name {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 4px;
}

.author-title {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.blog-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Blog Content */
.blog-article {
    background: white;
}

.blog-content {
    padding: 60px 0;
    background: white;
}

.blog-content .container {
    max-width: 1000px;
}

.content-section {
    margin-bottom: 48px;
}

.content-section h2 {
    font-family: 'Google Sans', sans-serif;
    font-size: 32px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--google-blue);
}

.content-section h3 {
    font-size: 20px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 12px;
    margin-top: 24px;
}

.content-section p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.content-section ul {
    list-style: none;
    padding-left: 0;
}

.content-section ul li {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 12px;
    padding-left: 28px;
    position: relative;
}

.content-section ul li::before {
    content: '•';
    position: absolute;
    left: 12px;
    color: var(--google-blue);
    font-weight: bold;
}

/* Highlight Box */
.highlight-box {
    background: #e8f0fe;
    border-left: 4px solid var(--google-blue);
    padding: 24px;
    border-radius: 8px;
    margin: 32px 0;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.highlight-box i {
    font-size: 32px;
    color: var(--google-blue);
    flex-shrink: 0;
}

.highlight-box p {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin: 32px 0;
}

.feature-item {
    background: white;
    padding: 24px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: all 0.2s ease;
}

.feature-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.feature-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    background: #e8f0fe;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--google-blue);
}

.feature-icon i {
    font-size: 28px;
}

.feature-item h3 {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.feature-item p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

/* Steps Container */
.steps-container {
    margin: 32px 0;
}

.step-item {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border-color);
}

.step-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--google-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 500;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 20px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 8px;
    margin-top: 0;
}

.step-content p {
    font-size: 15px;
    color: var(--text-secondary);
    margin: 0;
}

/* Tech Stack */
.tech-stack {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin: 32px 0;
}

.tech-category {
    background: var(--bg-alt);
    padding: 24px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.tech-category h3 {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 16px;
    margin-top: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tech-category h3 i {
    color: var(--google-blue);
}

.tech-category ul {
    list-style: none;
    padding: 0;
}

.tech-category ul li {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 12px;
    padding-left: 0;
}

.tech-category ul li::before {
    display: none;
}

.tech-category ul li strong {
    color: var(--text-primary);
    font-weight: 500;
}

/* Features List */
.features-list {
    display: grid;
    gap: 16px;
    margin: 32px 0;
}

.feature-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px;
    background: var(--bg-alt);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.feature-card i {
    font-size: 24px;
    color: var(--google-green);
    flex-shrink: 0;
}

.feature-card h3 {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
    margin: 0 0 4px 0;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

/* Challenge Item */
.challenge-item {
    background: #fff3e0;
    border-left: 4px solid #fbbc04;
    padding: 24px;
    border-radius: 8px;
    margin-bottom: 24px;
}

.challenge-item h3 {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-primary);
    margin: 0 0 12px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.challenge-item h3 i {
    color: #fbbc04;
}

.challenge-item p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.challenge-item p:last-child {
    margin-bottom: 0;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin: 32px 0;
}

.stat-card {
    background: white;
    padding: 32px 24px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.stat-icon {
    font-size: 36px;
    color: var(--google-blue);
    margin-bottom: 12px;
}

.stat-number {
    font-family: 'Google Sans', sans-serif;
    font-size: 42px;
    font-weight: 500;
    color: var(--google-blue);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Lessons List */
.lessons-list {
    display: grid;
    gap: 16px;
    margin: 32px 0;
}

.lesson-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px;
    background: #e8f5e9;
    border-radius: 8px;
    border-left: 4px solid var(--google-green);
}

.lesson-item i {
    font-size: 24px;
    color: var(--google-green);
    flex-shrink: 0;
}

.lesson-item p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-primary);
    margin: 0;
}

/* Future List */
.future-list {
    list-style: none;
    padding: 0;
    margin: 32px 0;
}

.future-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    margin-bottom: 12px;
    background: var(--bg-alt);
    border-radius: 8px;
    font-size: 15px;
    color: var(--text-secondary);
}

.future-list li i {
    color: var(--google-blue);
    font-size: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

/* CTA Box */
.cta-box {
    background: linear-gradient(135deg, #0a121d 0%, #182a43 100%);
    padding: 48px;
    border-radius: 12px;
    text-align: center;
    color: white;
    margin: 48px 0;
}

.cta-box h3 {
    font-family: 'Google Sans', sans-serif;
    font-size: 32px;
    font-weight: 500;
    margin: 0 0 12px 0;
    color: white;
}

.cta-box p {
    font-size: 18px;
    margin: 0 0 32px 0;
    color: rgba(255, 255, 255, 0.9);
}

.cta-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-box .btn {
    background: white;
    color: var(--google-blue);
}

.cta-box .btn:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

.cta-box .btn-outline {
    background: transparent;
    color: white;
    border-color: white;
}

.cta-box .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Blog Tags */
.blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
}

.blog-tags .tag {
    padding: 8px 16px;
    background: #e8f0fe;
    color: var(--google-blue);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

.footer {
    background: linear-gradient(135deg, #0a121d 0%, #182a43 100%);;
}

/* Responsive */
@media (max-width: 768px) {
    .blog-title {
        font-size: 32px;
    }

    .blog-subtitle {
        font-size: 16px;
    }

    .content-section h2 {
        font-size: 24px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .tech-stack {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .cta-box {
        padding: 32px 24px;
    }

    .cta-box h3 {
        font-size: 24px;
    }

    .step-item {
        flex-direction: column;
    }
}


/* Blog Index Page Styles */

/* Blog Index Header */
.blog-index-header {
    background: white;
    padding: 140px 0 40px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.blog-index-title {
    font-family: 'Google Sans', sans-serif;
    font-size: 48px;
    font-weight: 400;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.blog-index-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Blog Index Content */
.blog-index-content {
    padding: 60px 0;
    background: white;
}

.blog-index-content .container {
    max-width: 1200px;
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 32px;
    margin-bottom: 60px;
}

.blog-card {
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-8px);
}

.blog-card-header {
    padding: 20px 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.blog-card-category {
    background: #e8f0fe;
    color: var(--google-blue);
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 500;
}

.blog-card-date {
    font-size: 13px;
    color: var(--text-secondary);
}

.blog-card-content {
    padding: 20px 24px;
    flex: 1;
}

.blog-card-title {
    font-family: 'Google Sans', sans-serif;
    font-size: 24px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.3;
}

.blog-card-excerpt {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.blog-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.blog-card-tags .tag {
    padding: 4px 12px;
    background: var(--bg-alt);
    color: var(--text-primary);
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.blog-card-footer {
    padding: 0 24px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--text-secondary);
}

.blog-card-meta i {
    font-size: 16px;
}

/* Placeholder Card */
.blog-card-placeholder {
    border: 2px dashed var(--border-color);
    background: var(--bg-alt);
}

.blog-card-placeholder:hover {
    transform: none;
    box-shadow: var(--shadow-sm);
}

.placeholder-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--google-blue);
}

.placeholder-icon i {
    font-size: 32px;
}

.blog-card-placeholder .blog-card-title {
    text-align: center;
}

.blog-card-placeholder .blog-card-excerpt {
    text-align: center;
}

.blog-card-placeholder .blog-card-footer {
    justify-content: center;
}

/* Categories Section */
.blog-categories {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.categories-title {
    font-family: 'Google Sans', sans-serif;
    font-size: 24px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 24px;
    text-align: center;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.category-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--bg-alt);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
    cursor: pointer;
}

.category-item:hover {
    background: #e8f0fe;
    border-color: var(--google-blue);
}

.category-item i {
    font-size: 24px;
    color: var(--google-blue);
}

.category-item span {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

/* Active Nav Link */
.nav-link.active {
    background: rgba(60, 64, 67, 0.08);
    color: var(--google-blue);
}

/* Responsive */
@media (max-width: 768px) {
    .blog-index-title {
        font-size: 36px;
    }

    .blog-index-subtitle {
        font-size: 16px;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .categories-grid {
        grid-template-columns: 1fr;
    }
}


/* Nav Actions for Blog Pages */
.nav-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.nav-actions .nav-contact-btn {
    margin-left: 0;
}
