/* -------- RESET -------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* -------- BASE -------- */
body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #1A1E2D; /* Navy profundo */
  color: #F2E9DC; /* Beige cálido */
  line-height: 1.6;
  padding: 20px;
}

a {
  color: #FFD07B; /* Ámbar suave */
  text-decoration: none;
}

a:hover {
  color: #F2E9DC; /* Beige cálido */
  text-decoration: underline;
}

/* -------- HEADER / HERO -------- */
.hero {
  /*background: linear-gradient(135deg, #C4B7D4, #1A1E2D); /* Lavanda grisácea a Navy profundo */
  background-color: #252A42;
  box-shadow: 0 0 30px 5px rgba(255, 208, 123, 0.3); /* ámbar suave */
  text-align: center;
  padding: 60px 20px 40px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(15,15,25,0.7);
  margin-bottom: 40px;
}

.logo {
  width: 100%;
  max-width: 400px;
  height: auto;
  margin-bottom: 10px;
}


.hero h1 {
  font-size: 0.1em;
  color: #252A42;
  /* color: #FFD07B; /* Ámbar suave */
}

.tagline {
  font-size: 1.2em;
  color: #F2E9DC; /* Beige cálido */
  font-style: italic;
  margin-top: 10px;
}

/* -------- SECTIONS -------- */
section {
  max-width: 960px;
  margin: 0 auto 60px;
  padding: 0 20px;
}

section h2 {
  font-size: 2em;
  margin-bottom: 20px;
  color: #FFD07B; /* Ámbar suave */
  border-bottom: 2px solid #C4B7D4; /* Lavanda grisácea */
  display: inline-block;
}

/* -------- ABOUT -------- */
.about p {
  margin-bottom: 15px;
  font-size: 1.1em;
  color: #F2E9DC; /* Beige cálido */
}

/* -------- PROJECTS -------- */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 20px;
}

.project-card {
  background-color: #6B6588; /* Lavanda oscuro */
  padding: 16px;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(255, 208, 123, 0.6);
  text-align: center;
  transition: transform 0.2s ease;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(255, 208, 123, 0.6); /* Ámbar suave sombra */
}

.project-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 12px;
}

.project-card h3 {
  color: #FFD07B; /* Ámbar suave - para que destaque bien */
  margin-bottom: 6px;
}

.project-card p {
  font-size: 0.95em;
  color: #F2E9DC; /* Beige cálido */
}

.project-card a {
  display: inline-block;
  margin-top: 10px;
  color: #FFD07B; /* Ámbar suave */
  font-weight: bold;
}

.wip {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.85em;
  background: #FFD07B; /* Ámbar suave */
  color: #1A1E2D; /* Navy profundo */
  padding: 3px 8px;
  border-radius: 8px;
}

/* -------- DEVLOG -------- */
.devlog p {
  font-style: italic;
  color: #C4B7D4; /* Lavanda grisácea */
}

/* -------- FOOTER -------- */
footer {
  text-align: center;
  font-size: 0.9em;
  color: #C4B7D4; /* Lavanda grisácea */
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #FFD07B; /* Ámbar suave */
}

/* -------- SOCIAL -------- */
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 10px;
  font-size: 1.1rem;
}

.social-links a {
  color: #FFD07B; /* Ámbar suave */
  text-decoration: none;
  transition: color 0.3s ease;
  position: relative;
}

.social-links a i {
  margin-right: 6px;
}

.social-links a:hover {
  color: #F2E9DC; /* Beige cálido */
}