/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;700;900&display=swap');

:root {
    /* Nevada Desert Theme */
    --bg-color: #1a1a1a;
    --text-color: #e0e0e0;
    --accent-primary: #d2b48c;
    /* Desert Tan */
    --accent-secondary: #8a9a5b;
    /* Sage Green */
    --glass-bg: rgba(40, 40, 40, 0.85);
    --glass-border: rgba(138, 154, 91, 0.3);
}

body,
html {
    height: 100%;
    margin: 0;
    font-family: 'Inter', sans-serif;
    /* background-color: var(--bg-color);  Removed to show bg image */
    color: var(--text-color);
    scroll-behavior: smooth;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    letter-spacing: -0.5px;
    text-transform: none;
}

/* Background Image */
.star-field {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    /* Sage/Sand tinted overlay */
    background: linear-gradient(rgba(26, 26, 26, 0.85), rgba(47, 53, 40, 0.8)), url('../img/bg-factory-desert.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.star {
    display: none;
}

/* Navbar */
.navbar {
    background-color: rgba(26, 26, 26, 0.95) !important;
    border-bottom: 2px solid var(--accent-secondary);
    backdrop-filter: blur(5px);
}

.navbar-brand {
    color: var(--accent-primary) !important;
    font-weight: 700;
    font-size: 1.5rem;
}

.navbar-brand small {
    font-family: 'Inter', sans-serif;
    color: #a0a0a0;
    font-size: 0.8rem;
    letter-spacing: normal;
}

.nav-link {
    color: var(--text-color) !important;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-primary) !important;
    border-bottom: 2px solid var(--accent-secondary);
}

/* Hero Section */
header.masthead {
    position: relative;
    padding-top: 150px;
    padding-bottom: 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

.hero-content {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 3rem;
    border-radius: 15px;
    /* Rounded corners */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.hero-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--accent-secondary), var(--accent-primary));
}

h2.page-section-heading {
    color: var(--accent-primary) !important;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.lead {
    font-size: 1.25rem;
    line-height: 1.8;
}

/* Content Sections */
.section-title {
    color: var(--accent-primary);
    margin-bottom: 20px;
    border-bottom: 1px solid var(--accent-secondary);
    display: inline-block;
    padding-bottom: 5px;
}

/* Text Colors */
.text-cyan {
    color: var(--accent-secondary);
}

/* Re-mapped for list bullets */

.robot-card {
    background: rgba(30, 30, 30, 0.9);
    border: 1px solid var(--glass-border);
    padding: 20px;
    height: 100%;
    /* Ensure equal height in flex row */
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-radius: 15px;
    /* Rounded corners */
}

.robot-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    border-color: var(--accent-primary);
}

/* Footer */
footer {
    background-color: #111 !important;
    border-top: 1px solid #333;
    color: #999;
}

footer a {
    color: var(--accent-primary);
}

footer a:hover {
    color: var(--accent-secondary);
    text-decoration: none;
}

.bg-image {
    background-image: none !important;
    height: auto !important;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    header.masthead {
        padding-top: 100px;
        padding-bottom: 50px;
        min-height: auto;
    }

    .hero-content {
        padding: 1.5rem;
    }

    h2.page-section-heading {
        font-size: 1.75rem;
    }

    .lead {
        font-size: 1rem;
    }

    .robot-card {
        margin-bottom: 15px;
    }

    .navbar-brand {
        font-size: 1.25rem;
    }
}