﻿/* =========================
   ROOT VARIABLES (merged)
   ========================= */
/*:root {*/
    /* layout */
    /*--page-scale: 0.90;
    --nav-height: 64px;
    --megamenu-gutter: clamp(12px, 2.5vw, 24px);*/
    /* hero image frame */
    /*--hero-img-w: clamp(540px, 36vw, 760px);
    --hero-img-h: clamp(320px, 28vw, 460px);
    --hero-img-shift-x: 8px;
    --hero-img-shift-y: -8px;*/
    /* cards */
    /*--feature-radius: 12px;
    --feature-border: #e9ecef;
    --feature-text: #0f172a;
    --feature-muted: #6b7280;
    --feature-accent: #05bfa7;*/
    /* silver palette */
    /*--accent: #aeb4bf;
    --accent-strong: #9097a3;
    --ink: #1f2328;
    --muted: #5f6672;
    --border-1: #c7cbd3;
    --border-2: #d8dbe2;
    --bg-app: #f5f6f8;
    --bg-panel: #ffffff;
    --steel-1: #f7f8fa;
    --steel-2: #e8ebf0;
    --steel-3: #d9dee6;*/
    /* brand (requested) */
    /*--brand-start: #3c7fbe;*/ /* gradient top  */
    /*--brand-end: #2f6aa3;*/ /* gradient bottom */
    /*--brand-border: #2a5d91;*/ /* outline */
    /*--brand-text: #ffffff;*/ /* on brand bg */
/*}*/

/* subtle metallic sheen */
/*@keyframes glow-pop {
    0% {
        box-shadow: 0 0 0 0 var(--accent-strong)
    }

    100% {
        box-shadow: 0 0 16px var(--accent-strong)
    }
}*/

/* =========================
   BASE LAYOUT / SCALE
   ========================= */
/*html {
    zoom: var(--page-scale);
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 4000;
}

@supports not (zoom: 1) {
    body {
        transform: scale(var(--page-scale));
        transform-origin: top left;
        width: calc(100% / var(--page-scale));
        height: calc(100% / var(--page-scale));
    }
}

@media (max-width: 1200px) {
    html {
        zoom: 1;
    }

    @supports not (zoom: 1) {
        body {
            transform: none;
            width: 100%;
            height: auto;
        }
    }
}*/

/* =========================
   HORIZONTAL ICON MENU
   ========================= */
/*.horizontal-icon-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 10px;
    background: #fff;
}

.menu-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: background-color .2s ease, color .2s ease;
}

    .menu-item i {
        font-size: 18px;
        color: #333;
    }

.menu-label {
    position: absolute;
    bottom: -25px;
    background: #f1f1f1;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(5px);
    transition: all .2s ease;
    pointer-events: none;
    color: #333;
}

.menu-item:hover .menu-label {
    opacity: 1;
    transform: translateY(0);
}

.menu-item:hover {
    background: #f1f1f1;
}

.menu-item.active {
    background: #eaf1fb;
}

    .menu-item.active i {
        color: var(--brand-end);
    }

@media (max-width:768px) {
    .horizontal-icon-menu {
        justify-content: center;
    }

    .menu-item {
        flex: 1 1 20%;
    }
}*/

/* =========================
   ROUTE MODAL SHELL
   ========================= */
/*.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.route-modal {
    background: #fff;
    border-radius: 8px;
    width: 90%;
    max-width: 900px;
    box-shadow: 0 0 10px rgba(0,0,0,.2);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.route-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid #eee;
    background: #f8f9fa;
}

.route-modal-body {
    display: flex;
    padding: 20px;
}

.route-modal-footer {
    display: flex;
    justify-content: flex-end;
    padding: 16px;
    border-top: 1px solid #eee;
    background: #f8f9fa;
}

.settings-nav {
    width: 200px;
    border-right: 1px solid #ddd;
}

    .settings-nav ul {
        list-style: none;
        padding-left: 0;
    }

    .settings-nav li {
        padding: 12px 16px;
        cursor: pointer;
        font-weight: 500;
        border-left: 3px solid transparent;
    }

        .settings-nav li.active {
            background: #f0f4fb;
            border-left: 3px solid var(--brand-border);
        }

.small-link {
    display: inline-block;
    margin-top: 4px;
    font-size: 13px;
    color: var(--brand-end);
    text-decoration: none;
}

    .small-link:hover {
        color: var(--brand-border);
        text-decoration: underline;
    }

.close-button {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
}*/

/* =========================
   HERO (full-bleed diagonal band)
   ========================= */
/*.hero-outer {
    position: relative;
    overflow: hidden;
    z-index: 0;
    min-height: calc(100vh - var(--nav-height));
    padding: clamp(48px, 8vh, 120px) 0;
}

    .hero-outer::before {
        content: "";
        position: absolute;
        inset: 0;
        background: #05bfa7;
        clip-path: polygon(0 0, 100% 0, 78% 52%, 60% 100%, 0 100%);
        z-index: -1;
    }*/
/* inner layout */
/*.hero-combined {
    display: grid;
    grid-template-columns: minmax(520px,1fr) var(--hero-img-w);
    align-items: center;
    gap: clamp(32px,4vw,56px);
    min-height: 560px;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
}

.hero-tagline, .hero-desc, .hero-sub {
    color: #eafffa;
}

.hero-buttons .hero-btn.primary {
    background: linear-gradient(var(--brand-start), var(--brand-end)) !important;
    border: 1px solid var(--brand-border) !important;
    color: var(--brand-text) !important;
}

.hero-buttons .hero-btn.secondary {
    border: 1px solid #fff;
    color: #fff;
}

@media (min-width:1200px) {
    .hero-left {
        margin-left: -120px;
    }
}

@media (min-width:992px) and (max-width:1199.98px) {
    .hero-left {
        margin-left: -80px;
    }
}

@media (max-width:991.98px) {
    .hero-left {
        margin-left: 0;
    }
}

.hero-right {
    justify-self: end;
    align-self: start;
    width: var(--hero-img-w);
    height: var(--hero-img-h);
    position: relative;
    transform: translate(var(--hero-img-shift-x), var(--hero-img-shift-y));
}

    .hero-right img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 14px;
        box-shadow: 0 12px 32px rgba(0,0,0,.18);
        display: block;
    }

@media (max-width:992px) {
    .hero-combined {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .hero-right {
        width: 100%;
        height: clamp(240px, 50vw, 380px);
        transform: none;
    }

    .hero-outer::before {
        clip-path: polygon(0 0, 100% 0, 85% 55%, 70% 100%, 0 100%);
    }
}*/

/* =========================
   SILVER HERO BAND (centered)
   ========================= */
/*.hero {
    background: linear-gradient(180deg, var(--steel-1) 0%, var(--steel-2) 52%, var(--steel-1) 100%), radial-gradient(120% 160% at 50% -30%, rgba(255,255,255,.85) 0%, rgba(255,255,255,0) 60%), repeating-linear-gradient(90deg, rgba(255,255,255,0) 0 7px, rgba(255,255,255,.035) 7px 8px);
    color: var(--ink);
    padding: 60px 20px;
    text-align: center;
    border-bottom: 1px solid var(--border-1);
}

    .hero h1 {
        color: var(--ink);
        font-size: 3rem;
        margin-bottom: 10px;
    }

    .hero .subtitle {
        color: var(--muted);
        font-size: 1.25rem;
        margin-bottom: 20px;
    }*/

/* =========================
   MEGA MENU
   ========================= */
/*.dropdown.cards-dropdown {
    position: static;
}

.dropdown-full-wrapper {
    position: fixed !important;
    top: var(--nav-height) !important;
    left: 0 !important;
    right: 0 !important;
    width: auto !important;
    max-width: none !important;
    transform: none !important;
    z-index: 5000;
    display: none;
}

.cards-dropdown:hover .dropdown-full-wrapper,
.cards-dropdown:focus-within .dropdown-full-wrapper {
    display: block;
}

.dropdown-content {
    width: 100%;
    max-width: none;
    margin: 0;
    padding-inline: var(--megamenu-gutter);
    display: grid;
    grid-template-columns: repeat(6, minmax(180px,1fr));
    gap: 16px;
}

@media (max-width:1400px) {
    .dropdown-content {
        grid-template-columns: repeat(5, minmax(180px,1fr));
    }
}

@media (max-width:1200px) {
    .dropdown-content {
        grid-template-columns: repeat(4, minmax(180px,1fr));
    }
}

@media (max-width:992px) {
    .dropdown-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width:576px) {
    .dropdown-content {
        grid-template-columns: 1fr;
    }
}

@supports not (zoom:1) {
    .dropdown-full-wrapper {
        top: calc(var(--nav-height) * var(--page-scale)) !important;
        left: 0 !important;
        right: auto !important;
        width: calc(100dvw * var(--page-scale)) !important;
        transform: scale(calc(1 / var(--page-scale))) !important;
        transform-origin: top left !important;
    }
}*/

/* ensure hero-outer sits below dropdown */
/*.hero-outer {
    position: relative;
    z-index: 0;
}

    .hero-outer::before {
        z-index: -1;
    }*/

/* =========================
   FEATURE CARDS & MODULE TILES
   ========================= */
/*.feature-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 100%;
    padding: clamp(16px, 2.2vw, 24px);
    border: 1px solid var(--feature-border);
    border-radius: var(--feature-radius);
    background: #fff;
    text-decoration: none;
    color: var(--feature-text);
    box-shadow: 0 1px 2px rgba(0,0,0,.04);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}

    .feature-card > i {
        font-size: clamp(20px,2.2vw,24px);
        color: var(--feature-accent);
        opacity: .95;
    }

    .feature-card h2 {
        margin: 0;
        font-size: clamp(18px,1.6vw,22px);
        line-height: 1.25;
        font-weight: 800;
        letter-spacing: .2px;
        color: var(--feature-text);
    }

    .feature-card p {
        margin: 0;
        font-size: clamp(13px,1.2vw,14.5px);
        line-height: 1.45;
        color: var(--feature-muted);
    }

    .feature-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 10px 24px rgba(0,0,0,.10);
        border-color: color-mix(in oklab, var(--feature-accent) 35%, #ffffff);
    }

    .feature-card:focus-visible {
        outline: 0;
        box-shadow: 0 0 0 3px color-mix(in oklab, var(--feature-accent) 30%, transparent), 0 10px 24px rgba(0,0,0,.12);
    }

    .feature-card:active {
        transform: translateY(-1px);
        box-shadow: 0 6px 16px rgba(0,0,0,.10);
    }

@media (min-width:1200px) {
    .feature-card.feature-card--wide {
        grid-column: span 2;
    }
}

@media (max-width:768px) {
    .feature-card {
        padding: 14px;
    }

        .feature-card h2 {
            font-size: 18px;
        }

        .feature-card p {
            font-size: 13px;
        }
}

@media (prefers-reduced-motion:reduce) {
    .feature-card {
        transition: none;
    }
}*/

/* Silver features band */
/*.features-section {
    padding: 40px 20px;
    text-align: center;
    background: var(--bg-app);
    border-top: 1px solid var(--border-1);
    border-bottom: 1px solid var(--border-1);
}

    .features-section h2 {
        color: var(--ink);
        margin-bottom: 10px;
    }*/

/* Module tile grid */
/*.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
    gap: 20px;
    padding: 20px 0;
}

.module-card {
    background: linear-gradient(#ffffff, #f6f7fa);
    border: 1px solid var(--border-2);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: background .15s, border-color .15s, box-shadow .15s, transform .08s;
    box-shadow: 0 1px 0 #fff inset, 0 1px 2px rgba(0,0,0,.04);
}

    .module-card:hover {
        background: linear-gradient(#f9fafc, #ecf0f6);
        border-color: #bdc3cc;
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(0,0,0,.10);
    }

    .module-card.is-active {
        border-color: var(--accent-strong);
        box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent-strong) 60%, white 40%) inset, 0 0 10px var(--accent-strong);
        transform: translateY(-1px);
        animation: glow-pop .25s ease-out;
    }

.module-icon {
    font-size: 48px;
    margin-bottom: 10px;
    color: var(--ink);
}

.module-card h3 {
    color: var(--ink);
    margin-top: 0;
}

.module-card p {
    color: var(--muted);
    font-size: .95rem;
}*/

/* About & footer */
/*.about-section {
    padding: 40px 20px;
    background: var(--bg-panel);
    text-align: center;
    border-top: 1px solid var(--border-1);
}

    .about-section h2 {
        color: var(--ink);
        margin-bottom: 10px;
    }

    .about-section p {
        max-width: 700px;
        margin: 0 auto;
        color: var(--muted);
        line-height: 1.5;
    }

.footer {
    background: linear-gradient(var(--steel-1), var(--steel-2));
    color: var(--ink);
    text-align: center;
    padding: 20px;
    font-size: .9rem;
    border-top: 1px solid var(--border-1);
}

    .footer a {
        color: var(--ink);
        text-decoration: underline;
    }*/

/* =========================
   BRAND PRIMARY BUTTONS
   ========================= */
/*.cta-button,
.login-button,
.register-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(var(--brand-start), var(--brand-end));
    color: var(--brand-text);
    border: 1px solid var(--brand-border);
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 800;
    cursor: pointer;
    transition: background .15s, border-color .15s, box-shadow .15s, transform .08s, filter .15s;
    box-shadow: 0 1px 0 #fff inset, 0 10px 22px rgba(46,60,82,.08);
}

    .cta-button:hover,
    .login-button:hover,
    .register-button:hover {
        transform: translateY(-1px);
        box-shadow: 0 1px 0 #fff inset, 0 14px 28px rgba(46,60,82,.12);
        filter: brightness(1.03);
    }

    .cta-button:active,
    .login-button:active,
    .register-button:active {
        transform: translateY(0);
    }

    .cta-button:focus-visible,
    .login-button:focus-visible,
    .register-button:focus-visible {
        outline: none;
        box-shadow: 0 0 0 1px #fff inset, 0 0 0 2px var(--brand-border), 0 0 14px color-mix(in srgb, var(--brand-border) 60%, transparent);
    }

    .cta-button.is-active,
    .login-button.is-active,
    .register-button.is-active {
        animation: glow-pop .25s ease-out;
    }*/

/* Global primary buttons for Bootstrap-style .btn */
/*.btn-primary,
.hero-buttons .hero-btn.primary,
.filters .btn.btn-primary,
.route-modal-footer .btn.btn-primary {
    background: linear-gradient(var(--brand-start), var(--brand-end)) !important;
    border: 1px solid var(--brand-border) !important;
    color: var(--brand-text) !important;
    border-radius: 10px;
    font-weight: 800;
    box-shadow: 0 1px 0 #fff inset, 0 10px 22px rgba(46,60,82,.08);
    transition: transform .08s ease, box-shadow .15s ease, filter .15s ease;
}

    .btn-primary:hover,
    .hero-buttons .hero-btn.primary:hover,
    .filters .btn.btn-primary:hover,
    .route-modal-footer .btn.btn-primary:hover {
        transform: translateY(-1px);
        box-shadow: 0 1px 0 #fff inset, 0 14px 28px rgba(46,60,82,.12);
        filter: brightness(1.03);
    }

    .btn-primary:disabled {
        opacity: .65;
        cursor: not-allowed;
    }*/
