/* ============================================
   SOBRE MI PAGE STYLES
   Estilos específicos para la página sobre mi
   ============================================ */

/* About Section */
.about-section {
  min-height: calc(100vh - 70px);
  padding: 100px 20px 80px;
  background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* About Content - Estructura base para todas las secciones */
.about-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: start;
  margin-bottom: 80px;
  background: #fff;
  padding: 50px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Layout invertido (imagen a la izquierda) */
.about-content.reverse-layout {
  grid-template-columns: 1fr 1.2fr;
}

/* Texto */
.about-text h2 {
  font-size: 48px;
  color: #333;
  margin-bottom: 24px;
  font-weight: 700;
  background: linear-gradient(135deg, #007bff 0%, #1f2bc5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-text h2 i {
  margin-right: 16px;
  font-size: 48px;
  vertical-align: middle;
}

.about-text p {
  font-size: 18px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 20px;
  text-align: justify;
}

/* Imágenes */
.about-image {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(102, 126, 234, 0.2);
  transition: transform 0.3s ease;
}

.about-image img:hover {
  transform: scale(1.02);
}

.image-caption {
  font-size: 14px;
  color: #777;
  font-style: italic;
  text-align: center;
  margin: 0;
}

/* Logo Link Style */
.logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo img:hover {
  opacity: 0.8;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
  .about-section {
    padding: 60px 15px 50px;
  }

  .about-content,
  .about-content.reverse-layout {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 30px;
    margin-bottom: 40px;
  }

  .about-text h2 {
    font-size: 32px;
    margin-bottom: 20px;
  }

  .about-text h2 i {
    font-size: 32px;
    margin-right: 12px;
  }

  .about-text p {
    font-size: 16px;
    line-height: 1.7;
  }

  .about-image img {
    max-width: 400px;
    margin: 0 auto;
  }

  .image-caption {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .about-content {
    padding: 20px;
  }

  .about-text h2 {
    font-size: 28px;
  }

  .about-text h2 i {
    font-size: 28px;
    margin-right: 10px;
  }

  .about-text p {
    font-size: 15px;
  }
}
