/* ===========================================
   BLookHub Website - Consolidated Styles
   All website pages use this single stylesheet
   =========================================== */

/* Import base styles */
@import url('../blookhub-home.css');
@import url('../landing-pages-fix.css');

/* =========================================== 
   Blog Styles
   =========================================== */

/* Blog List Page */
.blog-card {
    transition: all 0.3s ease;
    height: 100%;
    border: none;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.15);
}

.blog-image {
    height: 220px;
    object-fit: cover;
    width: 100%;
}

.blog-category {
    display: inline-block;
    padding: 6px 14px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-tag {
    display: inline-block;
    padding: 4px 10px;
    background: #f1f3f5;
    color: #495057;
    border-radius: 6px;
    font-size: 0.75rem;
    margin: 2px;
    transition: background 0.2s;
}

.blog-tag:hover {
    background: #e9ecef;
}

.featured-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #ffc107;
    color: #000;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(255,193,7,0.3);
    z-index: 10;
}

.blog-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-right: 12px;
    color: #6c757d;
    font-size: 0.85rem;
}

.sidebar-widget {
    background: #fff;
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.sidebar-widget h5 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #333;
}

/* Blog Single Page */
.blog-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0 3rem;
}

.blog-featured-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.blog-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.blog-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.blog-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.blog-content p {
    margin-bottom: 1.25rem;
}

.blog-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.blog-content ul, .blog-content ol {
    margin-bottom: 1.25rem;
    padding-left: 2rem;
}

.blog-content li {
    margin-bottom: 0.5rem;
}

.blog-content blockquote {
    border-left: 4px solid #667eea;
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: #666;
}

.blog-content code {
    background: #f8f9fa;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    color: #e83e8c;
}

.blog-content pre {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1.5rem 0;
}

.blog-content pre code {
    background: none;
    padding: 0;
    color: #333;
}

.blog-meta-box {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

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

.share-buttons a:hover {
    transform: scale(1.1);
}

.share-buttons .btn {
    margin-right: 8px;
    margin-bottom: 8px;
}

.author-box {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 12px;
    margin: 2rem 0;
}

.related-post-card {
    transition: transform 0.3s;
    border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.related-post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.related-blogs-card {
    transition: transform 0.3s;
    height: 100%;
}

.related-blogs-card:hover {
    transform: translateY(-4px);
}

.progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255,255,255,0.2);
    z-index: 1000;
}

.progress-bar-reading {
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    width: 0%;
    transition: width 0.1s;
}

.sidebar-sticky {
    position: sticky;
    top: 20px;
}

/* =========================================== 
   Hero Sections for Landing Pages
   =========================================== */

.hero-qr {
    background: linear-gradient(135deg, #156C7D 0%, #00A8CC 50%, #0096B8 100%);
    min-height: 85vh;
    padding-top: 120px;
    position: relative;
    overflow: hidden;
}

.hero-queueless {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
    min-height: 90vh;
    padding-top: 120px;
    position: relative;
    overflow: hidden;
}

.hero-blookbidz {
    background: linear-gradient(135deg, #d97706 0%, #dc2626 100%);
    min-height: 90vh;
    padding-top: 120px;
    position: relative;
    overflow: hidden;
}

/* =========================================== 
   Gradient Utilities
   =========================================== */

.gradient-blue { 
    background: linear-gradient(135deg, #3b82f6, #06b6d4); 
}

.gradient-green { 
    background: linear-gradient(135deg, #22c55e, #10b981); 
}

.gradient-purple { 
    background: linear-gradient(135deg, #7c3aed, #60a5fa); 
}

.gradient-orange { 
    background: linear-gradient(135deg, #f97316, #dc2626); 
}

.gradient-pink { 
    background: linear-gradient(135deg, #a78bfa, #f472b6); 
}

.gradient-lime {
    background: linear-gradient(135deg, #10b981, #84cc16);
}

.section-dark { 
    background: linear-gradient(135deg, #1f2937, #111827); 
}

/* =========================================== 
   Utility Classes
   =========================================== */

.hover-lift {
    transition: all 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
}

.backdrop-blur {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* =========================================== 
   Lead Modal Styles
   =========================================== */

#leadModal .modal-content {
    border-radius: 16px;
}

#leadModal .form-control:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 0.2rem rgba(99, 102, 241, 0.15);
}

#leadModal .btn-primary {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border: none;
    padding: 12px 24px;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
}

#leadModal .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

#leadModal .btn-primary:disabled {
    opacity: 0.7;
    transform: none;
}

#leadModal .form-check-input:checked {
    background-color: #6366f1;
    border-color: #6366f1;
}

#leadModal .invalid-feedback {
    display: none;
}

#leadModal .form-control.is-invalid ~ .invalid-feedback {
    display: block;
}

/* =========================================== 
   Scroll Progress Bar
   =========================================== */

#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, #1c90fc 0%, #ff8731 100%);
    z-index: 9999;
    transition: width 0.1s ease;
}

/* =========================================== 
   Responsive Adjustments
   =========================================== */

@media (max-width: 991.98px) {
    .hero-qr,
    .hero-queueless,
    .hero-blookbidz {
        padding-top: 100px;
        min-height: 70vh;
    }
    
    .blog-hero {
        padding: 3rem 0 2rem;
    }
}

@media (max-width: 767.98px) {
    .hero-qr,
    .hero-queueless,
    .hero-blookbidz {
        padding-top: 80px;
        min-height: 60vh;
    }
    
    .blog-content {
        font-size: 1rem;
    }
    
    .blog-image {
        height: 180px;
    }
}
