/* ==========================================================================
   JAYABHERI LUXURY BLOG CUSTOM STYLESHEET
   Elevating standard blog content into a premium, interactive magazine experience.
   ========================================================================== */

/* 1. Scroll Reading Progress Bar */
.reading-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
    z-index: 9999;
}

/* Page Header Hero Title & Breadcrumb Alignment Fix */
.page-header .container h1 {
    font-size: 2.5rem !important;
    line-height: 1.25 !important;
    width: 100% !important;
    max-width: 920px !important;
    margin: 0 0 16px 0 !important;
    text-align: left !important;
    font-weight: 800 !important;
}

.page-header .container ul {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
}

@media (max-width: 768px) {
    .page-header .container h1 {
        font-size: 1.6rem !important;
    }
}

.reading-progress-bar {
    height: 100%;
    background: #feed01;
    width: 0%;
    transition: width 0.1s ease-out;
    box-shadow: 0 0 10px rgba(254, 237, 1, 0.7);
}

/* 2. Article Meta Bar & Badges */
.article-meta-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #eaeaea;
}

.meta-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.meta-badge.category {
    background-color: #0b0b0b;
    color: #feed01;
}

.meta-badge.info {
    background-color: #f1f3f5;
    color: #495057;
}

.meta-badge.author {
    background-color: #fff9db;
    color: #856404;
    border: 1px solid #ffe8cc;
}

/* 3. Blog Hero Image Container */
.blog-hero-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 35px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.blog-hero-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
}

.blog-hero-wrapper:hover img {
    transform: scale(1.02);
}

.hero-glass-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(11, 11, 11, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(254, 237, 1, 0.4);
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-glass-badge i {
    color: #feed01;
}

/* 4. Sticky Table of Contents (TOC) */
.toc-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 24px;
    position: sticky;
    top: 110px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
    margin-bottom: 30px;
}

.toc-card h5 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0b0b0b;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 10px;
    border-bottom: 2px solid #feed01;
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 480px;
    overflow-y: auto;
}

.toc-list li {
    margin-bottom: 10px;
}

.toc-list li a {
    color: #4a5568;
    font-size: 0.9rem;
    line-height: 1.4;
    text-decoration: none;
    transition: all 0.2s ease;
    display: block;
    padding: 4px 8px;
    border-radius: 6px;
}

.toc-list li a:hover,
.toc-list li a.active {
    color: #0b0b0b;
    background: rgba(254, 237, 1, 0.25);
    font-weight: 600;
    padding-left: 12px;
}

/* 5. Key Takeaways Card */
.key-takeaways-card {
    background: #0b0b0b;
    color: #ffffff;
    border-left: 5px solid #feed01;
    border-radius: 12px;
    padding: 28px;
    margin: 30px 0 40px 0;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.key-takeaways-card h3 {
    color: #feed01;
    font-size: 1.35rem;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.key-takeaways-card p {
    color: #e2e8f0;
    font-size: 1.02rem;
    line-height: 1.7;
    margin: 0;
}

/* 6. Section Block Typography & Layout */
.blog-section {
    margin-bottom: 45px;
    scroll-margin-top: 120px;
}

.blog-section h2 {
    color: #0b0b0b;
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 18px;
    position: relative;
    padding-left: 16px;
    letter-spacing: -0.3px;
}

.blog-section h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    bottom: 6px;
    width: 4px;
    background-color: #feed01;
    border-radius: 2px;
}

.blog-section p {
    color: #333333;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 18px;
}

/* 7. Feature Grid Cards */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 25px 0 35px 0;
}

.feature-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 24px;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    border-color: #feed01;
}

.feature-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.feature-number {
    background: #0b0b0b;
    color: #feed01;
    font-weight: 700;
    font-size: 0.85rem;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0b0b0b;
    margin: 0;
    line-height: 1.3;
}

.feature-card p {
    font-size: 0.96rem;
    color: #555555;
    line-height: 1.6;
    margin: 0;
}

/* 8. Quote Callout Box */
.quote-callout {
    background: linear-gradient(135deg, #f8f9fa 0%, #edf2f7 100%);
    border-left: 5px solid #0b0b0b;
    border-radius: 12px;
    padding: 26px 30px;
    margin: 35px 0;
    position: relative;
}

.quote-callout p {
    font-size: 1.15rem;
    font-weight: 600;
    font-style: italic;
    color: #1a202c;
    line-height: 1.7;
    margin: 0;
}

.quote-callout::before {
    content: "\201C";
    font-size: 4rem;
    color: rgba(254, 237, 1, 0.6);
    position: absolute;
    top: -10px;
    right: 20px;
    font-family: Georgia, serif;
    line-height: 1;
}

/* 9. Creative Non-Accordion FAQ Section */
.creative-faq-container {
    background: #f8f9fa;
    border-radius: 20px;
    padding: 45px 35px;
    margin: 60px 0 40px 0;
    border: 1px solid #e9ecef;
}

.faq-header-wrapper {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px auto;
}

.faq-header-pill {
    display: inline-block;
    background: #0b0b0b;
    color: #feed01;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.faq-header-wrapper h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #0b0b0b;
    margin-bottom: 10px;
}

.faq-header-wrapper p {
    color: #6c757d;
    font-size: 1rem;
}

.creative-faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}

.creative-faq-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.creative-faq-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.09);
    border-color: #feed01;
}

.creative-faq-card .card-top {
    background: #0b0b0b;
    color: #ffffff;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.faq-badge {
    background: #feed01;
    color: #0b0b0b;
    font-weight: 800;
    font-size: 0.9rem;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.creative-faq-card h3 {
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.4;
}

.creative-faq-card .card-bottom {
    padding: 22px 24px;
    background: #ffffff;
    flex-grow: 1;
}

.creative-faq-card .card-bottom p {
    color: #4a5568;
    font-size: 0.98rem;
    line-height: 1.7;
    margin: 0;
}

/* 10. Related Article Banner */
.related-article-card {
    background: linear-gradient(135deg, #0b0b0b 0%, #1c1c1c 100%);
    border-radius: 16px;
    padding: 30px 35px;
    color: #ffffff;
    margin-top: 45px;
    border-left: 6px solid #feed01;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.related-article-card h4 {
    color: #feed01;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.related-article-card h3 {
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
}

.related-article-card .btn-related {
    background: #feed01;
    color: #0b0b0b;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.related-article-card .btn-related:hover {
    background: #ffffff;
    color: #0b0b0b;
    transform: translateX(4px);
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .toc-card {
        position: static;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .creative-faq-container {
        padding: 30px 20px;
    }
    
    .blog-section h2 {
        font-size: 1.45rem;
    }
    
    .related-article-card {
        padding: 24px;
        flex-direction: column;
        align-items: flex-start;
    }
}

/* 11. Article Inline Hyperlink Styling */
.blog-section a,
.intro-block a,
.content a {
    color: #c50c20;
    text-decoration: underline;
    font-weight: 700;
    transition: all 0.2s ease;
}

.blog-section a:hover,
.intro-block a:hover,
.content a:hover {
    color: #9e0918;
    background-color: rgba(197, 12, 32, 0.08);
    text-decoration: underline;
}
