/* ========================================================= */
/*   GLOBAL THEME                                             */
/* ========================================================= */

:root {
    --accent: #2ecc71; /* CORNERIAN GREEN */
    --text-light: #ffffff;
    --text-dim: #888;
}

body {
    margin: 0;
    font-family: 'Rajdhani', sans-serif;
}

/* ========================================================= */
/*   NAVBAR                                                   */
/* ========================================================= */

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: #000;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    z-index: 9999;
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 18px 20px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 40px;
    margin: 0;
    padding: 0;
}

.nav-links a,
.active-fleet {
    color: #888;
    text-decoration: none;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 2px;
    font-size: 0.9rem;
}

.active-fleet {
    color: #fff;
}

/* ========================================================= */
/*   PAGE LAYOUT                                              */
/* ========================================================= */

.fleet-page {
    background: #000;
    min-height: 100vh;
}

.fleet-layout {
    display: flex;
    height: calc(100vh - 70px);
    padding-top: 70px;
}

/* ========================================================= */
/*   SIDEBAR                                                  */
/* ========================================================= */

.ship-sidebar {
    width: 380px;
    background: rgba(0,0,0,0.92);
    border-right: 3px solid var(--accent);
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.sidebar-header h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    color: var(--accent);
    letter-spacing: 2px;
    border-bottom: 1px solid var(--accent);
    padding-bottom: 15px;
    margin-bottom: 30px;
}

/* ========================================================= */
/*   SHIP BUTTONS                                             */
/* ========================================================= */

.ship-btn {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--text-dim);
    padding: 18px 16px;
    margin-bottom: 10px;
    text-align: left;
    cursor: pointer;
    transition: 0.25s ease;
    border-radius: 4px;
}

.ship-btn .btn-text {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.ship-btn:hover {
    background: rgba(46,204,113,0.15);
    border-color: var(--accent);
    color: var(--text-light);
}

.ship-btn.active {
    background: rgba(46,204,113,0.25);
    border-color: var(--accent);
    color: var(--text-light);
    box-shadow: 0 0 12px rgba(46,204,113,0.3);
}

/* ========================================================= */
/*   VIEWER SECTION                                           */
/* ========================================================= */

.viewer-section {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;

    background: radial-gradient(circle at center,
        #0e1117 0%,
        #000 100%
    );
}

#main-display {
    width: 100%;
    height: 100%;
    outline: none;
}

/* ========================================================= */
/*   DESCRIPTION BOX                                          */
/* ========================================================= */

.ship-description-box {
    position: absolute;
    bottom: 60px;
    right: 60px;
    text-align: right;
    pointer-events: none;
    z-index: 20;
}

.ship-description-box h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.2rem;
    margin: 0;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 5px;
    text-shadow: 0 0 20px var(--accent);
}

.ship-description-box p {
    font-size: 1.2rem;
    color: var(--accent);
    max-width: 500px;
    margin-top: 10px;
    line-height: 1.3;
}

/* ========================================================= */
/*   BACK BUTTON                                              */
/* ========================================================= */

.back-btn {
    margin-top: auto;
    color: #555;
    text-decoration: none;
    font-size: 1rem;
    text-align: center;
    padding-top: 20px;
    transition: 0.25s ease;
}

.back-btn:hover {
    color: var(--accent);
}
