/* General */
body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #0d0d0d;
  color: #f5f5f5;
  scroll-behavior: smooth;
}

/* Navbar */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(13,13,13,0.9);
  padding: 10px 0;
  z-index: 1000;
}
nav ul {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
}
nav li {
  margin: 0 15px;
}
nav a {
  text-decoration: none;
  color: #f5f5f5;
  transition: color 0.3s ease;
}
nav a:hover {
  color: #1db954;
}

/* Secciones */
section {
  padding: 120px 20px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.alt-bg {
  background: #1a1a1a;
}

/* Contenido de cada sección */
.content-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  max-width: 1200px;
  width: 100%;
}
.content-wrapper.reverse {
  flex-direction: row-reverse;
}

/* Texto */
.text-content {
  flex: 1;
  text-align: left;
}
.text-content h1,
.text-content h2 {
  margin-bottom: 20px;
}
.text-content p {
  line-height: 1.6;
}

/* Imagen base */
.content-wrapper img {
  flex: 1;
  max-width: 500px;
  width: 100%;
  height: auto;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 0 25px rgba(0,0,0,0.6);
}

/* Distintas máscaras por sección */
.mask-1 {
  clip-path: circle(70% at 50% 50%);
}
.mask-2 {
  clip-path: polygon(0 0, 100% 10%, 90% 100%, 0% 90%);
}
.mask-3 {
  clip-path: ellipse(70% 50% at 50% 50%);
}
.mask-4 {
  clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 90%);
}
.mask-5 {
  clip-path: polygon(0 0, 100% 0, 100% 70%, 0% 100%);
}
.mask-6 {
  clip-path: circle(60% at 30% 50%);
}

/* Botón */
.btn {
  margin-top: 1.5em;
  padding: 0.8em 1.5em;
  border: none;
  border-radius: 2em;
  background: linear-gradient(135deg, #1db954, #1aa34a);
  color: white;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(29,185,84,0.6);
}

/* Animaciones */
.fade-in { animation: fadeIn 1.5s ease both; }
.slide-up { animation: slideUp 1.5s ease both; }
.slide-left { animation: slideLeft 1.5s ease both; }

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes slideLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Responsivo */
@media (max-width: 768px) {
  .content-wrapper {
    flex-direction: column;
    text-align: center;
  }
  .content-wrapper.reverse {
    flex-direction: column;
  }
  .text-content {
    text-align: center;
  }
}
