/* ===== BLOG POST STYLES ===== */
.blog-post-page {
    background: #0b1220;
    padding-top: 80px;
}

/* Hero sekcija */
.blog-post-hero {
    background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
    min-height: 420px;
    display: flex;
    align-items: center;
}

.blog-post-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.03)"/></svg>');
    background-size: 50px 50px;
}

.blog-post-hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-image-wrap {
    position: relative;
    text-align: center;
}

.hero-image-wrap img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    transform: perspective(800px) rotateY(-3deg);
    transition: transform 0.4s ease;
}

.hero-image-wrap:hover img {
    transform: perspective(800px) rotateY(0deg);
}

.hero-image-wrap::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 10%;
    right: 10%;
    height: 30px;
    background: radial-gradient(ellipse at center, rgba(0,201,255,0.15) 0%, transparent 70%);
    filter: blur(8px);
}

.blog-post-hero .category {
    display: inline-block;
    background: #00c9ff;
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.blog-post-hero h1 {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.3;
}

.blog-post-hero .meta {
    display: flex;
    align-items: center;
    gap: 20px;
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
}

.blog-post-hero .meta i {
    margin-right: 5px;
    color: #00c9ff;
}

/* Blog content */
.blog-post-content {
    padding: 60px 0 80px;
}

.blog-post-body {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.blog-post-body h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #212529;
    margin: 40px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #00c9ff;
    display: inline-block;
}

.blog-post-body h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #212529;
    margin: 30px 0 15px;
}

.blog-post-body p {
    color: #495057;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.blog-post-body ul,
.blog-post-body ol {
    margin-bottom: 20px;
    padding-left: 25px;
}

.blog-post-body li {
    color: #495057;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 10px;
}

.blog-post-body strong {
    color: #212529;
}

.blog-post-body img {
    max-width: 100%;
    border-radius: 12px;
    margin: 30px 0;
}

.blog-post-body blockquote {
    background: #f8f9fa;
    border-left: 4px solid #00c9ff;
    padding: 20px 25px;
    margin: 30px 0;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: #495057;
}

.blog-post-body blockquote p {
    margin: 0;
}

/* Author box */
.author-box {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
    margin-top: 40px;
}

.author-box img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.author-box .author-info h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.author-box .author-info p {
    color: #6c757d;
    font-size: 0.95rem;
    margin: 0;
}

/* Share buttons */
.share-buttons {
    display: flex;
    gap: 10px;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #e9ecef;
}

.share-buttons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: transform 0.2s;
}

.share-buttons a:hover {
    transform: translateY(-3px);
}

.share-buttons .facebook { background: #1877f2; }
.share-buttons .twitter { background: #1da1f2; }
.share-buttons .linkedin { background: #0077b5; }
.share-buttons .whatsapp { background: #25d366; }

/* Related posts */
.related-posts {
    margin-top: 60px;
}

.related-posts h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: #fff;
}

.related-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.related-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.related-card-body {
    padding: 20px;
}

.related-card .category {
    display: inline-block;
    background: #00c9ff;
    color: #fff;
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.related-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.related-card h4 a {
    color: #212529;
    text-decoration: none;
    transition: color 0.2s;
}

.related-card h4 a:hover {
    color: #00c9ff;
}

.related-card .date {
    color: #6c757d;
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 991px) {
    .blog-post-hero {
        min-height: auto;
        padding: 50px 0;
    }

    .blog-post-hero h1 {
        font-size: 2rem;
    }

    .hero-image-wrap img {
        transform: none;
        max-width: 80%;
    }

    .hero-image-wrap:hover img {
        transform: none;
    }
}

@media (max-width: 767px) {
    .blog-post-hero {
        padding: 40px 0;
        min-height: auto;
    }

    .blog-post-hero h1 {
        font-size: 1.6rem;
    }

    .hero-image-wrap img {
        max-width: 100%;
        transform: none;
    }

    .hero-image-wrap:hover img {
        transform: none;
    }

    .blog-post-body {
        padding: 25px;
    }

    .author-box {
        flex-direction: column;
        text-align: center;
    }
}
