:root {
    --bg-color: #0d0d0d;
    --card-bg: #1a1a1a;
    --primary: #FFD700; 
    --text-main: #f0f0f0;
    --text-secondary: #999999;
    --accent: #222222;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.5;
    overflow-x: hidden;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

span.highlight {
    color: var(--primary);
}

.btn {
    display: inline-block;
    background: var(--primary);
    color: #000;
    padding: 12px 28px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--text-main);
    border: 1px solid #333;
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* Navbar */
nav {
    padding: 40px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav .logo {
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

nav .nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}
nav .nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
}

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

/* Hero */
header.hero {
    padding: 60px 0 100px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.hero-content {
    flex: 1;
}

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

.hero-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
    border: 1px solid #333;
}

.hero-image-container:hover img {
    filter: grayscale(0%);
}

header.hero h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #fff;
}

header.hero p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 40px;
}

/* Skills/Stack */
.stack-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 12px;
    display: block;
    letter-spacing: 1.5px;
    font-weight: 700;
}

.stack-icons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.stack-item {
    background: transparent;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    border: 1px solid #222;
    color: var(--text-secondary);
}

/* Projetos */
.projects {
    padding: 80px 0;
    border-top: 1px solid #1a1a1a;
}

.section-header {
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 40px;
}

.project-card {
    background: var(--card-bg);
    border: 1px solid #222;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color 0.3s;
}

.project-card:hover {
    border-color: #444;
}

.project-visual {
    height: 220px;
    background: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.project-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
}

.status-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary);
    color: #000;
    padding: 4px 12px;
    font-size: 0.7rem;
    font-weight: 800;
    border-radius: 20px;
    text-transform: uppercase;
}

.project-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project-type {
    font-size: 0.7rem;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.project-content h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: #fff;
}

.project-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 24px;
    flex: 1;
}

.project-footer {
    display: flex;
    gap: 15px;
    margin-top: auto;
}

.tech-stack {
    font-size: 0.75rem;
    color: #666;
    margin-top: 20px;
    font-weight: 600;
}

/* Sobre */
.about-section {
    padding: 100px 0;
    background: #090909;
    border-top: 1px solid #1a1a1a;
}

.about-content {
    max-width: 800px;
}

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

/* Contact Section */
.contact-cta {
    padding: 100px 0;
    text-align: center;
    border-top: 1px solid #1a1a1a;
}

footer {
    padding: 40px 0;
    border-top: 1px solid #1a1a1a;
    text-align: center;
    color: #444;
    font-size: 0.8rem;
}

@media (max-width: 850px) {
    header.hero {
        flex-direction: column-reverse;
        text-align: center;
        padding-top: 20px;
    }
    .hero-image-container {
        flex: 0 0 220px;
        height: 220px;
    }
    .project-grid {
        grid-template-columns: 1fr;
    }
    header.hero h1 {
        font-size: 2.2rem;
    }
}