/* --------------------
   CONFIGURAÇÕES GERAIS 
   -------------------- */
:root {
    --bg: #0a0a0a;
    --dark-grey: #1a1a1a;
    --amber: #ff8c00; 
    --text-high: #e0e0e0;
    --text-low: #888;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg);
    background-image: 
        linear-gradient(rgba(255, 140, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 140, 0, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    color: var(--text-high);
    margin: 0;
    padding: 0;
    padding-top: 70px;
    line-height: 1.6;
}

/* --------------------
   NAV
  --------------------- */
.nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-low);
    font-family: 'Space Mono', monospace;
    font-size: 0.85rem;
    text-transform: uppercase;
    transition: 0.3s;
}

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

/* --------------------
   HEADER / INTRO
   -------------------- */
.chill-header {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to bottom, rgba(17, 17, 17, 0.8), var(--bg));
    padding: 0 5%;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1100px;
    width: 100%;
    gap: 40px;
}

.intro { flex: 1; text-align: left; }

.greeting { font-family: 'Space Mono', monospace; color: var(--amber); }

h1 { font-size: 4rem; margin: 10px 0; font-weight: 700; letter-spacing: -1px; }

.intro p { max-width: 500px; font-size: 1.2rem; color: var(--text-low); }

.intro p span { color: var(--text-high); border-bottom: 2px solid var(--amber); }

.header-cta { margin-top: 30px; display: flex; align-items: center; gap: 30px; }

/* Foto de Perfil */
.profile-photo { flex: 0 0 300px; }

.profile-photo img {
    width: 300px;
    height: 300px;
    object-fit: cover; 
    border-radius: 50%; 
    border: 4px solid var(--dark-grey);
    box-shadow: 0 0 20px rgba(255, 140, 0, 0.2);
    transition: 0.3s;
}

.profile-photo img:hover {
    border-color: var(--amber);
    transform: rotate(2deg) scale(1.02);
}

/* Botões e Socials */
.cv-btn { 
    background: var(--amber); color: black; padding: 12px 24px; 
    text-decoration: none; border-radius: 50px; font-weight: bold; transition: 0.3s;
}

.cv-btn:hover { transform: scale(1.05); box-shadow: 0 0 15px rgba(255, 140, 0, 0.4); }

.socials { display: flex; gap: 20px; font-size: 1.5rem; }

.socials a { color: var(--text-low); transition: 0.3s; text-decoration: none; }

.socials a:hover { color: var(--amber); transform: translateY(-3px); }

/* --------------------
   ESTRUTURA DE SECÇÕES E TÍTULOS
   -------------------- */
.content-section { 
    max-width: 1100px; 
    margin: 40px auto; 
    padding: 0 5%; 
}

.main-section-title {
    font-size: 3.5rem;
    color: var(--text-high);
    margin-top: 10px;
    margin-bottom: 5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -2px;
}

.minimal-title {
    font-size: 1.1rem;
    margin-top: 0;
    margin-bottom: 30px;
    color: var(--amber);
    font-weight: 400;
    font-family: 'Space Mono', monospace;
}

.divider {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, var(--amber) 0%, transparent 100%);
    width: 100%;
    max-width: 1100px;
    margin: 20px auto; 
    opacity: 0.3;
}

/* --------------------
   PROJETOS
   -------------------- */
.project-row { 
    display: flex; align-items: center; gap: 50px; margin-bottom: 80px; 
}

.project-row.reverse { flex-direction: row-reverse; }

.project-media { 
    flex: 1.5; 
    background: var(--dark-grey); 
    border-radius: 12px; 
    overflow: hidden; 
    line-height: 0; 
}

.project-media img, .project-media video { 
    width: 100%; 
    height: auto; 
    display: block;
    object-fit: cover;
    opacity: 0.8; 
    transition: 0.5s; 
    border-radius: 12px;
}

.project-media:hover img, .project-media:hover video { 
    opacity: 1; 
    transform: scale(1.02);
}

.project-info { flex: 1; }

.project-info h3 { font-size: 2rem; margin-bottom: 15px; color: var(--amber); }

.project-info p { color: var(--text-low); margin-bottom: 25px; }

.project-btn { 
    color: var(--text-high); text-decoration: none; font-weight: bold; 
    border-bottom: 2px solid var(--amber); padding-bottom: 5px; 
}

/* --------------------
   EDUCAÇÃO
   -------------------- */
.edu-card { background: var(--dark-grey); padding: 30px; border-radius: 15px; }

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

.edu-main h3 { font-size: 1.5rem; color: var(--amber); margin-bottom: 10px; }

.year { font-family: 'Space Mono', monospace; color: var(--amber); }

/* -------------------- 
   FOOTER E RESPONSIVIDADE
   -------------------- */
footer { text-align: center; padding: 80px 0; color: #444; font-size: 0.8rem; }

@media (max-width: 850px) {
    .header-container { flex-direction: column-reverse; text-align: center; }
    .intro { text-align: center; }
    .profile-photo img { width: 200px; height: 200px; }
    .header-cta { justify-content: center; flex-direction: column; gap: 15px; }
    .project-row, .project-row.reverse { flex-direction: column; text-align: center; }
    h1 { font-size: 2.5rem; }
    .main-section-title { font-size: 2.5rem; }
}