/* --- Variables & Reset --- */
:root {
    --bg-color: #0a0a0a;
    --card-bg: #111111;
    --text-color: #e0e0e0;
    --accent-green: #3DDC84; /* Android Green */
    --accent-glow: rgba(61, 220, 132, 0.4);
    --font-header: 'Orbitron', sans-serif;
    --font-body: 'Roboto Mono', monospace;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

/* --- Navigation --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background: rgba(10, 10, 10, 0.9);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #222;
}

.logo {
    font-family: var(--font-header);
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.highlight { color: var(--accent-green); text-shadow: 0 0 10px var(--accent-glow); }

.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a:hover { color: var(--accent-green); }

.btn-outline {
    border: 1px solid var(--accent-green);
    padding: 8px 20px;
    border-radius: 4px;
    color: var(--accent-green);
}
/* --- Fixes Contact Button Hover Visibility (HIGH SPECIFICITY) --- */
.nav-links a.btn-outline:hover {
    background: var(--accent-green);
    /* This increased specificity forces the text color change */
    color: #000000; 
    box-shadow: 0 0 15px var(--accent-glow);
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    position: relative;
    /* Grid Background Effect */
    background-image: 
        linear-gradient(rgba(61, 220, 132, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(61, 220, 132, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
}

.hero h1 {
    font-family: var(--font-header);
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.typing-container {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #888;
}

#typewriter { color: var(--accent-green); }

.cursor {
    animation: blink 1s infinite;
    color: var(--accent-green);
    font-weight: bold;
}

@keyframes blink { 50% { opacity: 0; } }

.btn-main {
    background: var(--accent-green);
    color: var(--bg-color);
    padding: 15px 40px;
    font-weight: bold;
    font-family: var(--font-header);
    border: none;
    border-radius: 2px;
    letter-spacing: 1px;
}
.btn-main:hover {
    box-shadow: 0 0 20px var(--accent-glow);
    transform: translateY(-2px);
}

/* --- Sections --- */
.container {
    padding: 80px 10%;
}
.bg-darker { background-color: #050505; }

.section-title {
    font-family: var(--font-header);
    color: var(--accent-green);
    margin-bottom: 50px;
    font-size: 2rem;
    border-left: 4px solid var(--accent-green);
    padding-left: 15px;
}

/* --- Cards --- */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: var(--card-bg);
    padding: 40px;
    border: 1px solid #222;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 2px;
    background: var(--accent-green);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.8);
    border-color: #333;
}

.card:hover::before { transform: scaleX(1); }

.card-icon {
    font-size: 2.5rem;
    color: var(--accent-green);
    margin-bottom: 20px;
}

.card h3 {
    font-family: var(--font-header);
    margin-bottom: 15px;
}

/* --- Footer --- */
footer {
    padding: 40px;
    text-align: center;
    border-top: 1px solid #222;
    background: #000;
}

.socials { margin-top: 20px; }
.socials a { margin: 0 10px; font-size: 1.5rem; color: #555; }
.socials a:hover { color: var(--accent-green); }

/* --- Mobile --- */
@media (max-width: 768px) {
    .hero h1 { font-size: 2rem; }
    .nav-links { display: none; } /* Simplified for demo */
}

/* --- WIP Message --- */
.wip-message {
    position: absolute;
    bottom: 15%; /* Adjusts how far up from the bottom it sits */
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: #666; /* Dimmed text so it doesn't distract from the button */
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: pulse 3s infinite ease-in-out;
}

.wip-message .status-line {
    /* Ensures the status line starts on a new line */
    display: block; 
    
    /* This creates the vertical space (the two "newlines" worth of gap) */
    margin-top: 15px; 
    
    /* Optional: Makes it look a bit more like a console line */
    opacity: 0.7; 
}

/* Optional: Subtle breathing animation */
@keyframes pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; color: var(--accent-green); }
}

/* --- Fix for Clickable Logo Link --- */
.logo a {
    /* Removes the default link underline */
    text-decoration: none; 
    /* Inherits color from the parent .logo div */
    color: inherit; 
}