/* ============================================
   HERO BANNER
   ============================================ */
.blog-hero {
    min-height: 60vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.blog-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.2) 100%);
    z-index: 1;
}

.hero-breadcrumb {
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    z-index: 2;
}

.hero-breadcrumb .breadcrumb-item a {
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.hero-breadcrumb .breadcrumb-item a:hover {
    opacity: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 100px 0 60px;
}

.blog-title {
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
    animation: fadeInUp 0.8s ease;
}

.blog-meta {
    animation: fadeInUp 1s ease;
}

.badge-lg {
    font-size: 0.9rem;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: white;
    font-size: 1.5rem;
    animation: bounce 2s infinite;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    backdrop-filter: blur(5px);
    text-decoration: none;
    transition: all 0.3s ease;
}

.scroll-indicator:hover {
    background: rgba(255,255,255,0.25);
    color: white;
}

/* ============================================
   BLOG CONTENT
   ============================================ */
.blog-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1) !important;
}

.blog-content {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #2d3748;
}

.blog-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: #1a202c;
}

.blog-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 0.8rem;
    color: #2d3748;
}

.blog-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    color: #2d3748;
}

.blog-content p {
    margin-bottom: 1.5rem;
}

.blog-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 1.5rem 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.blog-content ul,
.blog-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.blog-content li {
    margin-bottom: 0.5rem;
}

.blog-content blockquote {
    border-left: 4px solid #0d6efd;
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    background: #f8f9fa;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #4a5568;
}

.blog-content pre {
    background: #1a202c;
    color: #e2e8f0;
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1.5rem 0;
}

.blog-content code {
    background: #f1f3f5;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-size: 0.9rem;
}

.blog-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.blog-content table th,
.blog-content table td {
    padding: 0.75rem;
    border: 1px solid #e2e8f0;
}

.blog-content table th {
    background: #f8f9fa;
    font-weight: 600;
}

/* ============================================
   SHARE BUTTONS
   ============================================ */
.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.share-btn.facebook { background: #1877f2; }
.share-btn.instagram { background: #e1306c; }
.share-btn.twitter { background: #000000; }
.share-btn.linkedin { background: #0a66c2; }
.share-btn.whatsapp { background: #25d366; }
.share-btn.copy-link { background: #6c757d; }
.share-btn.tiktok { background: #000000; }
.share-btn.copy-link:hover { background: #5a6268; }

.share-btn.copy-link.copied {
    background: #198754;
    animation: pulse 0.5s ease;
}

/* ============================================
   AUTHOR BOX
   ============================================ */
.author-box {
    transition: transform 0.3s ease;
}

.author-box:hover {
    transform: translateY(-2px);
}

.author-avatar img {
    object-fit: cover;
    border: 2px solid #e2e8f0;
}

/* ============================================
   SIDEBAR
   ============================================ */
.sidebar .card {
    transition: transform 0.3s ease;
}

.sidebar .card:hover {
    transform: translateY(-2px);
}

.sidebar .list-group-item {
    transition: all 0.3s ease;
}

.sidebar .list-group-item:hover {
    background-color: #f8f9fa;
}

.store-icon img {
    object-fit: cover;
}

.object-fit-cover {
    object-fit: cover;
}

.min-width-0 {
    min-width: 0;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
    .blog-hero {
        min-height: 50vh;
        background-attachment: scroll;
    }
    
    .hero-content {
        padding: 80px 0 40px;
    }
}

@media (max-width: 768px) {
    .blog-hero {
        min-height: 40vh;
    }
    
    .blog-title {
        font-size: 2.2rem !important;
    }
    
    .blog-content {
        font-size: 1rem;
    }
    
    .blog-content h2 {
        font-size: 1.6rem;
    }
    
    .blog-content h3 {
        font-size: 1.3rem;
    }
    
    .blog-card .card-body {
        padding: 1.5rem !important;
    }
}

@media (max-width: 576px) {
    .blog-hero {
        min-height: 35vh;
    }
    
    .blog-title {
        font-size: 1.8rem !important;
    }
    
    .blog-meta {
        font-size: 0.85rem;
        gap: 0.5rem !important;
    }
    
    .share-btn {
        width: 38px;
        height: 38px;
        font-size: 0.9rem;
    }
}