/* =====================================================
   BLOG DETAIL PAGE — NoidaLuxury
   Reusable for all blog post pages
   Matches Astralis design system exactly
   ===================================================== */

:root {
    --dark: #0b1e14;
    --dark-mid: #112a1c;
    --accent: #1b6b5a;
    --gold: #c9a84c;
    --gold-light: #e8cc7e;
    --cream: #faf6ed;
    --light-green: #f0f7f3;
    --text-dark: #1a2622;
    --text-muted: #5a6b65;
    --border: #e0ede9;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "DM Sans", sans-serif;
    color: var(--text-dark);
    margin: 0;
    background: #fff;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: var(--accent);
}

a:hover {
    color: #145549;
}

/* =====================================================
   READING PROGRESS BAR
   ===================================================== */
#readProgress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    width: 0%;
    z-index: 10001;
    transition: width 0.1s linear;
    pointer-events: none;
}

/* =====================================================
   ARTICLE LAYOUT
   ===================================================== */
.article-wrap {
    padding: 48px 0 80px;
}

.article-wrap .container {
    padding-left: 16px;
    padding-right: 16px;
}

.article-body {
    max-width: 720px;
}

/* =====================================================
   BREADCRUMB
   ===================================================== */
.nl-breadcrumb {
    font-family: "DM Sans", sans-serif;
    font-size: 12.5px;
    color: var(--text-muted);
    margin-bottom: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    align-items: center;
}

.nl-breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.nl-breadcrumb a:hover {
    color: var(--accent);
}

.nl-breadcrumb span {
    color: var(--border);
}

/* =====================================================
   ARTICLE HEADER
   ===================================================== */
.article-cat {
    font-family: "DM Sans", sans-serif;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 8px;
}

.article-h1 {
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(1.8rem, 4vw, 2.7rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: 18px;
}

.article-meta {
    font-family: "DM Sans", sans-serif;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 28px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border);
}

.article-meta i {
    color: var(--gold);
    font-size: 11px;
}

.article-hero {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.article-inline-img {
    width: 100%;
    border-radius: 10px;
    margin: 24px 0 32px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}

/* =====================================================
   BODY TYPOGRAPHY
   ===================================================== */
.article-body p {
    font-family: "DM Sans", sans-serif;
    margin-bottom: 20px;
    color: var(--text-dark);
    line-height: 1.75;
    font-size: 14.5px;
}

.article-body h2 {
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(1.4rem, 3.2vw, 2rem);
    font-weight: 700;
    color: var(--text-dark);
    margin: 44px 0 12px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border);
}

.article-body h3 {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 26px 0 10px;
}

.article-body ul.blog-list {
    margin: 12px 0 20px 20px;
    padding-left: 0;
}

.article-body ul.blog-list li {
    font-family: "DM Sans", sans-serif;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-size: 14px;
    line-height: 1.7;
}

.article-body strong {
    color: var(--text-dark);
    font-weight: 600;
}

.article-body a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.article-body a:hover {
    color: #145549;
}

/* =====================================================
   TABLE OF CONTENTS
   ===================================================== */
.toc {
    background: var(--cream);
    border: 1px solid var(--border);
    border-left: 3px solid var(--gold);
    border-radius: 0 10px 10px 0;
    padding: 20px 22px;
    margin: 0 0 36px;
}

.toc-title {
    font-family: "DM Sans", sans-serif;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--gold);
    font-weight: 700;
    margin-bottom: 12px;
}

.toc ol {
    margin: 0;
    padding-left: 18px;
}

.toc ol li {
    margin-bottom: 5px;
}

.toc ol li a {
    font-family: "DM Sans", sans-serif;
    font-size: 13.5px;
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.2s;
}

.toc ol li a:hover {
    color: var(--accent);
}

/* =====================================================
   STAT ROW
   ===================================================== */
.stat-row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin: 32px 0;
}

.stat-card {
    flex: 1 1 calc(50% - 7px);
    min-width: 0;
    background: var(--dark);
    border-radius: 10px;
    padding: 18px 16px;
    text-align: center;
    border-top: 3px solid var(--gold);
    transition:
        transform 0.25s,
        box-shadow 0.25s;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(11, 30, 20, 0.3);
}

.stat-card .num {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 6px;
}

.stat-card .lbl {
    font-family: "DM Sans", sans-serif;
    font-size: 11px;
    color: #c8d4cb;
    line-height: 1.45;
}

/* =====================================================
   HIGHLIGHT BOX
   ===================================================== */
.highlight-box {
    background: var(--light-green);
    border-left: 4px solid var(--accent);
    border-radius: 0 8px 8px 0;
    padding: 18px 22px;
    margin: 28px 0;
    font-family: "DM Sans", sans-serif;
    font-size: 15px;
    color: var(--text-dark);
    line-height: 1.7;
}

.highlight-box strong {
    color: var(--accent);
}

/* =====================================================
   FEATURE GRID
   ===================================================== */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 4px;
    margin: 24px 0;
}

.feature-item {
    margin-bottom: 16px;
    padding-left: 16px;
    border-left: 3px solid var(--gold);
    background: transparent;
}

.feature-icon {
    color: var(--gold);
    font-size: 16px;
    margin-bottom: 6px;
}

.feature-item strong {
    font-family: "DM Sans", sans-serif;
    display: block;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.feature-item span {
    font-family: "DM Sans", sans-serif;
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.65;
}

/* =====================================================
   COMPARE TABLE
   ===================================================== */
.compare-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    background: #fff;
}

.compare-table thead {
    background: var(--dark);
    color: #fff;
}

.compare-table th {
    padding: 14px 10px;
    text-align: left;
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.compare-table td {
    padding: 11px 10px;
    border-bottom: 1px solid var(--border);
    color: var(--text-dark);
    vertical-align: middle;
    font-size: 13.5px;
}

.compare-table tr:nth-child(even) td {
    background: var(--cream);
}

.compare-table td:first-child {
    font-weight: 500;
    background: var(--cream);
    text-align: left;
}

/* =====================================================
   IN-ARTICLE CTA CARD
   ===================================================== */
.article-cta {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-mid) 100%);
    border-radius: 12px;
    padding: 28px 30px;
    margin: 44px 0;
    position: relative;
    overflow: hidden;
}

.article-cta::before {
    content: "";
    position: absolute;
    top: -40px;
    right: -40px;
    width: 180px;
    height: 180px;
    background: radial-gradient(
        circle,
        rgba(201, 168, 76, 0.12) 0%,
        transparent 70%
    );
    pointer-events: none;
}

.article-cta h3 {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.article-cta p {
    font-family: "DM Sans", sans-serif;
    color: rgba(255, 255, 255, 0.6);
    font-size: 13.5px;
    margin-bottom: 18px;
}

.article-cta-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Button variants */
.btn-gold-sm {
    font-family: "DM Sans", sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 20px;
    border-radius: 8px;
    background: var(--gold);
    color: #0b1e14;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.btn-gold-sm:hover {
    background: var(--gold-light);
    color: #0b1e14;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(201, 168, 76, 0.3);
}

.btn-wa-sm {
    font-family: "DM Sans", sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 18px;
    border-radius: 8px;
    background: #25d366;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s;
    text-decoration: none;
}

.btn-wa-sm:hover {
    background: #128c7e;
    color: #fff;
    transform: translateY(-2px);
}

.btn-outline-sm {
    font-family: "DM Sans", sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 8px;
    border: 1.5px solid var(--gold);
    color: var(--gold);
    font-size: 13px;
    font-weight: 600;
    background: transparent;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-outline-sm:hover {
    border-color: var(--gold);
    background: rgba(201, 168, 76, 0.12);
    color: var(--gold-light);
}

/* =====================================================
   SIDEBAR
   ===================================================== */
.article-sidebar {
    position: sticky;
    top: 80px;
}

.sb-widget {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 18px;
}

.sb-title {
    font-family: "DM Sans", sans-serif;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-dark);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.sb-title i {
    color: var(--gold);
}

/* Project thumb */
.sb-project-thumb-link {
    display: block;
    text-decoration: none;
    margin-bottom: 12px;
}

.sb-project-thumb-link img {
    width: 100%;
    border-radius: 8px;
    height: 160px;
    object-fit: cover;
}

.sb-project-desc {
    font-family: "DM Sans", sans-serif;
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0 0 12px;
}

.sb-project-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin-bottom: 12px;
}

.sb-stat-box {
    background: var(--cream);
    border-radius: 6px;
    padding: 8px 10px;
}

.sb-stat-lbl {
    font-family: "DM Sans", sans-serif;
    color: var(--text-muted);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.sb-stat-val {
    font-family: "DM Sans", sans-serif;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 11px;
}

.sb-stat-val.accent {
    color: var(--accent);
}

/* Sidebar post list */
.sb-post {
    display: flex;
    gap: 10px;
    padding: 9px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    text-decoration: none;
}

.sb-post:last-child {
    border-bottom: none;
}

.sb-thumb {
    width: 52px;
    height: 38px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

.sb-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sb-post-title {
    font-family: "DM Sans", sans-serif;
    font-size: 12px;
    color: var(--text-dark);
    font-weight: 500;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sb-post-date {
    font-family: "DM Sans", sans-serif;
    font-size: 10.5px;
    color: var(--text-muted);
    margin-top: 3px;
}

/* Sidebar project list */
.sb-project {
    display: flex;
    gap: 10px;
    padding: 9px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    text-decoration: none;
    align-items: center;
}

.sb-project:last-child {
    border-bottom: none;
}

.sb-project-name {
    font-family: "DM Sans", sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
}

.sb-project-price {
    font-family: "DM Sans", sans-serif;
    font-size: 11.5px;
    color: var(--accent);
}

/* Sidebar CTA */
.sb-cta {
    background: linear-gradient(135deg, var(--dark), var(--dark-mid));
    border-radius: 12px;
    padding: 22px 18px;
    text-align: center;
}

.sb-cta h3 {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.sb-cta p {
    font-family: "DM Sans", sans-serif;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 14px;
    line-height: 1.6;
}

.sb-btn {
    font-family: "DM Sans", sans-serif;
    display: block;
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    margin-bottom: 8px;
    transition: all 0.2s;
    text-decoration: none;
    text-align: center;
}

.sb-btn.gold {
    background: var(--gold);
    color: #0b1e14;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.sb-btn.gold:hover {
    background: var(--gold-light);
    color: #0b1e14;
}

.sb-btn.wa {
    background: #25d366;
    color: #fff;
}

.sb-btn.wa:hover {
    background: #128c7e;
    color: #fff;
}

/* =====================================================
   ENQUIRY MODAL — matches Astralis enquiry-modal-inner
   ===================================================== */
.nl-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.nl-modal.active {
    display: flex;
}

.nl-modal-inner {
    background: #fff;
    border-radius: 14px;
    padding: 26px;
    max-width: 420px;
    width: 100%;
    position: relative;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.nl-modal-inner h3 {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 16px;
    padding-right: 30px;
    line-height: 1.3;
}

.modal-close-btn {
    position: absolute;
    top: 12px;
    right: 14px;
    background: none;
    border: none;
    font-size: 24px;
    line-height: 1;
    color: var(--text-muted);
    cursor: pointer;
    z-index: 2;
    transition:
        color 0.2s,
        transform 0.2s;
    padding: 4px 8px;
    border-radius: 6px;
}

.modal-close-btn:hover {
    color: var(--dark);
    transform: rotate(90deg);
}

/* Form fields inside modal */
.nl-modal-inner form input[type="text"],
.nl-modal-inner form input[type="email"],
.nl-modal-inner form input[type="tel"],
.nl-modal-inner form input[type="number"],
.nl-modal-inner form select,
.nl-modal-inner form textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-bottom: 11px;
    font-size: 13px;
    font-family: "DM Sans", sans-serif;
    color: var(--text-dark);
    background: #fff;
    outline: none;
    transition: border-color 0.2s;
}

.nl-modal-inner form textarea {
    min-height: 90px;
    resize: vertical;
}

.nl-modal-inner form input:focus,
.nl-modal-inner form select:focus,
.nl-modal-inner form textarea:focus {
    border-color: var(--gold);
}

.nl-modal-inner form input::placeholder,
.nl-modal-inner form textarea::placeholder {
    color: #9aada8;
}

.nl-modal-inner form label:not(.error):not(.form-check-label) {
    display: none;
}

.nl-modal-inner form .consent-text,
.nl-modal-inner form p.small {
    font-family: "DM Sans", sans-serif;
    font-size: 10.5px;
    color: var(--text-muted);
    margin: 0 0 10px;
    line-height: 1.5;
}

.nl-modal-inner form button[type="submit"] {
    width: 100%;
    padding: 12px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    font-family: "DM Sans", sans-serif;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition:
        background 0.2s,
        transform 0.15s;
}

.nl-modal-inner form button[type="submit"]:hover {
    background: #145549;
    transform: translateY(-1px);
}

/* Validation states */
.nl-modal-inner form input.error,
.nl-modal-inner form .is-invalid {
    border-color: #d64545;
    background: #fff7f7;
}

.nl-modal-inner form label.error,
.nl-modal-inner form .invalid-feedback {
    display: block;
    font-family: "DM Sans", sans-serif;
    color: #d64545;
    font-size: 11px;
    font-weight: 500;
    margin: -6px 0 8px;
}

.nl-modal-inner form input[type="hidden"] {
    display: none !important;
    margin: 0 !important;
}

/* =====================================================
   BACK TO TOP
   ===================================================== */
#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    border: none;
    font-size: 18px;
    cursor: pointer;
    display: none;
    z-index: 999;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    transition:
        background 0.2s,
        transform 0.2s;
}

#backToTop:hover {
    background: #145549;
    transform: translateY(-3px);
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 992px) {
    .article-sidebar {
        position: static;
        margin-top: 48px;
    }
}

@media (max-width: 768px) {
    .article-wrap {
        padding: 32px 0 60px;
    }

    .stat-row {
        gap: 10px;
    }

    .stat-card {
        padding: 14px 12px;
    }

    .feature-grid {
        grid-template-columns: 1fr 1fr;
    }

    .article-cta {
        padding: 22px 20px;
    }

    .article-cta-btns {
        flex-direction: column;
    }

    .article-cta-btns a,
    .article-cta-btns button {
        width: 100%;
        justify-content: center;
    }

    .compare-table {
        font-size: 13px;
    }

    .compare-table th,
    .compare-table td {
        padding: 9px 12px;
    }

    .sb-widget {
        padding: 16px;
    }
}

@media (max-width: 576px) {
    .article-h1 {
        font-size: 1.65rem;
    }

    .article-body p {
        font-size: 15px;
    }

    .article-body h2 {
        font-size: 1.4rem;
        margin-top: 36px;
    }

    .article-meta {
        gap: 10px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .stat-row {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .stat-card .num {
        font-size: 1.2rem;
    }

    .toc ol {
        padding-left: 14px;
    }

    .toc ol li a {
        font-size: 13px;
    }

    .nl-breadcrumb {
        font-size: 11.5px;
    }

    .article-hero {
        border-radius: 8px;
    }
}
