/* =========================================================
   BLOOMIFY GLOBAL DESIGN FIX
   One shared visual system for every page.
   Loaded last so page-specific styles cannot break the shell.
   ========================================================= */

:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #0d1117;
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --text-muted: #606070;
    --color-purple: #6c63ff;
    --color-cyan: #00d4ff;
    --gradient: linear-gradient(135deg, #6c63ff, #00d4ff);
}

html, body {
    background: #0a0a0f !important;
    color: #ffffff;
}

/* ---------- GLOBAL NAVBAR ---------- */
.navbar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 10000 !important;
    padding: 1.2rem 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.navbar.scrolled {
    background: rgba(10, 10, 15, 0.96) !important;
    border-bottom: 1px solid rgba(108, 99, 255, 0.15) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.45) !important;
    backdrop-filter: blur(24px) !important;
    -webkit-backdrop-filter: blur(24px) !important;
    padding: 0.7rem 0 !important;
}

.nav-container {
    width: 100% !important;
    max-width: 1200px !important;
    min-height: 50px !important;
    margin: 0 auto !important;
    padding: 0 1.5rem !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 1.5rem !important;
}

.nav-logo {
    display: inline-flex !important;
    flex: 0 0 auto !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 12px !important;
    margin: 0 !important;
    padding: 5px 0 !important;
    text-decoration: none !important;
}

.logo-icon-wrap {
    width: 42px !important;
    height: 42px !important;
    flex: 0 0 42px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(139, 92, 246, 0.10) !important;
    border: 1px solid rgba(139, 92, 246, 0.30) !important;
    border-radius: 10px !important;
}

.logo-globe {
    width: 28px !important;
    height: 28px !important;
}

.logo-text-wrap {
    display: flex !important;
    flex-direction: column !important;
    flex: 0 0 auto !important;
    line-height: 1.1 !important;
}

.nav-logo .logo-bloom {
    font-family: 'Space Grotesk', sans-serif !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    color: #ffffff !important;
    background: linear-gradient(135deg, #ffffff 0%, #a78bfa 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

.nav-logo .logo-source {
    font-family: 'Inter', sans-serif !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    color: #a78bfa !important;
    letter-spacing: 3px !important;
    margin-top: 4px !important;
}

.nav-links {
    display: flex !important;
    flex: 0 0 auto !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 2.5rem !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.nav-links li {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.nav-link {
    display: inline-block !important;
    color: #a0a0b0 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
    position: relative !important;
}

.nav-link:hover,
.nav-link.active {
    color: #ffffff !important;
}

.nav-cta {
    display: inline-flex !important;
    flex: 0 0 auto !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    margin: 0 !important;
    padding: 0.65rem 1.5rem !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: linear-gradient(135deg, #6c63ff, #00d4ff) !important;
    color: #ffffff !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
}

.nav-cta:hover {
    color: #ffffff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 0 30px rgba(108, 99, 255, 0.30) !important;
}

.hamburger {
    display: none !important;
    flex-direction: column !important;
}

/* ---------- PAGE CONTENT CLEARANCE ----------
   The navbar is fixed, so page heroes must leave enough room beneath it.
   This prevents the first row of hero content from sitting underneath the navbar.
*/
main {
    padding-top: 0 !important;
}

.page-hero {
    margin-top: 0 !important;
    padding-top: 8rem !important;
}

/* Services had an old inline 20px override; force the shared spacing. */
.services-page .page-hero,
.page-hero {
    padding-top: 8rem !important;
}

/* Our Story uses its own hero, so preserve its intended spacing while
   keeping it safely below the fixed navbar. */
.about-hero {
    padding-top: 160px !important;
}

@media (max-width: 900px) {
    .nav-links,
    .nav-cta {
        display: none !important;
    }

    .hamburger {
        display: flex !important;
    }

    .nav-container {
        padding: 0 1rem !important;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 0.8rem 0 !important;
    }

    .logo-icon-wrap {
        width: 36px !important;
        height: 36px !important;
        flex-basis: 36px !important;
    }

    .logo-globe {
        width: 24px !important;
        height: 24px !important;
    }

    .nav-logo .logo-bloom {
        font-size: 18px !important;
    }

    .nav-logo .logo-source {
        font-size: 8px !important;
        letter-spacing: 2px !important;
    }
}
/* =========================================================
   NAVBAR ONLY — FINAL OVERRIDE
   DO NOT MODIFY OTHER SITE STYLES
   ========================================================= */

#navbar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 999999 !important;

    background: rgba(10, 10, 15, 0.94) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;

    transition:
        transform 0.45s ease,
        background 0.35s ease,
        box-shadow 0.35s ease !important;
}

/* Keep navbar content in one horizontal row */
#navbar .nav-container {
    width: 100% !important;
    max-width: 1200px !important;
    min-height: 70px !important;

    margin: 0 auto !important;
    padding: 0 24px !important;

    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
}

/* Links stay horizontal */
#navbar .nav-links {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 2.5rem !important;

    margin: 0 !important;
    padding: 0 !important;
}

/* Navbar hide/show animation */
#navbar.nav-hidden {
    transform: translateY(-110%) !important;
}

#navbar.nav-visible {
    transform: translateY(0) !important;
}

/* Scrolled state */
#navbar.scrolled {
    background: rgba(10, 10, 15, 0.97) !important;
    backdrop-filter: blur(24px) !important;
    -webkit-backdrop-filter: blur(24px) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.35) !important;
}

/* Prevent page content from sitting underneath navbar */
body.inner-page main {
    padding-top: 90px !important;
}

/* Homepage remains untouched */
body:not(.inner-page) main {
    padding-top: 0 !important;
}

/* Mobile */
@media (max-width: 768px) {

    #navbar .nav-container {
        min-height: 65px !important;
        padding: 0 18px !important;
    }

    body.inner-page main {
        padding-top: 75px !important;
    }
}

@media (hover: none), (pointer: coarse) {
    #my-custom-cursor,
    #my-custom-cursor-dot,
    .cursor-glow,
    .cursor-dot,
    .mouse-spotlight {
        display: none !important;
    }
}
