/* 
Theme Name: Quantum Biofeedback
 */

/* ================= RESET & BASE ================= */
*, *::before, *::after { box-sizing: border-box; }
body {
    background: black;
    color: white;
    margin: 0;
    padding-top: 5rem; /* Prevents content from hiding behind fixed header */
}

/* ================= GLOBAL VARIABLES ================= */
:root {
    --color-primary: white;
    --color-secondary: rgb(18, 58, 160);
    --color-background: black;
}

/* ================= GLASS HEADER WRAPPER ================= */
.header-glass {
    position: fixed;
    top: 1.5rem;
    left: 0;
    right: 0;
    width: min(90vw, 75rem);
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-radius: 5rem;
    padding: 0.75rem 1.25rem;
    color: white;
    z-index: 100;
    overflow-x: auto;
    scrollbar-width: none;
}
.header-glass::-webkit-scrollbar { display: none; }

/* ================= SITE TITLE ================= */
.site-title {
    font-family: "Orbitron", sans-serif;
    font-size: clamp(1rem, 2vw, 1.3rem);
    font-weight: 600;
    color: #ffffff !important;
    text-decoration: none !important;
    white-space: nowrap;
    transition: opacity 0.2s ease;
    flex: 0 0 auto;
    padding: 0;
    line-height: 1;
}
.site-title:hover { opacity: 0.8; }

/* ================= MAIN MENU CONTAINER ================= */
.site-main-menu {
    flex: 0 0 auto;
    overflow: visible;
}

/* ================= TOP LEVEL MENU (HORIZONTAL + NO BULLETS) ================= */
.header-menu {
    list-style: none !important;
    margin: 0;
    padding: 0;
    display: flex !important;
    gap: 0.5rem;
    align-items: center;
}

.header-menu > li {
    margin: 0;
    padding: 0;
    position: relative;
}

/* ================= ALL MENU LINKS (TOP + SUBMENU) ================= */
.header-menu a {
    color: #ffffff !important;
    text-decoration: none !important;
    padding: 0.6rem 0.85rem;
    border-radius: 1.5rem;
    transition: color 0.4s ease, background 0.4s ease, transform 0.15s ease;
    display: inline-block;
    white-space: nowrap;
    font-weight: 500;
    font-size: 0.95rem;
}
.header-menu a:hover,
.header-menu a:focus {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-1px);
    color: var(--color-secondary) !important;
}

/* ================= SUBMENU DROPDOWN ================= */
.header-menu ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    margin-top: 0.5rem;
    list-style: none !important;
    padding: 0.5rem 0;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 1rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    z-index: 100;
    flex-direction: column;
}

.header-menu > li:hover > ul,
.header-menu > li:focus-within > ul {
    display: block;
}

/* ================= UTILITY CLASSES ================= */
.container {
    width: 100%;
    max-width: clamp(20rem, 90vw, 75rem);
    margin-inline: auto;
    padding-inline: clamp(1rem, 2vw, 3rem);
}

.section {
    padding-block: clamp(3rem, 5vw, 6rem);
}

.section-full-height {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}