/* 
 * DevPortfolio - Vanilla Static
 * Design: Dark Mode, Minimal, Accessible
 */

:root {
    --bg-color: #0a192f;
    --surface-color: #112240;
    --primary-color: #64ffda;
    --text-primary: #ccd6f6;
    --text-secondary: #8892b0;
    --font-heading: 'Inter', system-ui, -apple-system, sans-serif;
    --font-body: 'Roboto', system-ui, -apple-system, sans-serif;
    --font-mono: 'Fira Code', monospace;
    --transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
    --container-width: 1200px;
}

/* Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    margin-bottom: 20px;
}

h1 {
    font-size: clamp(40px, 8vw, 80px);
    line-height: 1.1;
}

h2 {
    font-size: 2rem;
    color: var(--primary-color);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    text-decoration: underline;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.site-header {
    padding: 20px 0;
    position: sticky;
    top: 0;
    background: rgba(10, 25, 47, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(100, 255, 218, 0.1);
}

.nav-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-mono);
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    color: var(--text-primary);
    font-family: var(--font-mono);
    font-size: 14px;
}

.nav-links a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

/* Hero */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding: 80px 0;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.hero-text {
    flex: 1;
}

.hero-image {
    flex: 0 0 300px;
    position: relative;
}

.profile-img {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 4px;
    /* Minimal/Modern look */
    border: 2px solid var(--primary-color);
    box-shadow: 15px 15px 0px 0px rgba(100, 255, 218, 0.2);
    /* Offset shadow effect */
    transition: var(--transition);
}

.profile-img:hover {
    box-shadow: 10px 10px 0px 0px rgba(100, 255, 218, 0.4);
    transform: translate(-5px, -5px);
}

@media (max-width: 768px) {
    .hero-content {
        flex-direction: column-reverse;
        text-align: center;
    }

    .hero-image {
        margin-bottom: 30px;
    }
}

.hero-btn {
    display: inline-block;
    padding: 14px 28px;
    border: 1px solid var(--primary-color);
    border-radius: 4px;
    color: var(--primary-color);
    font-family: var(--font-mono);
    margin-top: 30px;
}

.hero-btn:hover {
    background: rgba(100, 255, 218, 0.1);
    text-decoration: none;
}

/* Carousel / Projects */
.carousel-section {
    padding: 80px 0;
}

.carousel-container {
    display: flex;
    overflow-x: auto;
    gap: 30px;
    padding: 20px 0;
    scroll-snap-type: x mandatory;
}

.project-card {
    min-width: 300px;
    background: var(--surface-color);
    border-radius: 8px;
    padding: 20px;
    scroll-snap-align: center;
    border: 1px solid transparent;
    transition: transform 0.2s;
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.tech-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--primary-color);
    margin-right: 10px;
}

/* Contact Form */
.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-family: var(--font-mono);
    font-size: 14px;
}

input,
textarea {
    width: 100%;
    padding: 12px;
    background: var(--surface-color);
    border: 1px solid var(--text-secondary);
    color: var(--text-primary);
    border-radius: 4px;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 40px;
}