/*
Theme Name: Hestia Child - Global Supplies
Theme URI: https://globalsupplies-eng.com/
Description: Child theme for Hestia, customized for Global Supplies Engineering.
Author: Global Supplies Engineering
Template: hestia
Version: 1.0.0
Text Domain: hestia-child
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&family=Tajawal:wght@300;400;500;700;900&display=swap');

/* --- DESIGN SYSTEM --- */
:root {
    --primary-dark: #0f1c14;      /* Deep Slate Dark */
    --accent-emerald: #25D366;    /* WhatsApp Green */
    --accent-mint: #2ecc71;       /* Light Mint */
    --accent-gold: #cfa13a;       /* Luxury Gold Accents */
    --text-main: #1c2b23;         /* Body Text (Darker for better contrast) */
    --text-muted: #4e5f55;        /* Muted Text (Darker for WCAG AA compliance) */
    --bg-light: #f7faf8;          /* Soft Off-White */
    --bg-card: #ffffff;
    --font-ar: 'Tajawal', sans-serif;
    --font-en: 'Outfit', sans-serif;
    --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.02);
    --shadow-medium: 0 10px 30px rgba(15, 28, 20, 0.06);
    --shadow-strong: 0 20px 40px rgba(15, 28, 20, 0.1);
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- BASE STYLES --- */
body.custom-homepage,
body.custom-blog-page {
    font-family: var(--font-ar);
    color: var(--text-main);
    background-color: var(--bg-light);
    margin: 0;
    padding: 0;
    line-height: 1.7;
    overflow-x: hidden;
    direction: rtl;
    text-align: right;
    transition: background-color 0.4s ease, color 0.4s ease;
}

body.custom-homepage h1, 
body.custom-homepage h2, 
body.custom-homepage h3, 
body.custom-homepage h4,
body.custom-blog-page h1, 
body.custom-blog-page h2, 
body.custom-blog-page h3, 
body.custom-blog-page h4 {
    font-weight: 700;
    color: var(--primary-dark);
    transition: color 0.4s ease;
}

/* --- GLASS NAVIGATION --- */
.premium-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.02);
    transition: var(--transition-smooth);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none !important;
}

.brand-logo-text {
    font-size: 20px;
    font-weight: 900;
    color: var(--primary-dark);
    letter-spacing: -0.5px;
}

.brand-logo-text span {
    color: var(--accent-gold);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: var(--text-main);
    text-decoration: none !important;
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition-smooth);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-gold);
    transition: var(--transition-smooth);
}

.nav-link:hover {
    color: var(--accent-gold);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta-btn {
    background-color: var(--primary-dark);
    color: #fff !important;
    text-decoration: none !important;
    padding: 8px 20px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    border: 1px solid var(--primary-dark);
    transition: var(--transition-smooth);
}

.nav-cta-btn:hover {
    background-color: transparent;
    color: var(--primary-dark) !important;
}

/* --- HERO SECTION --- */
.hero-section {
    padding: 160px 20px 80px 20px;
    background: radial-gradient(circle at 10% 20%, rgba(240, 247, 243, 0.5) 0%, rgba(255, 255, 255, 0.7) 90%);
    position: relative;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(207, 161, 58, 0.1);
    color: var(--accent-gold);
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 20px;
    border: 1px solid rgba(207, 161, 58, 0.15);
}

.hero-title {
    font-size: 46px;
    line-height: 1.3;
    margin-top: 0;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-title span {
    color: var(--accent-gold);
    position: relative;
    z-index: 1;
}

.hero-desc {
    font-size: 17px;
    color: var(--text-muted);
    margin-bottom: 35px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}

.btn-primary-whatsapp {
    background-color: var(--accent-emerald);
    color: #fff !important;
    text-decoration: none !important;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.25);
    transition: var(--transition-smooth);
}

.btn-primary-whatsapp:hover {
    background-color: #20ba59;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}

.btn-secondary-outline {
    background-color: transparent;
    color: var(--primary-dark) !important;
    text-decoration: none !important;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    border: 2px solid var(--primary-dark);
    transition: var(--transition-smooth);
}

.btn-secondary-outline:hover {
    background-color: var(--primary-dark);
    color: #fff !important;
    transform: translateY(-2px);
}

.hero-features-list {
    display: flex;
    gap: 30px;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-dark);
}

.hero-feature-item svg {
    color: var(--accent-gold);
}

.hero-visual {
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-strong);
    transform: perspective(1000px) rotateY(-5deg);
    transition: var(--transition-smooth);
}

.hero-image-wrapper:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.hero-img {
    width: 100%;
    display: block;
    transition: var(--transition-smooth);
}

.hero-img:hover {
    transform: scale(1.05);
}

.hero-glass-floating {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    padding: 15px 25px;
    border-radius: 12px;
    box-shadow: var(--shadow-medium);
    display: flex;
    align-items: center;
    gap: 15px;
}

.floating-number {
    font-family: var(--font-en);
    font-size: 28px;
    font-weight: 700;
    color: var(--accent-gold);
}

.floating-label {
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-muted);
}

/* --- SECTION GENERAL STYLE --- */
.section-title-wrapper {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
}

.section-subtitle {
    color: var(--accent-gold);
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
    display: block;
}

.section-title {
    font-size: 32px;
    margin-top: 0;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.section-desc {
    color: var(--text-muted);
    font-size: 15px;
    margin-top: 0;
}

/* --- INTERACTIVE SIMULATION WIDGET --- */
.sim-section {
    padding: 80px 20px;
    background-color: #ffffff;
}

.sim-container {
    max-width: 1200px;
    margin: 0 auto;
}

.sim-box {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    background-color: var(--bg-light);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-medium);
    align-items: center;
}

.sim-toggles {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.sim-toggle-btn {
    background-color: #fff;
    border: 1px solid #e1ebe6;
    padding: 20px;
    border-radius: 12px;
    cursor: pointer;
    text-align: right;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-subtle);
}

.sim-toggle-btn.active {
    border-color: var(--accent-gold);
    background-color: rgba(207, 161, 58, 0.03);
    box-shadow: 0 6px 20px rgba(207, 161, 58, 0.08);
}

.sim-btn-icon-wrapper {
    width: 45px;
    height: 45px;
    background-color: var(--bg-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
    transition: var(--transition-smooth);
}

.sim-toggle-btn.active .sim-btn-icon-wrapper {
    background-color: var(--accent-gold);
    color: #fff;
}

.sim-btn-content {
    flex-grow: 1;
}

.sim-btn-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--primary-dark);
}

.sim-btn-desc {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
}

.sim-display {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-strong);
}

.sim-display-img {
    width: 100%;
    display: block;
}

.sim-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 28, 20, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    backdrop-filter: blur(0px);
}

.sim-overlay.active {
    opacity: 1;
    visibility: visible;
    backdrop-filter: blur(4px);
}

.sim-overlay-box {
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-dark);
    padding: 25px 40px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-strong);
    transform: scale(0.9);
    transition: var(--transition-smooth);
}

.sim-overlay.active .sim-overlay-box {
    transform: scale(1);
}

.sim-overlay-icon {
    color: #d63031;
    font-size: 40px;
    margin-bottom: 10px;
    display: block;
}

.sim-overlay.active.secure .sim-overlay-icon {
    color: var(--accent-mint);
}

.sim-overlay-box h4 {
    font-size: 18px;
    margin-top: 0;
    margin-bottom: 5px;
}

.sim-overlay-box p {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
}

/* --- SERVICES GRID --- */
.services-section {
    padding: 80px 20px;
    background-color: var(--bg-light);
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    border: 1px solid #eff5f2;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-strong);
    border-color: var(--accent-gold);
}

.service-card-img-wrapper {
    overflow: hidden;
    position: relative;
    aspect-ratio: 4/3;
}

.service-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.service-card:hover .service-card-img {
    transform: scale(1.05);
}

.service-card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: rgba(15, 28, 20, 0.85);
    backdrop-filter: blur(5px);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 50px;
    letter-spacing: 0.5px;
}

.service-card-body {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-card-title {
    font-size: 19px;
    margin-top: 0;
    margin-bottom: 10px;
}

.service-card-desc {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
    margin-top: 0;
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-card-bullets {
    list-style: none;
    margin: 0 0 25px 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-top: 1px solid #f0f7f4;
    padding-top: 15px;
}

.service-card-bullet-item {
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-dark);
}

.service-card-bullet-item svg {
    color: var(--accent-gold);
}

.service-card-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid #eff5f2;
    background-color: var(--bg-light);
    color: var(--primary-dark);
    text-decoration: none !important;
    padding: 10px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 13px;
    transition: var(--transition-smooth);
}

.service-card:hover .service-card-btn {
    background-color: var(--accent-gold);
    color: #fff;
    border-color: var(--accent-gold);
}

/* --- WHATSAPP ESTIMATOR WIDGET --- */
.est-section {
    padding: 80px 20px;
    background-color: #ffffff;
}

.est-container {
    max-width: 800px;
    margin: 0 auto;
}

.est-box {
    background: linear-gradient(135deg, #fbfdfc 0%, #f4faf6 100%);
    border: 1px solid #e1ebe6;
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-medium);
}

.est-title {
    font-size: 24px;
    margin-top: 0;
    margin-bottom: 8px;
    text-align: center;
}

.est-desc {
    color: var(--text-muted);
    font-size: 14px;
    text-align: center;
    margin-top: 0;
    margin-bottom: 30px;
}

.est-step {
    display: none;
}

.est-step.active {
    display: block;
}

.est-step-title {
    font-size: 16px;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 20px;
    color: var(--primary-dark);
}

.est-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.est-option {
    background-color: #fff;
    border: 1px solid #e1ebe6;
    padding: 20px;
    border-radius: 12px;
    cursor: pointer;
    text-align: center;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-subtle);
}

.est-option.selected {
    border-color: var(--accent-gold);
    background-color: rgba(207, 161, 58, 0.03);
}

.est-option-icon {
    font-size: 28px;
    margin-bottom: 10px;
    display: block;
}

.est-option-title {
    font-size: 14px;
    font-weight: 700;
    margin: 0;
}

.est-form-group {
    margin-bottom: 20px;
}

.est-form-group label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--primary-dark);
}

.est-form-group input, 
.est-form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #e1ebe6;
    border-radius: 8px;
    box-sizing: border-box;
    font-family: inherit;
    font-size: 14px;
    outline: none;
    transition: var(--transition-smooth);
}

.est-form-group input:focus, 
.est-form-group select:focus {
    border-color: var(--accent-gold);
}

.est-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #e1ebe6;
    padding-top: 25px;
    margin-top: 25px;
}

.est-btn {
    background-color: var(--primary-dark);
    color: #fff;
    border: none;
    padding: 10px 25px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.est-btn:hover {
    background-color: var(--accent-gold);
}

.est-btn.back-btn {
    background-color: transparent;
    color: var(--primary-dark);
    border: 1px solid var(--primary-dark);
}

.est-btn.back-btn:hover {
    background-color: var(--primary-dark);
    color: #fff;
}

.est-btn.submit-btn {
    background-color: var(--accent-emerald);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.25);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.est-btn.submit-btn:hover {
    background-color: #20ba59;
}

/* --- WORK GALLERY --- */
.gallery-section {
    padding: 80px 20px;
    background-color: var(--bg-light);
}

.gallery-container {
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    list-style: none;
    padding: 0;
}

.gallery-filter-item {
    background-color: #fff;
    border: 1px solid #e1ebe6;
    padding: 8px 20px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.gallery-filter-item.active, 
.gallery-filter-item:hover {
    background-color: var(--accent-gold);
    color: #fff;
    border-color: var(--accent-gold);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-item {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-subtle);
    border: 1px solid #eff5f2;
    transition: var(--transition-smooth);
    display: none;
}

.gallery-item.show {
    display: block;
}

.gallery-item-img-wrapper {
    aspect-ratio: 4/3;
    overflow: hidden;
}

.gallery-item-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.gallery-item:hover .gallery-item-img {
    transform: scale(1.05);
}

.gallery-item-body {
    padding: 15px 20px;
}

.gallery-item-title {
    font-size: 15px;
    font-weight: 700;
    margin: 0;
}

.gallery-item-cat {
    font-size: 12px;
    color: var(--accent-gold);
    font-weight: 600;
}

/* --- TESTIMONIALS --- */
.test-section {
    padding: 80px 20px;
    background-color: #ffffff;
}

.test-container {
    max-width: 1200px;
    margin: 0 auto;
}

.test-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.test-card {
    background-color: var(--bg-light);
    border: 1px solid #e1ebe6;
    border-radius: 16px;
    padding: 30px;
    box-shadow: var(--shadow-subtle);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.test-stars {
    color: #f1c40f;
    font-size: 14px;
    margin-bottom: 15px;
}

.test-text {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-main);
    margin-bottom: 25px;
    flex-grow: 1;
}

.test-user {
    display: flex;
    align-items: center;
    gap: 15px;
}

.test-user-avatar {
    width: 45px;
    height: 45px;
    background-color: var(--accent-gold);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
}

.test-user-name {
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 2px 0;
}

.test-user-title {
    font-size: 11px;
    color: var(--text-muted);
    margin: 0;
}

/* --- DYNAMIC FOOTER --- */
.premium-footer {
    background-color: #0f1c14; /* Keep dark in both modes for luxury contrast */
    color: #fff;
    padding: 60px 20px 20px 20px;
    border-top: 3px solid var(--accent-gold);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    color: #fff;
    font-size: 18px;
    margin-top: 0;
    margin-bottom: 20px;
}

.footer-column p {
    color: #a3c2b1;
    font-size: 14px;
    line-height: 1.7;
    margin: 0 0 15px 0;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link-item a {
    color: #a3c2b1;
    text-decoration: none !important;
    font-size: 14px;
    transition: var(--transition-smooth);
}

.footer-link-item a:hover {
    color: #fff;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: #a3c2b1;
    font-size: 14px;
}

.footer-contact-item svg {
    color: var(--accent-gold);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #9ab4a6; /* Lighter for WCAG AA compliance */
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: #9ab4a6; /* Lighter for WCAG AA compliance */
    text-decoration: none !important;
}

/* --- MOBILE RESPONSIVENESS --- */
@media screen and (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .hero-badge {
        justify-content: center;
    }
    .hero-title {
        font-size: 38px;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero-features-list {
        justify-content: center;
    }
    .hero-image-wrapper {
        transform: perspective(1000px) rotateY(0deg);
    }
    .sim-box {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* ==========================================================================
   PREMIUM UPGRADES: DARK MODE, SLIDER, CUSTOMIZER, ESTIMATOR & ANIMATIONS
   ========================================================================== */

/* --- DARK MODE SYSTEM OVERRIDES --- */
body.dark-mode {
    --primary-dark: #f0f7f3;
    --text-main: #d0ded6;
    --text-muted: #9ab4a6;
    --bg-light: #070e0a;
    --bg-card: #0d1a12;
    --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-medium: 0 10px 30px rgba(0, 0, 0, 0.5);
    --shadow-strong: 0 20px 40px rgba(0, 0, 0, 0.7);
}

body.dark-mode .premium-nav {
    background: rgba(7, 14, 10, 0.85);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

body.dark-mode .theme-toggle-btn {
    border-color: rgba(255, 255, 255, 0.15);
    color: var(--accent-gold);
}

body.dark-mode .hero-section {
    background: radial-gradient(circle at 10% 20%, rgba(13, 26, 18, 0.7) 0%, rgba(7, 14, 10, 0.9) 90%);
}

body.dark-mode .hero-glass-floating,
body.dark-mode .sim-overlay-box {
    background: rgba(13, 26, 18, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

body.dark-mode .service-card {
    background-color: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.03);
}

body.dark-mode .service-card-btn {
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--primary-dark);
}

body.dark-mode .sim-toggle-btn {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

body.dark-mode .sim-toggle-btn:hover,
body.dark-mode .sim-toggle-btn.active {
    background: rgba(207, 161, 58, 0.1);
    border-color: var(--accent-gold);
}

body.dark-mode .sim-toggle-btn.active h4 {
    color: var(--accent-gold);
}

body.dark-mode .est-box,
body.dark-mode .customizer-box,
body.dark-mode .test-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.04);
}

body.dark-mode .est-option {
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.05);
}

body.dark-mode .est-option.selected {
    border-color: var(--accent-gold);
    background: rgba(207, 161, 58, 0.08);
}

body.dark-mode .est-form-group input,
body.dark-mode .est-form-group select {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.1);
    color: #fff;
}

body.dark-mode .gallery-filter-item {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-main);
}

body.dark-mode .gallery-filter-item.active {
    background: var(--accent-gold);
    color: #fff;
}

body.dark-mode .gallery-item {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.03);
}

body.dark-mode .gallery-item-title {
    color: var(--primary-dark);
}

/* --- THEME TOGGLE BUTTON --- */
.theme-toggle-btn {
    background: transparent;
    border: 1px solid rgba(15, 28, 20, 0.15);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    color: var(--primary-dark);
    padding: 0;
}

.theme-toggle-btn:hover {
    transform: scale(1.05);
    background: rgba(207, 161, 58, 0.1);
    border-color: var(--accent-gold);
}

.theme-icon {
    transition: var(--transition-smooth);
}

/* --- BEFORE/AFTER SLIDER SECTION --- */
.comparison-section {
    padding: 80px 20px;
    background: var(--bg-light);
}

.comparison-container {
    max-width: 1000px;
    margin: 0 auto;
}

.comparison-slider {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    margin: 40px auto 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.slider-img-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slider-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.img-before-wrapper {
    z-index: 1;
}

.img-before-wrapper .slider-img {
    filter: grayscale(90%) brightness(55%) contrast(110%);
}

.img-after-wrapper {
    z-index: 2;
    clip-path: inset(0 0 0 50%); /* Start in middle */
}

.slider-label {
    position: absolute;
    bottom: 20px;
    padding: 8px 18px;
    background: rgba(15, 28, 20, 0.85);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    border-radius: 50px;
    backdrop-filter: blur(5px);
    z-index: 5;
    pointer-events: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.label-before {
    left: 20px;
    border-right: 3px solid #ff4d4d;
}

.label-after {
    right: 20px;
    border-left: 3px solid var(--accent-gold);
}

.slider-handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background-color: var(--accent-gold);
    z-index: 10;
    cursor: ew-resize;
    transform: translateX(-50%);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.slider-handle::after {
    content: '↔';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 46px;
    height: 46px;
    background-color: var(--accent-gold);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
    font-size: 20px;
    border: 4px solid #fff;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.slider-handle:hover::after {
    transform: translate(-50%, -50%) scale(1.12);
    background-color: var(--primary-dark);
    border-color: var(--accent-gold);
}

body.dark-mode .slider-handle::after {
    border-color: var(--bg-card);
}

/* --- INTERACTIVE 2D WINDOW PROFILE CUSTOMIZER --- */
.customizer-section {
    padding: 80px 20px;
    background: var(--bg-light);
    border-top: 1px solid rgba(15, 28, 20, 0.03);
    border-bottom: 1px solid rgba(15, 28, 20, 0.03);
}

.customizer-container {
    max-width: 1100px;
    margin: 0 auto;
}

.customizer-box {
    background: var(--bg-card);
    border-radius: 16px;
    box-shadow: var(--shadow-medium);
    padding: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    border: 1px solid rgba(15, 28, 20, 0.04);
}

.customizer-preview {
    position: relative;
    background: radial-gradient(circle, rgba(230, 240, 235, 0.4) 0%, rgba(200, 220, 210, 0.2) 100%);
    border-radius: 12px;
    padding: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(15, 28, 20, 0.05);
}

body.dark-mode .customizer-preview {
    background: radial-gradient(circle, rgba(13, 26, 18, 0.6) 0%, rgba(5, 10, 7, 0.9) 100%);
}

.customizer-canvas-wrapper {
    width: 100%;
    max-width: 320px;
    aspect-ratio: 1;
}

.customizer-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-dark);
    color: var(--bg-light);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    box-shadow: var(--shadow-subtle);
}

.customizer-options {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.opt-group h4 {
    margin: 0 0 10px 0;
    font-size: 15px;
    color: var(--primary-dark);
    font-weight: 700;
}

.style-selector,
.glass-selector {
    display: flex;
    gap: 12px;
}

.style-btn,
.glass-btn {
    flex: 1;
    background: var(--bg-light);
    border: 1px solid rgba(15, 28, 20, 0.1);
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    color: var(--text-main);
    transition: var(--transition-smooth);
}

.style-btn.active,
.style-btn:hover,
.glass-btn.active,
.glass-btn:hover {
    background: var(--primary-dark);
    color: #fff;
    border-color: var(--primary-dark);
}

body.dark-mode .style-btn,
body.dark-mode .glass-btn {
    border-color: rgba(255, 255, 255, 0.08);
}

body.dark-mode .style-btn.active,
body.dark-mode .glass-btn.active {
    background: var(--accent-gold);
    color: #fff;
    border-color: var(--accent-gold);
}

.color-swatches {
    display: flex;
    gap: 15px;
    margin-bottom: 8px;
}

.swatch-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid var(--bg-card);
    outline: 2px solid rgba(0, 0, 0, 0.1);
    transition: var(--transition-smooth);
}

.swatch-btn:hover,
.swatch-btn.active {
    outline-color: var(--accent-gold);
    transform: scale(1.08);
}

body.dark-mode .swatch-btn {
    outline-color: rgba(255, 255, 255, 0.15);
}

body.dark-mode .swatch-btn.active {
    outline-color: var(--accent-gold);
}

.swatch-white { background-color: #ffffff; }
.swatch-grey { background-color: #2c3e50; }
.swatch-wood { background-color: #b87d31; }

.swatch-label,
.glass-label {
    font-size: 12px;
    color: var(--text-muted);
    font-style: italic;
}

.customizer-summary {
    background: var(--bg-light);
    border-radius: 8px;
    padding: 15px 20px;
    border: 1px dashed rgba(15, 28, 20, 0.15);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

body.dark-mode .customizer-summary {
    background: rgba(255,255,255,0.02);
    border-color: rgba(255,255,255,0.08);
}

.summary-details {
    display: flex;
    flex-direction: column;
}

.summary-details strong {
    font-size: 13px;
    color: var(--primary-dark);
}

.summary-details p {
    margin: 3px 0 0 0;
    font-size: 13px;
    color: var(--text-muted);
}

.btn-customizer-whatsapp {
    background-color: var(--accent-emerald);
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 700;
    font-size: 13px;
    padding: 10px 18px;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.25);
    transition: var(--transition-smooth);
}

.btn-customizer-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.35);
}

.transition-color {
    transition: fill 0.35s ease, stroke 0.35s ease;
}

/* --- WHATSAPP SIMULATION AUDIO BUTTONS --- */
.audio-ctrl-wrapper {
    margin-top: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.sim-audio-btn {
    background: var(--primary-dark);
    color: #fff;
    border: none;
    padding: 6px 15px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-smooth);
}

.sim-audio-btn:hover {
    background: var(--accent-gold);
}

.sim-audio-btn.playing {
    background: #ff4d4d;
}

.audio-status-indicator {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: var(--text-muted);
}

.audio-wave-anim {
    display: flex;
    align-items: center;
    gap: 2px;
    height: 12px;
}

.audio-wave-bar {
    width: 2px;
    height: 100%;
    background: var(--accent-gold);
    animation: waveBounce 0.8s ease infinite alternate;
}

.audio-wave-bar:nth-child(2) { animation-delay: 0.15s; }
.audio-wave-bar:nth-child(3) { animation-delay: 0.3s; }
.audio-wave-bar:nth-child(4) { animation-delay: 0.45s; }

@keyframes waveBounce {
    0% { height: 2px; }
    100% { height: 12px; }
}

/* --- SMART ESTIMATOR LIVE BUDGET RANGE --- */
.est-budget-card {
    background: rgba(207, 161, 58, 0.06);
    border: 1px solid rgba(207, 161, 58, 0.2);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

body.dark-mode .est-budget-card {
    background: rgba(207, 161, 58, 0.03);
    border-color: rgba(207, 161, 58, 0.12);
}

.est-budget-badge {
    width: 50px;
    height: 50px;
    background: var(--accent-gold);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.est-budget-info {
    flex: 1;
}

.est-budget-info strong {
    font-size: 12px;
    color: var(--text-muted);
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.est-budget-price {
    font-size: 19px;
    font-weight: 900;
    color: var(--primary-dark);
    margin-top: 2px;
}

/* --- ENTRY SCROLL ANIMATIONS --- */
.animate-on-scroll {
    opacity: 0;
    will-change: transform, opacity;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up {
    transform: translateY(40px);
}

.fade-in {
    transform: scale(0.98);
}

.slide-right {
    transform: translateX(40px);
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translate(0) scale(1);
}

.anim-delay-1 { transition-delay: 0.15s; }
.anim-delay-2 { transition-delay: 0.3s; }
.anim-delay-3 { transition-delay: 0.45s; }

/* --- RESPONSIVENESS OVERRIDES FOR NEW WIDGETS --- */
@media screen and (max-width: 768px) {
    .customizer-box {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 20px;
    }
    .comparison-slider {
        height: 320px;
    }
    .slider-label {
        font-size: 11px;
        padding: 6px 12px;
        bottom: 15px;
    }
    .label-before { left: 10px; }
    .label-after { right: 10px; }
    .customizer-summary {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    .btn-customizer-whatsapp {
        width: 100%;
        text-align: center;
    }
}

/* ==========================================================================
   PREMIUM BLOG PAGE STYLES (home.php)
   ========================================================================== */
.blog-hero {
    padding: 160px 20px 80px 20px;
    background: radial-gradient(circle at 10% 20%, rgba(240, 247, 243, 0.6) 0%, rgba(255, 255, 255, 0.8) 90%);
    text-align: center;
    border-bottom: 1px solid rgba(15, 28, 20, 0.05);
}

body.dark-mode .blog-hero {
    background: radial-gradient(circle at 10% 20%, rgba(13, 26, 18, 0.8) 0%, rgba(7, 14, 10, 0.95) 90%);
    border-bottom-color: rgba(255, 255, 255, 0.04);
}

.blog-subtitle {
    display: inline-block;
    background-color: rgba(207, 161, 58, 0.1);
    color: var(--accent-gold);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 15px;
    border: 1px solid rgba(207, 161, 58, 0.15);
}

.blog-title {
    font-size: 42px;
    margin: 0 0 15px 0;
    color: var(--primary-dark);
    line-height: 1.3;
}

.blog-desc {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

.blog-layout-section {
    padding: 60px 20px;
    background: var(--bg-light);
}

.blog-layout-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2.8fr 1.2fr;
    gap: 40px;
}

.blog-posts-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.blog-post-card {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    border: 1px solid rgba(15, 28, 20, 0.03);
    transition: var(--transition-smooth);
    display: grid;
    grid-template-columns: 1fr 1.5fr;
}

body.dark-mode .blog-post-card {
    border-color: rgba(255, 255, 255, 0.04);
}

.blog-post-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-strong);
    border-color: rgba(207, 161, 58, 0.2);
}

.post-card-thumb {
    position: relative;
    overflow: hidden;
    height: 100%;
    min-height: 250px;
}

.post-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.blog-post-card:hover .post-card-thumb img {
    transform: scale(1.05);
}

.default-gradient {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--accent-gold) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: bold;
    font-size: 24px;
}

.post-card-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.post-card-meta {
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.post-card-category a {
    color: var(--accent-gold);
    text-decoration: none !important;
    font-weight: 700;
}

.post-card-title {
    font-size: 22px;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.post-card-title a {
    color: var(--primary-dark);
    text-decoration: none !important;
    transition: var(--transition-smooth);
}

.post-card-title a:hover {
    color: var(--accent-gold);
}

.post-card-excerpt {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 20px;
}

.post-card-excerpt p {
    margin: 0;
}

.post-card-readmore {
    align-self: flex-start;
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 14px;
    text-decoration: none !important;
    border-bottom: 2px solid var(--accent-gold);
    padding-bottom: 2px;
    transition: var(--transition-smooth);
}

.post-card-readmore:hover {
    color: var(--accent-gold);
    padding-right: 5px;
}

.blog-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.blog-pagination .page-numbers {
    padding: 8px 16px;
    background: var(--bg-card);
    border: 1px solid rgba(15, 28, 20, 0.05);
    border-radius: 6px;
    color: var(--text-main);
    text-decoration: none !important;
    font-weight: 600;
    transition: var(--transition-smooth);
}

body.dark-mode .blog-pagination .page-numbers {
    border-color: rgba(255, 255, 255, 0.08);
}

.blog-pagination .page-numbers:hover,
.blog-pagination .page-numbers.current {
    background: var(--primary-dark);
    color: #fff;
    border-color: var(--primary-dark);
}

body.dark-mode .blog-pagination .page-numbers.current {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
}

/* --- SIDEBAR STYLE --- */
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-widget {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 25px;
    box-shadow: var(--shadow-medium);
    border: 1px solid rgba(15, 28, 20, 0.03);
}

body.dark-mode .sidebar-widget {
    border-color: rgba(255, 255, 255, 0.04);
}

.sidebar-widget h3 {
    margin: 0 0 18px 0;
    font-size: 16px;
    color: var(--primary-dark);
    border-bottom: 2px solid var(--accent-gold);
    padding-bottom: 8px;
    display: inline-block;
}

.sidebar-recent-posts {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.sidebar-recent-posts li {
    display: flex;
    flex-direction: column;
    gap: 4px;
    border-bottom: 1px dashed rgba(15, 28, 20, 0.08);
    padding-bottom: 12px;
}

body.dark-mode .sidebar-recent-posts li {
    border-bottom-color: rgba(255, 255, 255, 0.06);
}

.sidebar-recent-posts li:last-child {
    border: none;
    padding-bottom: 0;
}

.sidebar-recent-posts a {
    color: var(--primary-dark);
    text-decoration: none !important;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.4;
    transition: var(--transition-smooth);
}

.sidebar-recent-posts a:hover {
    color: var(--accent-gold);
}

.recent-post-date {
    font-size: 12px;
    color: var(--text-muted);
}

.sidebar-categories {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sidebar-categories li {
    font-size: 14px;
}

.sidebar-categories a {
    color: var(--text-main);
    text-decoration: none !important;
    display: flex;
    justify-content: space-between;
    transition: var(--transition-smooth);
}

.sidebar-categories a:hover {
    color: var(--accent-gold);
    padding-right: 5px;
}

.widget-cta {
    background: linear-gradient(135deg, #0f1c14 0%, rgba(15, 28, 20, 0.95) 100%);
    color: #fff;
    border: none;
}

.widget-cta h3 {
    color: #fff;
    border-bottom-color: var(--accent-gold);
}

.widget-cta p {
    color: #a3c2b1;
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.sidebar-cta-btn {
    display: block;
    background: var(--accent-emerald);
    color: #fff !important;
    text-decoration: none !important;
    padding: 12px;
    border-radius: 6px;
    font-weight: 700;
    text-align: center;
    font-size: 14px;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.2);
    transition: var(--transition-smooth);
}

.sidebar-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.3);
}

.no-posts-card {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    border: 1px dashed rgba(15, 28, 20, 0.15);
}

/* --- RESPONSIVENESS OVERRIDES FOR BLOG --- */
@media screen and (max-width: 992px) {
    .blog-layout-container {
        grid-template-columns: 1fr;
        gap: 45px;
    }
    .blog-post-card {
        grid-template-columns: 1fr;
    }
    .post-card-thumb {
        height: 220px;
        min-height: auto;
    }
}

/* --- ACTIVE NAVIGATION ITEM --- */
.nav-link.active {
    color: var(--accent-gold) !important;
}
.nav-link.active::after {
    width: 100% !important;
}

/* --- SINGLE POST LAYOUTS --- */
.single-post-layout .single-post-meta-top {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 15px;
}
.single-post-layout .back-to-blog {
    color: var(--accent-gold);
    text-decoration: none !important;
    font-weight: 700;
    transition: var(--transition-smooth);
}
.single-post-layout .back-to-blog:hover {
    padding-right: 5px;
}
.single-post-layout .meta-separator {
    opacity: 0.3;
}
.single-post-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.single-post-card-full {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    border: 1px solid rgba(15, 28, 20, 0.03);
    transition: var(--transition-smooth);
}
body.dark-mode .single-post-card-full {
    border-color: rgba(255, 255, 255, 0.04);
}
.single-post-thumb {
    width: 100%;
    max-height: 480px;
    overflow: hidden;
    position: relative;
}
.single-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.single-post-body-content {
    padding: 40px;
    font-size: 16px;
    color: var(--text-main);
    line-height: 1.8;
}
.single-post-body-content p {
    margin-bottom: 25px;
}
.single-post-body-content h2,
.single-post-body-content h3 {
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 700;
    color: var(--primary-dark);
}
.single-post-body-content h2 {
    font-size: 24px;
    border-right: 4px solid var(--accent-gold);
    padding-right: 12px;
}
.single-post-body-content h3 {
    font-size: 20px;
}
.single-post-body-content ul,
.single-post-body-content ol {
    margin-bottom: 25px;
    padding-right: 20px;
}
.single-post-body-content li {
    margin-bottom: 10px;
}
.single-post-body-content blockquote {
    background: rgba(207, 161, 58, 0.04);
    border-right: 4px solid var(--accent-gold);
    padding: 20px 25px;
    margin: 30px 0;
    border-radius: 4px 0 0 4px;
    font-style: italic;
    color: var(--text-muted);
}
body.dark-mode .single-post-body-content blockquote {
    background: rgba(207, 161, 58, 0.08);
}
.single-post-footer {
    padding: 0 40px 40px 40px;
}
.post-tags {
    font-size: 14px;
    color: var(--text-muted);
    border-top: 1px solid rgba(15, 28, 20, 0.06);
    padding-top: 25px;
    margin-bottom: 35px;
}
body.dark-mode .post-tags {
    border-top-color: rgba(255, 255, 255, 0.06);
}
.post-tags a {
    color: var(--accent-gold);
    text-decoration: none !important;
    font-weight: 600;
}
.share-box-cta {
    background: linear-gradient(135deg, rgba(207, 161, 58, 0.06) 0%, rgba(46, 204, 113, 0.03) 100%);
    border: 1px solid rgba(207, 161, 58, 0.12);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
}
body.dark-mode .share-box-cta {
    background: linear-gradient(135deg, rgba(207, 161, 58, 0.1) 0%, rgba(46, 204, 113, 0.05) 100%);
    border-color: rgba(207, 161, 58, 0.15);
}
.share-box-cta h4 {
    margin: 0 0 10px 0;
    font-size: 18px;
    color: var(--primary-dark);
}
.share-box-cta p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0 0 20px 0;
}
.whatsapp-share-btn {
    display: inline-flex;
    background: var(--accent-emerald);
    color: #fff !important;
    text-decoration: none !important;
    padding: 12px 30px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 15px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.2);
    transition: var(--transition-smooth);
}
.whatsapp-share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}
.post-navigation-links {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 10px;
}
.post-navigation-links div {
    flex: 1;
}
.post-navigation-links a {
    display: block;
    background: var(--bg-card);
    border-radius: 8px;
    padding: 15px 20px;
    color: var(--primary-dark);
    text-decoration: none !important;
    font-weight: 600;
    font-size: 14px;
    box-shadow: var(--shadow-subtle);
    border: 1px solid rgba(15, 28, 20, 0.03);
    transition: var(--transition-smooth);
}
body.dark-mode .post-navigation-links a {
    border-color: rgba(255, 255, 255, 0.04);
}
.post-navigation-links a:hover {
    color: var(--accent-gold);
    box-shadow: var(--shadow-medium);
}
.post-navigation-links .nav-next a {
    text-align: left;
}
@media screen and (max-width: 768px) {
    .single-post-body-content {
        padding: 25px;
    }
    .single-post-footer {
        padding: 0 25px 25px 25px;
    }
    .post-navigation-links {
        flex-direction: column;
    }
}

/* --- RESPONSIVE PREMIUM NAVIGATION --- */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 16px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10001;
}

.hamburger-bar {
    width: 100%;
    height: 2px;
    background-color: var(--primary-dark);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

body.dark-mode .hamburger-bar {
    background-color: #fff;
}

/* Hamburger animation when menu is open */
.nav-toggle.open .hamburger-bar:nth-child(1) {
    transform: translateY(7px) rotate(-45deg);
}

.nav-toggle.open .hamburger-bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.open .hamburger-bar:nth-child(3) {
    transform: translateY(-7px) rotate(45deg);
}

/* Mobile Media Query for Header Menu */
@media screen and (max-width: 992px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 68px; /* Height of the navigation bar */
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 30px 40px;
        gap: 15px;
        border-bottom: 1px solid rgba(15, 28, 20, 0.08);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: var(--transition-smooth);
        pointer-events: none;
        max-height: calc(100vh - 68px);
        overflow-y: auto;
        z-index: 9999;
    }
    
    body.dark-mode .nav-menu {
        background: rgba(15, 28, 20, 0.98);
        border-bottom-color: rgba(255, 255, 255, 0.06);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    }
    
    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }
    
    .nav-menu li {
        width: 100%;
        text-align: center;
    }
    
    .nav-menu li a {
        display: block;
        padding: 12px 0;
        font-size: 16px;
        border-bottom: 1px solid rgba(15, 28, 20, 0.04);
        color: var(--text-main);
    }
    
    body.dark-mode .nav-menu li a {
        border-bottom-color: rgba(255, 255, 255, 0.04);
        color: rgba(255, 255, 255, 0.9);
    }
    
    .nav-menu li a::after {
        display: none; /* Disable hover line animation on mobile */
    }
    
    .nav-menu li:last-child a {
        border-bottom: none;
    }
    
    .nav-cta-btn {
        margin-top: 15px;
        padding: 12px 20px;
        display: block;
    }
}

/* --- DARK MODE OVERRIDES FOR BUTTON CONTRAST --- */
body.dark-mode .nav-cta-btn {
    color: #0d1a12 !important;
}
body.dark-mode .sim-audio-btn {
    color: #0d1a12 !important;
}




