
:root {
  --bg-main: #294159;
  --bg-dark: #121212;
  --text-main: #E7EEF3;
  --text-soft: #CAD3DA;
  --accent: #8DB6B9;
  --accent-strong: #4A5C70;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
}

a {
  color: var(--accent);
  text-decoration: none;
}

section {
  padding: 100px 10%;
}

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
}

.hero h1 {
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 20px;
  color: var(--accent);
}

.hero h2 {
  font-size: 84px;
  font-weight: 500;
  text-transform: uppercase;
  text-shadow: 0 20px 25px rgba(0,0,0,0.6);
}

/* TITULOS DE SECCION */
.section-title {
  font-size: 42px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 40px;
  text-shadow: 0 20px 25px rgba(0,0,0,0.4);
}

/* ABOUT */
.about p {
  max-width: 800px;
  font-size: 20px;
  color: var(--text-soft);
}

/* PROJECTS */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.project-card {
  background-color: var(--bg-dark);
  padding: 24px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.project-image {
width: 100%;
height: 170px;
object-fit: cover;
border-radius: 6px;
}

.project-card h3 {
  font-size: 20px;
  color: var(--text-main);
}

.project-card p {
  font-size: 16px;
  color: var(--text-soft);
}

/* HERO FOTO */
.hero-content {
display: flex;
align-items: center;
justify-content: space-between;
gap: 40px;
}

.hero-photo img {
width: 260px;
height: 260px;
}

/* BOTON CV */
    .btn-cv {
      display: inline-block;
      margin-top: 18px;
      padding: 10px 18px;
      border-radius: 6px;
      background-color: var(--accent);
      color: #121212;
      font-size: 14px;
      font-weight: 500;
      text-decoration: none;
      transition: transform 0.2s ease, opacity 0.2s ease;
    }

    .btn-cv:hover {
      transform: translateY(-2px);
      opacity: 0.9;
    }

/* SKILLS */
.skills-wrapper {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 40px;
}


.hard-skills li {
display: flex;
align-items: center;
gap: 12px;
margin-bottom: 14px;
color: var(--text-soft);
font-size: 16px;
}


.hard-skills img {
width: 22px;
height: 22px;
opacity: 0.9;
}


.soft-skills li {
margin-bottom: 12px;
color: var(--text-soft);
font-size: 16px;
}

/* CONTACT */
.contact {
  background-color: var(--bg-dark);
  text-align: center;
}

.contact p {
  margin-bottom: 16px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  section {
    padding: 80px 6%;
  }

  .hero-content {
    flex-direction: column;
    text-align: center;
  }

  .hero h2 {
    font-size: 56px;
  }

  .hero-photo img {
  width: 200px;
  height: 200px;
  }
  
  .section-title {
    font-size: 32px;
  }
}
