/* =====================
   RESET GLOBAL
===================== */

*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:"Segoe UI",sans-serif;
}

body{
background:#0e1117;
color:#ffffff;
transition:background .3s ease,color .3s ease;
line-height:1.6;
}


/* =====================
   BOTÃO TEMA
===================== */

.theme-toggle{
position:fixed;
top:20px;
right:20px;
background:#3b82f6;
border:none;
color:#fff;
padding:10px;
border-radius:50%;
cursor:pointer;
z-index:1000;
}


/* =====================
   HERO
===================== */

.hero{
background:linear-gradient(180deg,#0b1220 0%,#0d1424 100%);
padding:120px 10% 100px;
text-align:center;
box-shadow:0 20px 40px rgba(0,0,0,.4);
}

.profile-pic{
width:160px;
height:160px;
border-radius:50%;
object-fit:cover;
border:4px solid #3b82f6;
margin-bottom:20px;
}

.hero h1{
font-size:2.5rem;
margin-bottom:6px;
}

.hero p{
color:#9ca3af;
margin:10px 0;
}


/* =====================
   REDES SOCIAIS
===================== */

.social-icons{
margin-top:20px;
}

.social-icons a{
color:#3b82f6;
font-size:2rem;
margin:0 10px;
transition:transform .3s ease;
}

.social-icons a:hover{
transform:scale(1.2);
}


/* =====================
   SOBRE
===================== */

.about{
padding:100px 20%;
text-align:center;
}

.about h2{
font-size:2rem;
margin-bottom:20px;
}

.about-intro{
max-width:720px;
margin:0 auto 50px;
font-size:1.1rem;
color:#9ca3af;
}


/* =====================
   FOCO PROFISSIONAL
===================== */

.profile-focus{
max-width:820px;
margin:0 auto 70px;
text-align:left;
}

.profile-focus h3{
font-size:1.4rem;
margin-bottom:16px;
color:#3b82f6;
}

.profile-focus p{
margin-bottom:14px;
color:#9ca3af;
}


/* =====================
   CARDS SOBRE
===================== */

.about-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:1.5rem;
}

.about-card{
background:#161b22;
padding:28px;
border-radius:14px;
border:1px solid #1f2937;
transition:.3s;
}

.about-card:hover{
transform:translateY(-6px);
box-shadow:0 10px 25px rgba(0,0,0,.25);
}

.about-card i{
font-size:2rem;
color:#3b82f6;
margin-bottom:12px;
}

.about-card p{
font-size:.95rem;
color:#9ca3af;
}


/* =====================
   CTA
===================== */

.about-cta{
margin-top:60px;
}

.about-cta p{
margin-bottom:20px;
color:#9ca3af;
}

.cta-button{
display:inline-block;
padding:12px 26px;
background:#3b82f6;
color:#fff;
border-radius:30px;
text-decoration:none;
font-weight:500;
transition:.3s;
}

.cta-button:hover{
transform:scale(1.05);
opacity:.9;
}


/* =====================
   PROJETOS
===================== */

.projects{
padding:90px 10%;
}

.projects h2{
text-align:center;
margin-bottom:50px;
font-size:2rem;
}

.projects-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
gap:25px;
}

.project-card{
background:#1c2333;
padding:24px;
border-radius:16px;
border:1px solid rgba(255,255,255,0.05);
transition:.3s;
cursor:pointer;
backdrop-filter: blur(10px);
}

.project-card:hover{
transform:translateY(-10px);
box-shadow:0 16px 40px rgba(0,0,0,.25);
}

.project-card h3{
margin-bottom:10px;
}

.project-card p{
font-size:.95rem;
color:#9ca3af;
margin-bottom:10px;
}


/* =====================
   IMAGEM DOS PROJETOS
===================== */

.project-card img{
width:100%;
height:280px;
object-fit:cover;
border-radius:8px;
margin-bottom:14px;
}


/* =====================
   DETALHES DOS PROJETOS
===================== */

.project-details{
margin-top:10px;
padding-left:18px;
font-size:14px;
line-height:1.6;
}

.project-details li{
margin-bottom:5px;
color:#9ca3af;
}


/* =====================
   PROCESSO DE DESIGN
===================== */

.design-process{
margin-top:12px;
font-size:14px;
color:#9ca3af;
}


/* =====================
   FIGMA LINK
===================== */

.figma-card a{
display:inline-block;
margin-top:10px;
color:#3b82f6;
text-decoration:none;
font-size:.9rem;
}

.figma-card a:hover{
text-decoration:underline;
}


/* =====================
   TIMELINE
===================== */

.timeline{
padding:100px 10%;
}

.timeline h2{
text-align:center;
margin-bottom:60px;
}

.timeline-container{
max-width:900px;
margin:0 auto;
display:flex;
flex-direction:column;
gap:30px;
position:relative;
}

.timeline-container::before{
content:"";
position:absolute;
left:20px;
top:0;
bottom:0;
width:2px;
background:#3b82f6;
}

.timeline-card{
position:relative;
padding:25px 25px 25px 60px;
background:#161b22;
border-radius:14px;
border:1px solid #1f2937;
}

.timeline-card::before{
content:"";
position:absolute;
left:14px;
top:28px;
width:14px;
height:14px;
background:#3b82f6;
border-radius:50%;
}

.timeline-year{
font-size:.85rem;
color:#60a5fa;
font-weight:600;
}

.timeline-card p{
color:#9ca3af;
font-size:.95rem;
}


/* =====================
   MODAL
===================== */

.modal{
display:none;
position:fixed;
inset:0;
background:rgba(0,0,0,.7);
align-items:center;
justify-content:center;
z-index:999;
}

.modal-content{
background:#161b22;
padding:30px;
border-radius:12px;
width:90%;
max-width:500px;
}

#close-modal{
float:right;
font-size:1.5rem;
cursor:pointer;
}


/* =====================
   ANIMAÇÕES
===================== */

.reveal{
opacity:0;
transform:translateY(40px);
transition:.8s;
}

.reveal.active{
opacity:1;
transform:translateY(0);
}


/* =====================
   TEMA CLARO
===================== */

body.light{
background:#eef2f7;
color:#111827;
}

body.light .hero{
background:linear-gradient(180deg,#e5e7eb 0%,#f9fafb 100%);
}

body.light p{
color:#4b5563;
}

body.light .about-card,
body.light .project-card,
body.light .timeline-card,
body.light .skills-big-card,
body.light .modal-content{
background:#ffffff;
border:1px solid #e5e7eb;
box-shadow:0 4px 10px rgba(0,0,0,.05);
}

body.light .skills-column li{
color:#374151;
}


/* =====================
   RESPONSIVIDADE
===================== */

@media(max-width:900px){

.about{
padding:80px 10%;
}

.timeline{
padding:80px 10%;
}

}

@media(max-width:768px){

.hero h1{
font-size:2rem;
}

.hero p{
font-size:1rem;
}

.about{
padding:60px 8%;
}

.about h2,
.projects h2,
.timeline h2{
font-size:1.6rem;
}

.about-intro{
font-size:1rem;
}

.project-card h3{
font-size:1.1rem;
}

.timeline-card{
padding:20px 20px 20px 55px;
}

}
.skills{
padding:60px 20px;
text-align:center;
}

.skills-container{
display:flex;
justify-content:center;
gap:40px;
flex-wrap:wrap;
margin-top:30px;
}

.skill-group{
background:var(--card-bg);
padding:20px;
border-radius:10px;
width:200px;
}

.skill-group ul{
list-style:none;
padding:0;
margin-top:10px;
}

.skill-group li{
margin:6px 0;
font-size:14px;
}

.project-buttons {
display:flex;
gap:10px;
margin-top:12px;
}

.project-buttons button,
.project-buttons a {
flex:1;
padding:8px;
border-radius:8px;
border:none;
cursor:pointer;
text-align:center;
font-size:14px;
text-decoration:none;
}

.project-buttons button {
background:#3b82f6;
color:#fff;
}

.project-buttons a {
background:#1f2937;
color:#fff;
}

.close {
float:right;
font-size:22px;
cursor:pointer;
}
.skills-big-card{
display:flex;
justify-content:space-between;
gap:30px;
background:#161b22;
padding:40px;
border-radius:16px;
border:1px solid #1f2937;
max-width:1000px;
margin:40px auto 0;
flex-wrap:wrap;
}

.skills-column{
flex:1;
min-width:200px;
}

.skills-column h3{
color:#3b82f6;
margin-bottom:10px;
}

.skills-column ul{
list-style:none;
padding:0;
}

.skills-column li{
margin:6px 0;
color:#9ca3af;
font-size:14px;
}

.skills-big-card:hover{
transform:translateY(-6px);
box-shadow:0 12px 30px rgba(0,0,0,.3);
transition:.3s;
}
