/* ==========================================================================
   Tosha Design — Complete Visual Styling
   Design slug: design-quantum-orbit
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Font Declarations
   -------------------------------------------------------------------------- */
@font-face {
    font-family: 'QuantumorbitHeading';
    src: url('../fonts/rajdhani-bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'QuantumorbitBody';
    src: url('../fonts/roboto-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* --------------------------------------------------------------------------
   2. GP Remnant Safety Rule (ONLY allowed !important usage)
   -------------------------------------------------------------------------- */
.site-header,
.main-navigation,
.site-footer,
.site-info,
.top-bar {
    display: none !important;
}

/* --------------------------------------------------------------------------
   3. Body / Page Background
   -------------------------------------------------------------------------- */
.design-quantum-orbit {
    background-color: #ffffff;
}

/* --------------------------------------------------------------------------
   4. Skip Link
   -------------------------------------------------------------------------- */
.quahdr-skip {
    position: absolute;
    top: -100%;
    left: 0;
    background: #ac34df;
    color: #fff;
    padding: 8px 16px;
    z-index: 9999;
    font-size: 14px;
    text-decoration: none;
}

.quahdr-skip:focus {
    top: 0;
}

/* --------------------------------------------------------------------------
   5. Content Area
   -------------------------------------------------------------------------- */
.quahdr-site-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px 60px;
    min-height: 50vh;
}

/* --------------------------------------------------------------------------
   6. Content Typography (scoped with body class)
   -------------------------------------------------------------------------- */
.design-quantum-orbit h1,
.design-quantum-orbit h2,
.design-quantum-orbit h3,
.design-quantum-orbit h4,
.design-quantum-orbit h5 {
    font-family: 'QuantumorbitHeading', Arial, sans-serif;
    color: #1f0e25;
    line-height: 1.2;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

.design-quantum-orbit h1 { font-size: 2.2rem; }
.design-quantum-orbit h2 { font-size: 1.8rem; }
.design-quantum-orbit h3 { font-size: 1.4rem; }
.design-quantum-orbit h4 { font-size: 1.2rem; }
.design-quantum-orbit h5 { font-size: 1.05rem; }

.design-quantum-orbit body,
.design-quantum-orbit p,
.design-quantum-orbit li,
.design-quantum-orbit td,
.design-quantum-orbit th {
    font-family: 'QuantumorbitBody', Arial, sans-serif;
    color: #333333;
    line-height: 1.75;
}

.design-quantum-orbit p {
    margin-bottom: 1.2em;
    font-size: 15px;
}

/* Links */
.design-quantum-orbit a {
    color: #ac34df;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s;
}

.design-quantum-orbit a:hover {
    color: #9a1ad1;
}

/* Lists */
.design-quantum-orbit ul,
.design-quantum-orbit ol {
    padding-left: 1.5em;
    margin-bottom: 1.2em;
}

.design-quantum-orbit li {
    margin-bottom: 0.4em;
}

/* Images */
.design-quantum-orbit .entry-content img,
.design-quantum-orbit .page-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1em 0;
}

/* Dividers */
.design-quantum-orbit hr {
    border: none;
    border-top: 1px solid #e0e0e0;
    margin: 2em 0;
}

/* --------------------------------------------------------------------------
   7. CTA Button (in header)
   -------------------------------------------------------------------------- */
.quahdr-cta {
    display: none;
    padding: 8px 20px;
    background: #ac34df;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-family: 'QuantumorbitBody', Arial, sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s;
    margin-left: 12px;
}

.quahdr-cta:hover {
    background: #9a1ad1;
    color: #fff;
    text-decoration: none;
}


/* --------------------------------------------------------------------------
   Header — Solid Bar
   -------------------------------------------------------------------------- */
.quahdr-wrap {
    background: #1f0e25;
    padding: 0;
    position: relative;
    z-index: 100;
    border-bottom: 3px solid #ac34df;
}

.quahdr-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    height: 65px;
}

.quahdr-brand {
    flex-shrink: 0;
}

.quahdr-brand a {
    text-decoration: none;
}

.quahdr-brand img {
    max-height: 45px;
    width: auto;
    display: block;
}

.quahdr-sitename {
    font-family: 'QuantumorbitHeading', Arial, sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    letter-spacing: 0.5px;
}

.quahdr-sitename:hover {
    color: #ac34df;
}

/* Navigation */
.quahdr-nav {
    display: flex;
    align-items: center;
}

.quahdr-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 0;
}

.quahdr-menu li {
    position: relative;
}

.quahdr-menu > li > a {
    display: block;
    padding: 0 18px;
    line-height: 65px;
    color: #dbdbdb;
    text-decoration: none;
    font-family: 'QuantumorbitBody', Arial, sans-serif;
    font-size: 0.95rem;
    font-weight: 400;
    transition: color 0.2s, background 0.2s;
    white-space: nowrap;
}

.quahdr-menu > li > a:hover,
.quahdr-menu > li.current-menu-item > a {
    color: #ffffff;
    background: rgba(172, 52, 223, 0.15);
}

/* Dropdown */
.quahdr-menu .sub-menu {
    list-style: none;
    margin: 0;
    padding: 8px 0;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: #130816;
    border-top: 2px solid #ac34df;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    display: none;
    z-index: 200;
}

.quahdr-menu li:hover > .sub-menu {
    display: block;
}

.quahdr-menu .sub-menu a {
    display: block;
    padding: 10px 20px;
    color: #c8c8c8;
    text-decoration: none;
    font-family: 'QuantumorbitBody', Arial, sans-serif;
    font-size: 0.9rem;
    transition: color 0.2s, background 0.2s;
}

.quahdr-menu .sub-menu a:hover {
    color: #ffffff;
    background: rgba(172, 52, 223, 0.1);
}

/* Mobile Menu Toggle (hidden on desktop) */
.quahdr-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
    z-index: 150;
}

.quahdr-toggle-bar {
    display: block;
    width: 24px;
    height: 2px;
    background: #ffffff;
    transition: transform 0.3s, opacity 0.3s;
}

.quahdr-toggle[aria-expanded="true"] .quahdr-toggle-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.quahdr-toggle[aria-expanded="true"] .quahdr-toggle-bar:nth-child(2) {
    opacity: 0;
}

.quahdr-toggle[aria-expanded="true"] .quahdr-toggle-bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}


/* --------------------------------------------------------------------------
   Tables — Striped Style
   -------------------------------------------------------------------------- */
.design-quantum-orbit .entry-content table,
.design-quantum-orbit .page-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5em;
    font-size: 0.95rem;
    border: 1px solid #e8e8e8;
}

.design-quantum-orbit .entry-content th,
.design-quantum-orbit .page-content th {
    background: #1f0e25;
    color: #ffffff;
    padding: 8px 12px;
    text-align: left;
    font-family: 'QuantumorbitHeading', Arial, sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
}

.design-quantum-orbit .entry-content td,
.design-quantum-orbit .page-content td {
    padding: 8px 12px;
    border-bottom: 1px solid #e8e8e8;
    text-align: left;
}

.design-quantum-orbit .entry-content tr:nth-child(even) td,
.design-quantum-orbit .page-content tr:nth-child(even) td {
    background: #f8f8f8;
}

.design-quantum-orbit .entry-content tr:hover td,
.design-quantum-orbit .page-content tr:hover td {
    background: #f8effc;
}


/* --------------------------------------------------------------------------
   Footer — Minimal Single Line
   -------------------------------------------------------------------------- */
.quaft-wrap {
    background: #1f0e25;
    color: #bfbfbf;
    padding: 20px 0;
    margin-top: 40px;
    border-top: 2px solid #ac34df;
}

.quaft-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.quaft-line {
    margin: 0 0 8px;
    font-family: 'QuantumorbitBody', Arial, sans-serif;
    font-size: 0.8rem;
    color: #999999;
}

.quaft-nav {
    margin-top: 8px;
}

.quaft-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}

.quaft-menu a {
    color: #bfbfbf;
    text-decoration: none;
    font-family: 'QuantumorbitBody', Arial, sans-serif;
    font-size: 0.8rem;
    transition: color 0.2s;
}

.quaft-menu a:hover {
    color: #ac34df;
}


/* --------------------------------------------------------------------------
   Responsive — Tablet (768px)
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
    /* Show hamburger */
    .quahdr-toggle {
        display: flex;
    }

    /* Hide desktop nav, show when toggled */
    .quahdr-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #130816;
        border-top: 2px solid #ac34df;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
        z-index: 200;
    }

    .quahdr-nav.is-open {
        display: block;
    }

    .quahdr-menu {
        flex-direction: column;
        padding: 10px 0;
    }

    .quahdr-menu > li > a {
        line-height: 1.4;
        padding: 12px 20px;
    }

    /* Dropdown on mobile: always visible */
    .quahdr-menu .sub-menu {
        position: static;
        box-shadow: none;
        border-top: none;
        background: rgba(0, 0, 0, 0.15);
        padding-left: 15px;
        display: block;
        transform: none;
    }

    /* Footer adjustments */
    .quaft-inner {
        flex-direction: column;
        text-align: center;
    }

    .quaft-menu {
        justify-content: center;
    }

    /* Content */
    .quahdr-site-content {
        padding: 25px 15px 40px;
    }
}

/* --------------------------------------------------------------------------
   Responsive — Mobile (480px)
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {
    .quahdr-inner {
        height: 60px;
        padding: 0 15px;
    }

    .quahdr-sitename {
        font-size: 1.15rem;
    }

    .quahdr-brand img {
        max-height: 35px;
    }

    .design-quantum-orbit h1 { font-size: 1.6rem; }
    .design-quantum-orbit h2 { font-size: 1.35rem; }
    .design-quantum-orbit h3 { font-size: 1.15rem; }

    .design-quantum-orbit p {
        font-size: 0.95rem;
    }

    .quahdr-site-content {
        padding: 20px 12px 30px;
    }
}
