@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700;800&family=Roboto+Mono:wght@400;500&display=swap');

:root {
    --bg-dark: #111111;
    --bg-light: #ffffff;
    --bg-offwhite: #f5f5f5;
    --text-dark: #222222;
    --text-light: #ffffff;
    --text-muted: #666666;
    --accent: #FFCC00;
    --font-main: 'Montserrat', sans-serif;
    --font-mono: 'Roboto Mono', monospace;
    --border-color: #e0e0e0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 1px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

/* Navigation - Sticky White */
.navbar {
    position: fixed;
    top: 0; 
    width: 100%;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 100;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.nav-brand img {
    height: 40px;
    width: auto;
    filter: invert(1); /* Invert white logo to black for the light header */
}

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

.nav-links a {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-dark);
}

.nav-links a:hover {
    color: var(--accent);
}

/* Sections */
.section {
    padding: 100px 5%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--text-dark);
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--accent);
}

/* Hero Section */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(17, 17, 17, 0.7), rgba(17, 17, 17, 0.8)), url('hero_bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--text-light);
    margin-top: 0;
    padding-top: 0;
}

.hero-content {
    max-width: 900px;
    padding: 0 20px;
}

.hero-title {
    font-size: 5rem;
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 3px;
    color: var(--accent);
    margin-bottom: 2rem;
}

.hero-desc {
    font-size: 1.1rem;
    font-family: var(--font-mono);
    max-width: 600px;
    margin: 0 auto 3rem auto;
    color: #cccccc;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--accent);
    color: #000;
}

.btn-primary:hover {
    background-color: #000;
    color: var(--accent);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--bg-light);
    color: var(--bg-light);
    margin-left: 1rem;
}

.btn-outline:hover {
    background-color: var(--bg-light);
    color: var(--bg-dark);
}

/* About Section */
.about-section {
    background-color: var(--bg-light);
}

.about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.about-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.skill-tag {
    font-family: var(--font-mono);
    background: var(--bg-offwhite);
    border: 1px solid var(--border-color);
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    color: var(--text-dark);
    font-weight: 500;
    transition: all 0.2s ease;
}

.skill-tag:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* Projects Section (Product Cards) */
.projects-section {
    background-color: var(--bg-offwhite);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.project-card {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.project-image {
    height: 220px;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-color: var(--bg-dark); /* Fallback */
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.version-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent);
    color: #000;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 8px;
}

.project-info {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-info h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.project-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.card-actions {
    margin-top: auto;
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-link {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-dark);
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
}

.card-link::after {
    content: '→';
    margin-left: 5px;
    transition: transform 0.2s;
}

.card-link:hover {
    color: var(--accent);
}

.card-link:hover::after {
    transform: translateX(5px);
}

/* Contact Section */
.contact-section {
    background-color: var(--bg-dark);
    color: var(--text-light);
    text-align: center;
}

.contact-section .section-title {
    color: var(--text-light);
}

.contact-content p {
    font-size: 1.2rem;
    color: #aaa;
    margin-bottom: 2.5rem;
}

.social-links {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.social-links a {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
}

.social-links a:hover {
    color: var(--accent);
}

/* Footer */
footer {
    background-color: #0a0a0a;
    text-align: center;
    padding: 2rem;
    color: #555;
    font-family: var(--font-mono);
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title { font-size: 3rem; }
    .hero-subtitle { font-size: 1.2rem; }
    .nav-links { display: none; }
}
