/* Import Inter font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

:root {
  --bg-dark: #0a192f;         /* Fondo general (oscuro) */
  --bg-section: #112240;      /* Secciones como header/footer */
  --text-light: #e6f1ff;      /* Texto principal (blanco azulado suave) */
  --text-muted: #8892b0;      /* Texto secundario o descripciones */
  --accent-blue: #64ffda;     /* Acentos: títulos, enlaces destacados */
  --border-color: #233554;    /* Líneas divisorias sutiles */
  --font-main: 'Inter', sans-serif; /* Tipografía profesional */
}


* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-light);
  font-size: 16px;
  line-height: 1.75;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

header {
  background-color: var(--bg-dark);
  padding: 0px 20px 20px;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 1.9);
}

header h1 {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
}

header p {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-top: 8px;
}

.hero {
  background: linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(0,0,0,0.7)), url('https://res.cloudinary.com/dyzweiwo8/image/upload/v1753220746/LA2_cmpcte.png') center/cover no-repeat;
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  animation: fadeInHero 1.0s ease-out forwards;
}

@keyframes fadeInHero {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero h1 {
  font-size: 3rem;
  color: var(--accent);
  font-weight: 700;
  text-shadow: var(--accent-glow);
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin-top: 20px;
  padding: 0 20px;
}

.content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px;
  background-color: var(--bg-darker);
}

.section {
  margin-bottom: 70px;
  position: relative;
  padding-bottom: 20px;
}

.section h2 {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--accent);
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 12px;
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 0.75px;
  animation: fadeInTitle 1s ease-out 0.3s forwards;
}

@keyframes fadeInTitle {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.profile {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 30px;
}

.profile img {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: contain;
  background-color: var(--bg-section);
  border: 3px solid var(--border-color);
  box-shadow: var(--accent-glow);
}

.profile div {
  font-size: 1rem;
  color: var(--text-primary);
  line-height: 1.5;
}

.section p {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.8;
}

.icons {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.icon-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: var(--bg-section);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 2, 14, 0.479);
  transition: all 0.3s ease;
}

.icon-item:hover {
  transform: translateY(-5px);
  background: var(--bg-dark);
}

.icon-item img {
  width: 32px;
  height: 32px;
  filter: brightness(0) invert(1);
  margin-top: 4px;
}

.contact {
  text-align: center;
  padding: 50px 20px;
  background-color: var(--bg-dark);
  font-size: 1rem;
  color: var(--text-secondary);
  border-top: 1px solid var(--border-color);
}

footer {
  text-align: center;
  font-size: 0.9rem;
  padding: 20px;
  color: #777;
  background-color: var(--bg-darker);
}

.section .social-row {
  display: flex;
  gap: 30px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 20px;
}

.section .social-row a img {
  transition: transform 0.3s ease, filter 0.3s ease;
  width: 42px;
  height: 42px;
}

.section .social-row a:hover img {
  transform: scale(1.1);
  filter: brightness(0.85) saturate(1.3);
}

@media (max-width: 768px) {
  .profile {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .profile img {
    margin-bottom: 12px;
  }

  .profile div {
    margin-bottom: 20px;
  }

  .section h2 {
    font-size: 1.4rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
    padding: 0 15px;
  }

  .section .social-row a img {
    width: 28px !important;
    height: 28px !important;
  }
}
