/* Estilos generales */
body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  background-color: #fff5f7;
  color: #4a2c2a;
  scroll-behavior: smooth;
}

header {
  text-align: center;
  padding: 4rem 1rem;
  background: linear-gradient(180deg, #ffe4ec 0%, #fff5f7 100%);
}

header h1 {
  font-size: 2.5rem;
  color: #e91e63;
  margin-bottom: 0.5rem;
}

header p {
  font-size: 1.1rem;
  color: #8b5e5e;
}

main {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.scroll-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 3rem 0;
  gap: 2rem;
}

.scroll-section img {
  width: 100%;
  max-width: 450px;
  border-radius: 20px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 1s ease;
}

.scroll-section .text {
  flex: 1;
  min-width: 250px;
}

.scroll-section h2 {
  color: #e91e63;
  font-size: 1.8rem;
}

.scroll-section p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #5c3a37;
}

/* Animaciones */
.fade-in {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1.2s ease, transform 1.2s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-section img:hover {
  transform: scale(1.05);
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem;
  background: #ffe4ec;
  font-size: 0.9rem;
  color: #7a5555;
}

/* Responsividad */
@media (max-width: 768px) {
  .scroll-section {
    flex-direction: column;
    text-align: center;
  }

  .scroll-section img {
    max-width: 100%;
  }

  header h1 {
    font-size: 2rem;
  }
}
