/* Colors
    #00004d - Background (Deep Blue)
    #000027 - Bubbles/Floating Elements Background (Darker Blue)
    #e30b21 - Titles (Red)
    #ffffff - Normal Text
    #ffde59 - Highlights (Yellow)
 */

:root {
    --bg-color: #00004d;
    --card-bg: #000027;
    --primary-red: #e30b21;
    --text-white: #ffffff;
    --highlight-yellow: #ffde59;
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Roboto Mono', monospace;
}

body {
    background-color: var(--bg-color);
    color: var(--text-white);
    font-family: var(--font-body);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    /* Adding a subtle grid background for industrial feel */
    background-image:
        linear-gradient(rgba(0, 0, 77, 0.9), rgba(0, 0, 77, 0.9)),
        linear-gradient(var(--highlight-yellow) 1px, transparent 1px),
        linear-gradient(90deg, var(--highlight-yellow) 1px, transparent 1px);
    background-size: 100% 100%, 50px 50px, 50px 50px;
}

/* Header & Nav */
header {
    background-color: rgba(0, 0, 39, 0.95);
    border-bottom: 3px solid var(--primary-red);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.team-logo {
    height: 60px;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.3));
}

.brand {
    display: flex;
    flex-direction: column;
}

.team-name {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    letter-spacing: 2px;
    font-weight: 700;
}

.team-number {
    color: var(--primary-red);
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 3px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-white);
    text-decoration: none;
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--highlight-yellow);
    text-shadow: 0 0 8px var(--highlight-yellow);
}

.home-link {
    text-decoration: none;
    color: inherit;
}

/* Hero Section */
.hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5rem 10%;
    min-height: 60vh;
}

.hero-text h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-text .highlight {
    color: var(--primary-red);
    text-shadow: 2px 2px 0 #000;
}

.hero-text p {
    font-size: 1.1rem;
    max-width: 500px;
    margin-bottom: 30px;
    color: #cccccc;
}

.btn-primary {
    display: inline-block;
    padding: 12px 30px;
    background: transparent;
    border: 2px solid var(--highlight-yellow);
    color: var(--highlight-yellow);
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.btn-primary:hover {
    background: var(--highlight-yellow);
    color: #000;
    box-shadow: 0 0 20px var(--highlight-yellow);
}

.hero-visual {
    position: relative;
    max-width: 45%;
}

.robot-img {
    width: 100%;
    max-width: 500px;
    /* Adding a techno-holographic effect */
    filter: drop-shadow(0 0 10px rgba(0, 191, 255, 0.3));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* Info Grid / Cards */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    padding: 4rem 10%;
}

.info-card {
    background-color: var(--card-bg);
    border: 1px solid #444;
    padding: 2rem;
    position: relative;
    border-left: 5px solid var(--primary-red);
    /* Industrial cut corners */
    clip-path: polygon(
        0 0,
        100% 0,
        100% calc(100% - 20px),
        calc(100% - 20px) 100%,
        0 100%
    );
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border-left-color: var(--highlight-yellow);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
}

.info-card h2 {
    font-family: var(--font-heading);
    color: var(--text-white);
    margin: 0;
    font-size: 1.5rem;
}

.status-indicator {
    width: 12px;
    height: 12px;
    background-color: var(--highlight-yellow);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--highlight-yellow);
    animation: blink 2s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.highlight {
    color: var(--highlight-yellow);
    font-weight: 700;
}

.mono-text {
    font-size: 0.9rem;
    color: #888;
    background: rgba(0,0,0,0.3);
    padding: 5px;
    display: inline-block;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    background-color: #000;
    border-top: 2px solid var(--primary-red);
    font-family: var(--font-heading);
    font-size: 0.8rem;
    color: #888;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-section {
        flex-direction: column-reverse;
        text-align: center;
        padding: 2rem 5%;
    }

    .hero-visual {
        max-width: 100%;
        margin-bottom: 2rem;
    }

    .hero-text {
        width: 100%;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }
}
