/* -------------------------------------------------------
   Velmoralz Calculator Hub — Global Stylesheet
----------------------------------------------------------*/

/* ---------------------------
   ROOT VARIABLES
---------------------------- */
:root {
    --vm-bg: #050814;
    --vm-card: #0b0f22;
    --vm-border: #1a1f33;

    /* TEXT COLORS (UPDATED) */
    --vm-text-dark: #0b0f22;         /* Primary dark text */
    --vm-text-light: #ffffff;        /* Used only in dark header/footer */
    --vm-muted: #6c7391;

    --vm-gold: #f6c453;
    --vm-gold-dark: #e6b043;

    --vm-radius: 12px;
    --vm-shadow: 0 4px 14px rgba(0,0,0,0.20);
    --vm-font: system-ui, -apple-system, "Segoe UI", Roboto;
}

/* ---------------------------
   RESET
---------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* PAGE BACKGROUND — LIGHT MODE DEFAULT */
html, body {
    background: #ffffff !important;
    color: var(--vm-text-dark);
    font-family: var(--vm-font);
    scroll-behavior: smooth;
    min-height: 100%;
}

/* ---------------------------
   TEXT COLORS (UPDATED)
---------------------------- */
h1, h2, h3, h4, h5 {
    color: var(--vm-text-dark) !important;
    font-weight: 700;
}

p {
    color: var(--vm-text-dark);
    line-height: 1.6;
}

/* Muted text */
.text-muted,
.text-muted-light {
    color: var(--vm-muted) !important;
}

/* ---------------------------
   LINKS
---------------------------- */
a {
    color: var(--vm-gold);
    text-decoration: none;
}
a:hover {
    color: var(--vm-gold-dark);
}

/* ---------------------------
   NAVBAR (DARK HEADER)
---------------------------- */
.vm-header {
    background: var(--vm-bg);
    border-bottom: 1px solid var(--vm-border);
}

.vm-header .navbar-brand {
    color: var(--vm-gold) !important;
    font-weight: 700;
}

.vm-header .nav-link {
    color: var(--vm-muted) !important;
}
.vm-header .nav-link:hover {
    color: var(--vm-gold) !important;
}

/* ---------------------------
   FOOTER (DARK)
---------------------------- */
.vm-footer {
    background: var(--vm-bg);
    border-top: 1px solid var(--vm-border);
    padding: 30px 0;
    text-align: center;
}

.vm-footer p {
    color: var(--vm-muted) !important;
}

/* ---------------------------
   BUTTONS
---------------------------- */
.btn-vm-gold {
    background: var(--vm-gold);
    color: #000;
    font-weight: 600;
    border-radius: var(--vm-radius);
    padding: 10px 18px;
    border: none;
}
.btn-vm-gold:hover {
    background: var(--vm-gold-dark);
}

/* ---------------------------
   FORMS — LIGHT TEXT FIX
---------------------------- */
.form-control,
.form-select {
    background: #ffffff;
    border: 1px solid var(--vm-border);
    color: var(--vm-text-dark) !important;
    border-radius: var(--vm-radius);
    padding: 10px 14px;
}

.form-control::placeholder {
    color: var(--vm-muted);
}

.form-label {
    color: var(--vm-text-dark) !important;
}

/* ---------------------------
   CALCULATOR RESULT BOX
---------------------------- */
#vm-result {
    background: #ffffff;
    border: 1px solid var(--vm-border);
    border-radius: var(--vm-radius);
    padding: 20px;
    margin-top: 20px;
}

/* ---------------------------
   CARDS & CONTENT CONTAINERS
---------------------------- */
.vm-box,
.card {
    background: #ffffff;
    border: 1px solid #e2e4ea;
    border-radius: var(--vm-radius);
}

/* ---------------------------
   LISTS / FAQ
---------------------------- */
ul li {
    color: var(--vm-text-dark);
}

/* ---------------------------
   RTL SUPPORT
---------------------------- */
html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] p,
html[dir="rtl"] label {
    text-align: right;
}

/* ---------------------------
   RESPONSIVE
---------------------------- */
@media(max-width: 768px) {
    h1 { font-size: 1.6rem; }
    h2 { font-size: 1.25rem; }
}
/* -------------------------------------------------------
   ARTICLE SECTION — Velmoralz Calculator Hub
   Clean, readable typography for long-form content
----------------------------------------------------------*/

#article-content {
    background: #ffffff;
    color: #222;
    padding: 32px;
    border-radius: var(--vm-radius);
    border: 1px solid #e1e4ec;
    box-shadow: 0 4px 12px rgba(0,0,0,0.07);
    line-height: 1.75;
    font-size: 1.05rem;
    margin-top: 60px;
}

#article-content h2,
#article-content h3,
#article-content h4 {
    color: #000;
    font-weight: 700;
    margin-bottom: 14px;
    margin-top: 26px;
}

#article-content p {
    color: #555;
    margin-bottom: 18px;
    font-weight: 400;
}

#article-content ul {
    padding-left: 22px;
    margin-bottom: 20px;
}

#article-content ul li {
    margin-bottom: 10px;
    color: #444;
}

#article-content blockquote {
    background: #f8f9ff;
    border-left: 4px solid var(--vm-gold);
    padding: 16px 20px;
    margin: 20px 0;
    font-style: italic;
    color: #333;
}

#article-content strong {
    color: #000;
    font-weight: 600;
}

#article-content .highlight-box {
    background: #fff9e6;
    border: 1px solid #ffe8a6;
    padding: 15px 18px;
    border-radius: 10px;
    margin: 20px 0;
    color: #7a5a00;
}

@media (max-width: 768px) {
    #article-content {
        padding: 22px;
        font-size: 1rem;
    }
}
