/* Layout General */
.page-content {
  padding-top: 80px; /* Margen para el header fijo */
  min-height: 100vh;
}

#hero-section {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr; /* La imagen es un poco más ancha que el texto */
  gap: 0; /* Pegados para un look más moderno */
  align-items: stretch;
  max-width: 100%;
}

@media (max-width: 900px) {
  #hero-section {
    grid-template-columns: 1fr;
  }
}

/* Carrusel y Media */
#media-container {
  width: 100%;
  height: 85vh;
  position: relative;
  overflow: hidden;
  background: #1a1a1a;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.1);
  transition:
    opacity 1.5s ease-in-out,
    transform 4s ease-out;
}

.slide.active {
  opacity: 1;
  transform: scale(1);
}

/* Sección Sobre Mí */
.about-container {
  padding: 10% 15%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: #ffffff;
}

#about-text h2 {
  font-family: 'Syncopate', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -2px;
  margin-bottom: 2rem;
  text-transform: uppercase;
  color: #000;
}

#about-text p {
  font-family: 'Inter', sans-serif;
  line-height: 1.8;
  font-size: 1.1rem;
  font-weight: 300;
  color: #333;
}

/* Animación de entrada */
.fade-in {
  animation: fadeIn 1.5s ease forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
