/* Estilos específicos para la página Home */

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(rgba(44, 44, 44, 0.5), rgba(44, 44, 44, 0.5)),
              url('https://images.unsplash.com/photo-1554048612-b6a482bc67e5?w=1600') center/cover no-repeat;
  text-align: center;
  color: var(--color-base);
  margin-top: -80px;
}

.hero-content {
  max-width: 800px;
  padding: 0 20px;
  animation: fadeInUp 1s ease;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 20px;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 30px;
  color: var(--color-neutro);
}

/* Preview sections */
.preview-section {
  padding: 80px 0;
}

.preview-section:nth-child(even) {
  background-color: var(--color-apoyo);
}

.preview-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.preview-text h3 {
  font-size: 2.2rem;
  color: var(--color-acento);
  margin-bottom: 20px;
}

.preview-text p {
  font-size: 1.1rem;
  color: var(--color-contraste);
  margin-bottom: 25px;
  line-height: 1.8;
}

.preview-image {
  overflow: hidden;
  border-radius: 10px;
}

.preview-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: transform 0.5s ease;
}

.preview-image:hover img {
  transform: scale(1.05);
}

/* Gallery preview */
.gallery-preview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.gallery-item {
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-10px);
}

.gallery-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--color-acento) 0%, var(--color-detalle) 100%);
  padding: 80px 0;
  text-align: center;
  color: var(--color-base);
}

.cta-section h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.cta-section p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.95;
}

.cta-section .btn-primary {
  background-color: var(--color-base);
  color: var(--color-acento);
  font-size: 1.1rem;
  padding: 18px 50px;
}

.cta-section .btn-primary:hover {
  background-color: var(--color-neutro);
  transform: translateY(-5px);
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .preview-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .gallery-preview {
    grid-template-columns: 1fr;
  }

  .cta-section h2 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .preview-text h3 {
    font-size: 1.8rem;
  }
}
