/* CSS Variables for easy theme switching */
:root {
    --bg-color: #0b0c10; /* Deep space black/blue */
    --container-bg: #1f2833; /* Dark grey paneling */
    --text-main: #c5c6c7; /* Soft white/grey text */
    --neon-accent: #66fcf1; /* Bright cyan */
    --neon-dark: #45a29e; /* Muted cyan */
}

/* Base Body Settings */
body {
    margin: 0;
    font-family: 'Courier New', Courier, monospace; /* Terminal aesthetic */
    background-color: var(--bg-color);
    color: var(--text-main);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    /* Subtle radial gradient to simulate a glowing screen/core */
    background-image: radial-gradient(circle at 50% 50%, rgba(102, 252, 241, 0.05) 0%, transparent 60%);
}

/* Navigation Bar */
nav {
    background-color: rgba(11, 12, 16, 0.95);
    border-bottom: 2px solid var(--neon-dark);
    padding: 1.2rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 15px rgba(102, 252, 241, 0.1);
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 2.5rem;
}

nav a {
    color: var(--text-main);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: bold;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

nav a:hover {
    color: var(--neon-accent);
    text-shadow: 0 0 10px var(--neon-accent);
}

/* Main Content Layout */
main {
    flex: 1; /* Pushes the footer (if added) to the bottom */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

/* Centered, Scaled Div */
.content-box {
    background-color: var(--container-bg);
    border: 1px solid var(--neon-dark);
    border-radius: 4px;
    padding: 2.5rem;
    width: 90%; /* Scales with window size */
    max-width: 1200px; /* Prevents text from stretching too wide on 4K monitors */
    box-shadow: 0 0 20px rgba(69, 162, 158, 0.15);
    border-left: 5px solid var(--neon-accent); /* Stylized sci-fi edge */
}

/* Typography */
h1, h2 {
    color: var(--neon-accent);
    margin-top: 0;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

p {
    line-height: 1.6;
}

/* Sci-Fi Blinking Status Indicator */
.status-indicator {
    display: inline-block;
    width: 12px;
    height: 12px;
    background-color: var(--neon-accent);
    border-radius: 50%;
    margin-right: 12px;
    box-shadow: 0 0 10px var(--neon-accent);
    animation: pulse 2s infinite;
}

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

/* Responsive Design for Mobile Devices */
@media (max-width: 600px) {
    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .content-box {
        width: 95%;
        padding: 1.5rem;
    }
}

/* Form Container Styles */
form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

/* Label and Input Styling */
label {
    color: var(--neon-accent);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    font-weight: bold;
}

input, textarea, select {
    background-color: var(--bg-color); /* Deep space black */
    border: 1px solid var(--neon-dark);
    color: var(--text-main);
    padding: 0.8rem;
    font-family: 'Courier New', Courier, monospace;
    border-radius: 3px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Glowing effect when typing */
input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--neon-accent);
    box-shadow: 0 0 10px rgba(102, 252, 241, 0.3);
}

/* Sci-Fi Submit Button */
button {
    background-color: transparent;
    color: var(--neon-accent);
    border: 2px solid var(--neon-accent);
    padding: 1rem;
    font-family: 'Courier New', Courier, monospace;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

button:hover {
    background-color: var(--neon-accent);
    color: var(--bg-color);
    box-shadow: 0 0 15px var(--neon-accent);
}

/* Side-by-Side Row Layout */
.form-row {
    display: flex;
    gap: 1.5rem;
}

.form-row .form-group {
    flex: 1; /* Forces both inputs to take up exactly 50% of the row */
}

/* Mobile Responsive Tweak: Stack inputs on smaller screens */
@media (max-width: 600px) {
    .form-row {
        flex-direction: column;
    }
}

/* Forces the dropdown options to share the dark theme */
option {
    background-color: var(--bg-color);
    color: var(--text-main);
}

/* Side-by-Side Layout Container */
.media-row {
    display: flex;
    align-items: flex-start; /* Vertically centers the text and image with each other */
    gap: 2rem; /* Adds a nice gap between the text and the image */
    margin: 2rem 0; /* Adds space above and below the whole block */
}

/* Give the text and image columns their sizing */
.media-text {
    flex: 1.5; /* Takes up slightly more space (60%) */
}

/* Make sure your image still scales properly inside its new column */
.sci-fi-img {
    max-width: 100%;
    height: auto;
    display: block;

    /* Comlink Station Theming */
    border: 1px solid var(--neon-dark);
    border-radius: 3px;
    box-shadow: 0 0 10px rgba(69, 162, 158, 0.15);
    opacity: 0.9;
}

.media-image {
    flex: 1; /* Takes up slightly less space (40%) */
}

/* Mobile Responsive Tweak */
@media (max-width: 768px) {
    .media-row {
        flex-direction: column-reverse; /* Stacks them. "column-reverse" puts the text under the image on mobile */
        text-align: center; /* Optional: Centers text on small screens */
    }
}

.profile-image-container {
    flex: 0 0 auto;
}

.profile-img {
    width: 240px;
    height: 240px;
    object-fit: cover;
    border: 3px solid var(--neon-accent);
    box-shadow: 0 0 20px rgba(102, 252, 241, 0.4);
    flex-shrink: 0;
}

.media-text h3:first-child,
.media-text p:first-child {
    margin-top: 0;
}



