/* ========================================================================================
 * NABLAS MIND CENTRE - MODERN COMING SOON PAGE
 * Theme: Warm Stone, Dark Slate Charcoal & Clinical Teal
 * ======================================================================================== */

:root {
    --bg-main: #ECEFEA;
    --bg-card: #E4E8E3;
    --bg-pill: #FFFFFF;
    --text-dark: #1E2623;
    --text-muted: #58635F;
    --text-subtle: #7E8C86;
    --btn-dark: #1E2623;
    --btn-dark-hover: #125A50;
    --teal-accent: #156B60;
    --teal-light: #2ED573;
    --coral-accent: #E05638;
    --font-heading: 'Sora', sans-serif;
    --font-body: 'Sora', sans-serif;
}

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

html {
    height: 100%;
    min-height: 100%;
    background-color: var(--bg-main);
}

body.nablas-theme-body {
    background-color: var(--bg-main);
    color: var(--text-dark);
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.6;
    height: 100%;
    min-height: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.nablas-page-container {
    width: 100%;
    max-width: 1260px;
    margin: 0 auto;
    padding: 24px 36px 0;
    height: 100vh;
    height: 100dvh;
    background-color: var(--bg-main);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

/* --- 01. Header Navigation --- */
.nablas-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
    position: relative;
    z-index: 10;
    flex-shrink: 0;
}

.nablas-header-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nablas-nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nablas-nav-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    text-decoration: none;
    opacity: 0.85;
    transition: opacity 0.2s ease, color 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nablas-nav-link:hover {
    opacity: 1;
    color: var(--teal-accent);
}

/* --- 02. Main Hero Section --- */
.nablas-hero-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    width: 100%;
    min-height: 0;
    position: relative;
    margin-bottom: 0;
}

.nablas-hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 18px;
    margin: auto 0;
    max-width: 800px;
    width: 100%;
    z-index: 5;
}

/* Counseling Scene: Extends to the absolute bottom edge */
.nablas-counseling-scene {
    width: calc(100% + 72px);
    max-width: 1440px;
    margin-left: -36px;
    margin-right: -36px;
    margin-top: 0;
    margin-bottom: 0;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    position: relative;
    z-index: 1;
    line-height: 0;
    font-size: 0;
    min-height: 0;
    flex-shrink: 0;
}

.nablas-counseling-picture {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    width: 100%;
    line-height: 0;
}

.nablas-counseling-img {
    width: 100%;
    height: auto;
    max-height: 48vh;
    object-fit: contain;
    object-position: bottom center;
    display: block;
    vertical-align: bottom;
    margin: 0;
    padding: 0;
}

/* Brand Lockup: Logo Mark + NABLAS + Equal-Length MIND CENTRE */
.nablas-brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 0;
}

.nablas-brand-icon {
    width: auto;
    height: 70px;
    object-fit: contain;
    display: block;
}

.nablas-brand-text {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 60px;
    text-align: left;
}

.nablas-brand-title {
    font-family: 'LEMON MILK', 'Lemon Milk', var(--font-heading);
    font-size: 40px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.5px;
    color: #13241b;
    text-transform: uppercase;
    margin: 0;
    padding: 0;
}

.nablas-brand-sub {
    font-family: 'LEMON MILK', 'Lemon Milk', var(--font-heading);
    font-size: 13.8px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 7.2px; /* Exact match with NABLAS width */
    color: var(--text-dark);
    text-transform: uppercase;
    margin: 0;
    padding: 0;
    display: block;
}

/* Narrative */
.nablas-hero-narrative {
    font-size: 17.5px;
    font-weight: 400;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 620px;
    margin: 0 auto;
    text-align: center;
    letter-spacing: 0.1px;
}

/* Big Bold Impact "COMING SOON!" Typography */
.nablas-coming-soon-title {
    font-family: var(--font-heading);
    font-size: 54px;
    font-weight: 900;
    line-height: 1.0;
    letter-spacing: -1px;
    text-transform: uppercase;
    color: var(--text-dark);
    text-align: center;
    margin: 0;
    padding: 0;
}

.nablas-coming-soon-title span.highlight {
    color: var(--teal-accent);
}

/* --- 03. Footer --- */
.nablas-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 20;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 60px 12px;
    font-size: 13px;
    color: #FFFFFF;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    background: transparent;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.nablas-footer-brand {
    font-family: var(--font-body);
    font-size: 12.5px;
    font-weight: 400;
    letter-spacing: 0.5px;
    color: #FFFFFF;
    opacity: 0.92;
}

.nablas-footer-copy {
    font-family: var(--font-body);
    font-size: 12.5px;
    font-weight: 400;
    color: #FFFFFF;
    opacity: 0.92;
    margin: 0;
}

/* --- Responsive Media Queries --- */
@media (max-width: 1024px) {
    .nablas-hero-section {
        justify-content: space-between;
        gap: 0;
    }

    .nablas-hero-content {
        margin-top: auto;
        margin-bottom: auto;
        gap: 18px;
    }

    .nablas-counseling-scene {
        width: calc(100% + 72px);
        max-width: 100vw;
        margin-left: -36px;
        margin-right: -36px;
        margin-top: auto;
    }

    .nablas-counseling-img {
        max-height: 480px;
    }

    /* Correspondingly increased font sizes for 1024px */
    .nablas-brand-icon {
        height: 64px;
    }

    .nablas-brand-text {
        height: 54px;
    }

    .nablas-brand-title {
        font-size: 36px;
    }

    .nablas-brand-sub {
        font-size: 12.5px;
        letter-spacing: 6.5px;
    }

    .nablas-hero-narrative {
        font-size: 16px;
        max-width: 580px;
        line-height: 1.6;
    }

    .nablas-coming-soon-title {
        font-size: 48px;
        letter-spacing: -0.8px;
    }
}

@media (min-width: 601px) and (max-width: 992px) {
    .nablas-hero-content {
        gap: 16px;
        margin: auto 0;
        transform: none;
    }

    .nablas-counseling-scene {
        width: calc(100% + 72px);
        max-width: calc(100% + 72px);
        margin-left: -36px;
        margin-right: -36px;
        margin-top: 0;
        margin-bottom: 0;
        display: flex;
        justify-content: center;
        align-items: flex-end;
        overflow: hidden;
    }

    .nablas-counseling-img {
        width: 992px;
        min-width: 992px;
        max-width: 992px;
        height: auto;
        max-height: 52vh;
        object-fit: cover;
        object-position: bottom center;
        display: block;
        flex-shrink: 0;
    }

    /* Corresponding font sizes for tablet */
    .nablas-brand-icon {
        height: 60px;
    }

    .nablas-brand-text {
        height: 50px;
    }

    .nablas-brand-title {
        font-size: 34px;
    }

    .nablas-brand-sub {
        font-size: 11.8px;
        letter-spacing: 6.2px;
    }

    .nablas-hero-narrative {
        font-size: 15.5px;
        max-width: 540px;
        line-height: 1.6;
    }

    .nablas-coming-soon-title {
        font-size: 46px;
        letter-spacing: -0.5px;
    }
}



@media (max-width: 600px) {
    .nablas-page-container {
        padding: 16px 18px 0;
        height: 100vh;
        height: 100dvh;
        background-color: var(--bg-main);
        overflow: hidden;
    }

    .nablas-header {
        justify-content: flex-end;
    }

    .nablas-nav-links {
        gap: 18px;
    }

    .nablas-hero-section {
        justify-content: space-between;
        gap: 0;
        flex: 1;
        min-height: 0;
    }

    .nablas-hero-content {
        margin: auto 0;
        gap: 14px;
        max-width: 380px;
        transform: none;
    }

    /* Correspondingly matched font sizes for mobile */
    .nablas-brand-icon {
        height: 48px;
    }

    .nablas-brand-text {
        height: 44px;
    }

    .nablas-brand-title {
        font-size: 28px;
    }

    .nablas-brand-sub {
        font-size: 10px;
        letter-spacing: 5.2px;
    }

    .nablas-hero-narrative {
        font-size: 14px;
        max-width: 360px;
        line-height: 1.55;
    }

    .nablas-coming-soon-title {
        font-size: 40px;
        letter-spacing: -0.8px;
        line-height: 1.05;
    }

    /* Counseling image sitting cleanly above the footer (Fixed zoom for 481px - 600px) */
    .nablas-counseling-scene {
        width: calc(100% + 36px);
        max-width: calc(100% + 36px);
        margin-left: -18px;
        margin-right: -18px;
        margin-top: 0;
        margin-bottom: 0;
        display: flex;
        justify-content: center;
        align-items: flex-end;
        line-height: 0;
        padding-bottom: 0;
        flex-shrink: 0;
        min-height: 0;
        overflow: hidden;
    }

    .nablas-counseling-img {
        width: 992px;
        min-width: 992px;
        max-width: 992px;
        height: auto;
        max-height: 52vh;
        display: block;
        object-fit: cover;
        object-position: bottom center;
        flex-shrink: 0;
        transform: none;
    }

    /* Pinned to absolute bottom with transparent background and white font */
    .nablas-footer {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 6px 16px 8px;
        background: transparent;
        color: #FFFFFF;
        border-top: none;
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
        z-index: 20;
        width: 100%;
        white-space: nowrap;
    }

    .nablas-footer-brand {
        font-family: var(--font-body);
        font-size: 11px;
        font-weight: 400;
        letter-spacing: 0.3px;
        color: #FFFFFF;
        opacity: 0.95;
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
    }

    .nablas-footer-copy {
        font-family: var(--font-body);
        color: #FFFFFF;
        font-size: 11px;
        font-weight: 400;
        opacity: 0.95;
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
        margin: 0;
    }
}

/* --- Fixed position & zoom strictly below 480px downwards --- */
@media (max-width: 480px) {
    .nablas-header {
        justify-content: flex-end;
    }

    .nablas-nav-links {
        gap: 16px;
    }

    .nablas-nav-text {
        display: none;
    }

    .nablas-nav-link {
        font-size: 18px;
        padding: 2px 4px;
    }

    .nablas-footer-brand,
    .nablas-footer-copy {
        font-size: 10px;
    }

    .nablas-counseling-scene {
        overflow: hidden;
        max-height: 54vh;
    }

    .nablas-counseling-img {
        width: 480px;
        min-width: 480px;
        max-width: 480px;
        height: auto;
        max-height: none;
        object-fit: contain;
        object-position: bottom center;
        flex-shrink: 0;
    }
}

/* Below 360px down to 320px: center-align on single line */
@media (max-width: 360px) {
    .nablas-footer {
        justify-content: center;
        gap: 6px;
        padding: 6px 8px 8px;
    }

    .nablas-footer-brand,
    .nablas-footer-copy {
        font-size: 9px;
        letter-spacing: 0;
    }
}

/* ========================================================================================
 * PROPORTIONAL HEIGHT SCALING (Activates across all devices when screen height shrinks)
 * Normal/tall heights remain 100% untouched.
 * ======================================================================================== */

/* --- Desktop & Laptop & Tablet on Short Vertical Heights (<= 780px) --- */
@media (min-width: 601px) and (max-height: 780px) {
    .nablas-page-container {
        padding-top: clamp(12px, 2.5vh, 20px);
    }

    .nablas-hero-content {
        gap: clamp(10px, 2vh, 16px);
    }

    .nablas-brand-icon {
        height: clamp(46px, 7vh, 60px);
    }

    .nablas-brand-text {
        height: clamp(40px, 6vh, 50px);
    }

    .nablas-brand-title {
        font-size: clamp(26px, 4.2vh, 34px);
    }

    .nablas-brand-sub {
        font-size: clamp(9px, 1.4vh, 12px);
        letter-spacing: clamp(4.8px, 0.75vh, 6.2px);
    }

    .nablas-hero-narrative {
        font-size: clamp(13.5px, 2vh, 16px);
        line-height: 1.5;
        max-width: 540px;
    }

    .nablas-coming-soon-title {
        font-size: clamp(34px, 5.5vh, 46px);
    }

    .nablas-counseling-scene {
        max-height: 44vh;
    }

    .nablas-counseling-img {
        max-height: 44vh;
    }
}

/* --- Mobile on Short Vertical Heights (<= 740px) --- */
@media (max-width: 600px) and (max-height: 740px) {
    .nablas-page-container {
        padding-top: clamp(8px, 1.8vh, 14px);
    }

    .nablas-hero-content {
        gap: clamp(8px, 1.8vh, 14px);
    }

    .nablas-brand-icon {
        height: clamp(34px, 5.5vh, 44px);
    }

    .nablas-brand-text {
        height: clamp(30px, 5vh, 40px);
    }

    .nablas-brand-title {
        font-size: clamp(20px, 3.6vh, 26px);
    }

    .nablas-brand-sub {
        font-size: clamp(7px, 1.25vh, 9.5px);
        letter-spacing: clamp(3.6px, 0.65vh, 5px);
    }

    .nablas-hero-narrative {
        font-size: clamp(11.5px, 1.8vh, 13.5px);
        line-height: 1.45;
    }

    .nablas-coming-soon-title {
        font-size: clamp(26px, 4.6vh, 36px);
    }

    .nablas-counseling-scene {
        max-height: 46vh;
    }

    .nablas-counseling-img {
        max-height: 46vh;
    }
}

/* --- Ultra-Short Heights across ALL Devices (<= 620px) --- */
@media (max-height: 620px) {
    .nablas-page-container {
        padding-top: 8px;
    }

    .nablas-header {
        padding: 2px 0;
    }

    .nablas-hero-content {
        gap: 6px;
    }

    .nablas-brand-icon {
        height: 32px;
    }

    .nablas-brand-text {
        height: 28px;
    }

    .nablas-brand-title {
        font-size: 19px;
    }

    .nablas-brand-sub {
        font-size: 7px;
        letter-spacing: 3.2px;
    }

    .nablas-hero-narrative {
        font-size: 11px;
        line-height: 1.35;
        max-width: 380px;
    }

    .nablas-coming-soon-title {
        font-size: 24px;
    }

    .nablas-counseling-scene {
        max-height: 40vh;
    }

    .nablas-counseling-img {
        max-height: 40vh;
    }
}

/* --- Extreme Short / Mobile Landscape (<= 500px) --- */
@media (max-height: 500px) {
    .nablas-page-container {
        padding-top: 4px;
    }

    .nablas-hero-content {
        gap: 4px;
    }

    .nablas-brand-icon {
        height: 26px;
    }

    .nablas-brand-text {
        height: 22px;
    }

    .nablas-brand-title {
        font-size: 15px;
    }

    .nablas-brand-sub {
        font-size: 5.5px;
        letter-spacing: 2.6px;
    }

    .nablas-hero-narrative {
        font-size: 9.5px;
        line-height: 1.25;
        max-width: 460px;
    }

    .nablas-coming-soon-title {
        font-size: 18px;
    }

    .nablas-counseling-scene {
        max-height: 36vh;
    }

    .nablas-counseling-img {
        max-height: 36vh;
    }

    .nablas-footer {
        padding: 2px 16px 4px;
        font-size: 9px;
    }
}


