/* JRUPITR_ROOT.CSS - FLUID ARCHITECTURE */
:root {
    --accent: #ffa500;       /* Jrupitr Orange */
    --text: ghostwhite;
    --bg: #13091e;
    --max-content: 1200px;   /* The "Safety" container for large monitors */
}

/* Body Elements  @media(max-width:1440px) */
@font-face {font-family: Fira;
	src: url(fonts/FiraSansCondensed-ExtraLight.ttf);
} 

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

body {
    background-color: var(--bg);
    background-image: url("Gemini_Generated_Image_61s9bs61s9bs61s9.png");
    background-size: cover;
    background-repeat: no-repeat;
    color: var(--text);
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    /* This ensures the site never feels "stuck" on the left of your 24" monitor */
}

/* --- Navigation & Brand Protocol --- */

.navContainer {
    display: flex;
    justify-content: space-between; /* THIS PUSHES LOGO LEFT / MENU RIGHT */
    align-items: center;            /* Keeps them level vertically */
    padding: 60px 5%; 
    width: 100%;      
    border-bottom: 1px solid #ffffff0d;
}

/* Ensure the logo stays left-aligned */
.navLogo {
    font-family: 'Fira', sans-serif;
    color: var(--ghost);
    text-transform: uppercase;
    letter-spacing: clamp(0.6rem, 2vw, 1.2rem); 
    font-weight: 900;
    font-size: 2em;
    text-align: left;
}

.mainNav {
    position: relative;
}

.mainNav ul { 
    list-style: none; 
}

#menu-title {
    font-family: 'Fira', sans-serif;
    color: var(--accent); /* #ffa500 */
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
}

/* --- Dropdown Logic --- */
.dropdown {
    position: absolute;
    background: #0a0a0a; /* Darker for high contrast */
    border: 1px solid var(--accent); /* Highlight border */
    padding: 25px;
    display: none;
    right: 0; /* Aligns dropdown to the right edge of the trigger */
    top: 100%;
    z-index: 100;
    min-width: 200px;
}

.menu-trigger {
    position: relative;
    padding: 10px 0;
}

.menu-trigger:hover .dropdown {
    display: block;
}

.dropdown li { 
    margin: 15px 0; 
}

.dropdown a { 
    font-family: 'Fira', sans-serif;
    font-size: 0.85rem;
    color: var(--ghost);
    text-decoration: none;
    letter-spacing: 2px;
    transition: color 0.3s ease;
    display: block;
}

.dropdown a:hover { 
    color: var(--accent); 
}

/* --- Mobile Logic --- */
@media (max-width: 850px) {
    .navContainer {
        flex-direction: row; /* Keep horizontal but reduce padding */
        padding: 30px 5%;
    }
    
    .navLogo { 
        letter-spacing: 0.4rem; 
        font-size: 1rem; 
    }
}

/* --- Dropdown Logic Refinement --- */

.menu-trigger {
    position: relative;
    padding: 10px 0 25px 0; /* Expanded bottom padding to bridge the gap */
    margin-bottom: -15px;    /* Pulls the trigger area down without moving the text */
}

.dropdown {
    position: absolute;
    background: #0a0a0a;
    border: 1px solid var(--accent);
    padding: 25px;
    display: none;
    right: 0;
    top: 45px; /* Fixed offset instead of 100% ensures no pixel-gap */
    z-index: 1000;
    min-width: 250px; /* Slightly wider for the "meaty" text look */
}

/* Ensure the hover state includes the invisible bridge area */
.menu-trigger:hover .dropdown,
.dropdown:hover {
    display: block;
}