:root {
    --bg: #0f1220;
    --bg-light: #181c35;
    --text: #eaeaf0;
    --muted: #a0a3c4;
    --accent: #6cf2c2;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

/* ===== NAVIGATION ===== */
header {
    position: sticky;
    top: 0;
    background: rgba(15, 18, 32, 0.9);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid #22254a;
    z-index: 10;
}

nav {
    max-width: 1100px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

nav ul {
    display: flex;
    gap: 1.5rem;
    list-style: none;
}

nav a {
    color: #39B8F8;
    text-decoration: none;
    font-weight: 500;
}

nav a:hover {
    color: #1f6487;
}

/* ===== SECTIONS ===== */
section {
    max-width: 1100px;
    margin: auto;
    padding: 4rem 2rem;
}

h1, h2, h3 {
    margin-bottom: 1rem;
    color: #39B8F8;
}

p {
    color: white;
    max-width: 750px;
}

/* ===== HERO ===== */
.hero {
    padding-top: 5rem;
}

.hero h1 {
    font-size: 2.5rem;
}

/* ===== PROJETS ===== */
.projects-grid {
    display: table-row;
    grid-template-rows: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 20px;
}

.project-card {
    background: var(--bg-light);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    width: 752px;
}

.project-card h3 {
    color: var(--accent);
}

.project-links a {
    margin-right: 1rem;
    color: var(--text);
    text-decoration: underline;
    font-size: 0.9rem;
}

/* ===== FOOTER ===== */
footer {
    text-align: center;
    padding: 2rem;
    color: var(--muted);
    border-top: 1px solid #22254a;
}

.skills-list {
list-style: none;
margin-top: 2rem;
display: grid;
gap: 1.5rem;
}

.skills-list li {
background: var(--bg-light);
padding: 1.25rem 1.5rem;
border-radius: 14px;
box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

.skills-list strong {
color: var(--accent);
font-weight: 600;
}

.year-badge {
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: rgba(145, 142, 142, 0.08);
  color: rgb(184, 181, 181);
  width: max-content;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.gallery img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 14px;
  background: #000;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery img:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 30px rgba(0,0,0,0.4);
}

.section-divider {
  border: 0;
  height: 2px;
  background-color: #1c1c83;
  margin: 3rem 0;
  width: 95%;
  margin-left: auto;
  margin-right: auto;
}

.link {
    color: #39B8F8;
}

.link:hover {
    color: #1f6487;
}
