/* Blog Detail Styles */

/* Blog Detail Header */
.blog-detail-header {
    position: relative;
    background: linear-gradient(135deg, #2B2859 0%, #1a1733 100%);
    padding: 180px 0 100px;
    overflow: hidden;
}

.blog-detail-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(199, 146, 70, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(199, 146, 70, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.blog-detail-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 0%, rgba(199, 146, 70, 0.05) 100%);
}

.blog-detail-header-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.blog-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.blog-breadcrumb a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s;
}

.blog-breadcrumb a:hover {
    color: var(--secondary-color);
}

.blog-category-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--secondary-color), #d4a853);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(199, 146, 70, 0.3);
}

.blog-detail-header h1 {
    font-size: 48px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 30px;
    line-height: 1.3;
}

.blog-detail-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    color: rgba(255, 255, 255, 0.8);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
}

.meta-item i {
    color: var(--secondary-color);
}

/* Blog Detail Layout */
.blog-detail-content {
    background: var(--white);
}

.blog-detail-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 50px;
    align-items: start;
}

/* Sidebar */
.blog-sidebar {
    position: sticky;
    top: 120px;
}

.sidebar-widget {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    border: 1px solid rgba(199, 146, 70, 0.1);
}

.sidebar-widget h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-widget h3 i {
    color: var(--secondary-color);
    font-size: 18px;
}

/* Table of Contents */
.table-of-contents {
    list-style: none;
    padding: 0;
    margin: 0;
}

.table-of-contents li {
    margin-bottom: 12px;
}

.table-of-contents a {
    display: block;
    color: #555;
    text-decoration: none;
    padding: 10px 15px;
    border-left: 3px solid transparent;
    transition: all 0.3s;
    border-radius: 5px;
    font-size: 15px;
}

.table-of-contents a:hover,
.table-of-contents a.active {
    background: linear-gradient(90deg, rgba(199, 146, 70, 0.1), transparent);
    border-left-color: var(--secondary-color);
    color: var(--primary-color);
    font-weight: 600;
    padding-left: 20px;
}

/* Contact Widget */
.contact-widget {
    background: linear-gradient(135deg, #2B2859 0%, #1a1733 100%);
    color: var(--white);
}

.contact-widget h3 {
    color: var(--white);
}

.contact-widget p {
    font-size: 15px;
    margin-bottom: 20px;
    opacity: 0.9;
}

.btn-sidebar {
    display: block;
    background: linear-gradient(135deg, var(--secondary-color), #d4a853);
    color: var(--white);
    padding: 14px 25px;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(199, 146, 70, 0.3);
}

.btn-sidebar:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(199, 146, 70, 0.4);
}

.widget-contact-info p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 14px;
}

.widget-contact-info i {
    color: var(--secondary-color);
    width: 20px;
}

/* Share Widget */
.share-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.share-btn {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s;
}

.share-btn.facebook {
    background: #3b5998;
}

.share-btn.twitter {
    background: #1da1f2;
}

.share-btn.linkedin {
    background: #0077b5;
}

.share-btn.whatsapp {
    background: #25d366;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Main Content */
.blog-main-content {
    background: var(--white);
}

.blog-featured-image {
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 50px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.blog-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Blog Intro */
.blog-intro {
    margin-bottom: 50px;
}

.lead-text {
    font-size: 20px;
    line-height: 1.8;
    color: #333;
    font-weight: 500;
    margin-bottom: 25px;
    padding-left: 20px;
    border-left: 4px solid var(--secondary-color);
}

.blog-intro p {
    font-size: 17px;
    line-height: 1.9;
    color: #555;
    margin-bottom: 20px;
}

/* Content Sections */
.content-section {
    margin-bottom: 60px;
}

.content-section h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    padding-bottom: 15px;
    border-bottom: 3px solid rgba(199, 146, 70, 0.2);
}

.content-section h2 i {
    color: var(--secondary-color);
    font-size: 32px;
}

.content-section p {
    font-size: 17px;
    line-height: 1.9;
    color: #555;
    margin-bottom: 20px;
}

.section-image {
    border-radius: 15px;
    overflow: hidden;
    margin: 30px 0;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.section-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Info Box */
.info-box {
    display: flex;
    gap: 20px;
    background: linear-gradient(135deg, #f8f9ff 0%, #fff5e6 100%);
    padding: 25px;
    border-radius: 15px;
    margin: 30px 0;
    border-left: 5px solid var(--secondary-color);
}

.info-box-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary-color), #d4a853);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 28px;
}

.info-box-content h4 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 700;
}

.info-box-content p {
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
}

/* Highlight Box */
.highlight-box {
    background: linear-gradient(135deg, #2B2859 0%, #1a1733 100%);
    padding: 35px;
    border-radius: 15px;
    margin: 30px 0;
    color: var(--white);
    box-shadow: 0 10px 40px rgba(43, 40, 89, 0.2);
}

.highlight-box h4 {
    font-size: 22px;
    margin-bottom: 20px;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 12px;
}

.highlight-box h4 i {
    color: var(--secondary-color);
}

.highlight-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.highlight-box ul li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
}

.highlight-box ul li:last-child {
    border-bottom: none;
}

.highlight-box ul li i {
    color: var(--secondary-color);
    font-size: 18px;
}

/* Two Column Layout */
.two-column-layout {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin: 30px 0;
}

.card-box {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    border: 2px solid rgba(199, 146, 70, 0.1);
    transition: all 0.3s;
}

.card-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--secondary-color);
}

.card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--secondary-color), #d4a853);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 32px;
    margin-bottom: 20px;
}

.card-box h4 {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 700;
}

.card-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.card-box ul li {
    padding: 10px 0;
    padding-left: 25px;
    position: relative;
    color: #555;
    font-size: 16px;
}

.card-box ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

/* Process Steps */
.process-steps {
    margin: 40px 0;
}

.step {
    display: flex;
    gap: 25px;
    margin-bottom: 30px;
    padding: 25px;
    background: linear-gradient(135deg, #f8f9ff 0%, #fff 100%);
    border-radius: 15px;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.step:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 5px 20px rgba(199, 146, 70, 0.1);
}

.step-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary-color), #d4a853);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 28px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(199, 146, 70, 0.3);
}

.step-content h4 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 700;
}

.step-content p {
    margin: 0;
    color: #555;
    font-size: 16px;
    line-height: 1.7;
}

/* Why Lawyer Box */
.why-lawyer-box {
    background: linear-gradient(135deg, #fff5e6 0%, #f8f9ff 100%);
    padding: 35px;
    border-radius: 15px;
    margin: 30px 0;
    border: 2px solid rgba(199, 146, 70, 0.2);
}

.why-lawyer-box h4 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
}

.why-lawyer-box h4 i {
    color: var(--secondary-color);
}

.reason-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.reason-item {
    text-align: center;
    padding: 25px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.reason-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.reason-item i {
    font-size: 40px;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.reason-item h5 {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 700;
}

.reason-item p {
    margin: 0;
    font-size: 14px;
    color: #666;
}

/* Conclusion Box */
.conclusion-box {
    background: linear-gradient(135deg, #2B2859 0%, #1a1733 100%);
    padding: 40px;
    border-radius: 15px;
    color: var(--white);
    box-shadow: 0 10px 40px rgba(43, 40, 89, 0.2);
}

.conclusion-box p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 17px;
    line-height: 1.9;
    margin-bottom: 20px;
}

.conclusion-box p:last-child {
    margin-bottom: 0;
}

/* FAQ Section */
.faq-section {
    background: linear-gradient(135deg, #f8f9ff 0%, #fff 100%);
    padding: 50px;
    border-radius: 20px;
    border: 2px solid rgba(199, 146, 70, 0.1);
}

.faq-container {
    margin-top: 30px;
}

.faq-item {
    background: var(--white);
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(199, 146, 70, 0.1);
}

.faq-question {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 25px;
    cursor: pointer;
    transition: all 0.3s;
    background: var(--white);
}

.faq-question:hover {
    background: linear-gradient(90deg, rgba(199, 146, 70, 0.05), transparent);
}

.faq-question i {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--secondary-color), #d4a853);
    border-radius: 50%;
    color: var(--white);
    font-size: 14px;
    transition: all 0.3s;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.faq-question h4 {
    margin: 0;
    font-size: 18px;
    color: var(--primary-color);
    font-weight: 600;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 25px 20px 70px;
    margin: 0;
    color: #555;
    font-size: 16px;
    line-height: 1.8;
}

/* Blog CTA */
.blog-cta {
    background: linear-gradient(135deg, #2B2859 0%, #1a1733 100%);
    padding: 50px;
    border-radius: 20px;
    text-align: center;
    margin: 50px 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(43, 40, 89, 0.3);
}

.blog-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 50%, rgba(199, 146, 70, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(199, 146, 70, 0.1) 0%, transparent 50%);
}

.cta-content {
    position: relative;
    z-index: 2;
}

.blog-cta h3 {
    font-size: 32px;
    color: var(--white);
    margin-bottom: 15px;
    font-weight: 700;
}

.blog-cta p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

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

.btn-whatsapp {
    background: linear-gradient(135deg, #25d366, #20ba5a);
    color: var(--white);
    padding: 16px 35px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
}

/* Blog Tags */
.blog-tags {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid rgba(199, 146, 70, 0.1);
}

.blog-tags h4 {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
}

.blog-tags h4 i {
    color: var(--secondary-color);
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tag {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(135deg, #f8f9ff 0%, #fff5e6 100%);
    color: var(--primary-color);
    border-radius: 25px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid rgba(199, 146, 70, 0.2);
}

.tag:hover {
    background: linear-gradient(135deg, var(--secondary-color), #d4a853);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(199, 146, 70, 0.3);
}

/* Related Posts */
.related-posts .blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.related-posts .blog-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
}

.related-posts .blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.15);
}

.related-posts .blog-image {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.related-posts .blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.related-posts .blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.related-posts .blog-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, var(--secondary-color), #d4a853);
    color: var(--white);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.related-posts .blog-content {
    padding: 25px;
}

.related-posts .blog-content h3 {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 12px;
    font-weight: 700;
    line-height: 1.4;
}

.related-posts .blog-content p {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.related-posts .read-more {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.related-posts .read-more:hover {
    gap: 12px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .blog-detail-layout {
        grid-template-columns: 280px 1fr;
        gap: 40px;
    }

    .blog-detail-header h1 {
        font-size: 40px;
    }

    .content-section h2 {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .blog-detail-layout {
        grid-template-columns: 1fr;
    }

    .blog-sidebar {
        position: static;
        order: 2;
    }

    .blog-main-content {
        order: 1;
    }

    .blog-detail-header {
        padding: 140px 0 60px;
    }

    .blog-detail-header h1 {
        font-size: 32px;
    }

    .blog-detail-meta {
        gap: 15px;
    }

    .two-column-layout {
        grid-template-columns: 1fr;
    }

    .reason-grid {
        grid-template-columns: 1fr;
    }

    .related-posts .blog-posts-grid {
        grid-template-columns: 1fr;
    }

    .content-section h2 {
        font-size: 28px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .blog-cta h3 {
        font-size: 26px;
    }

    .faq-section {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .blog-detail-header h1 {
        font-size: 26px;
    }

    .content-section h2 {
        font-size: 24px;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .sidebar-widget {
        padding: 20px;
    }

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

    .highlight-box,
    .info-box {
        padding: 20px;
    }

    .step {
        flex-direction: column;
    }
}

