/* Blog Preview Styles */

.blog-preview {
    background-color: #f8f9fa;
    padding: 80px 0;
}

.blog-preview__content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.blog-preview__link {
    text-decoration: none;
    color: inherit;
    display: block;
    padding: 40px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.blog-preview__link:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.blog-preview__title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
    line-height: 1.4;
}

.blog-preview__excerpt {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.blog-preview__read-more {
    color: #3498db;
    font-weight: 500;
    font-size: 1rem;
}

/* Blog Page Styles */

/* Uklonjen .hero--blog, koristimo generički .hero iz glavnog CSS-a */

.blog-posts {
    padding: 80px 0;
    background: #f8f9fa;
}

.blog-posts__grid {
    display: grid;
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.blog-post {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.blog-post:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.blog-post--featured {
    border-left: 5px solid #3498db;
}

.blog-post__title {
    color: #2c3e50;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.4;
}

.blog-post--featured .blog-post__title {
    font-size: 2rem;
}

.blog-post__meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: #666;
}

.blog-post__date {
    font-weight: 500;
}

.blog-post__category {
    background: #3498db;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
}

.blog-post__content {
    color: #444;
    line-height: 1.7;
}

.blog-post__content h4 {
    color: #2c3e50;
    margin: 25px 0 15px 0;
    font-size: 1.1rem;
}

.blog-post__content ul, 
.blog-post__content ol {
    margin: 20px 0;
    padding-left: 25px;
}

.blog-post__content li {
    margin-bottom: 8px;
}

.blog-post__content blockquote {
    border-left: 4px solid #3498db;
    padding: 20px 30px;
    margin: 30px 0;
    background: #f8f9fa;
    font-style: italic;
    color: #555;
    border-radius: 0 8px 8px 0;
}

/* CTA Section */

.cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta__title {
    font-size: 2rem;
    margin-bottom: 15px;
}

.cta__description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta__actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer stil - ista pozadinska boja kao hero sekcija */

.footer {
    background: linear-gradient(135deg, var(--color-primary) 0%, #3b82f6 100%);
    color: var(--color-btn-primary-text);
    padding: var(--space-20) 0;
    text-align: center;
}

.footer__content p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
}

.footer a {
    color: var(--color-btn-primary-text);
    text-decoration: none;
}

.footer a:hover {
    color: var(--color-primary-hover);
    text-decoration: underline;
}

/* Responsive adjustments */

@media (max-width: 768px) {
    .blog-preview__link {
        padding: 30px 20px;
    }

    .blog-post {
        padding: 30px 20px;
    }

    .blog-post__title {
        font-size: 1.3rem;
    }

    .blog-post--featured .blog-post__title {
        font-size: 1.6rem;
    }

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

    .cta__actions .btn {
        width: 250px;
    }
}
