/* CSS no crítico para Salón Magno */

/* Secciones principales debajo del fold */
.about_section, .service_section, .gallery_section, .contact_section {
  padding: 80px 0;
  text-align: center;
}

.about_section h2, .service_section h2, .gallery_section h2, .contact_section h2 {
  font-size: 2.2rem;
  color: #222;
  margin-bottom: 2rem;
}

.about_section p, .service_section p, .gallery_section p, .contact_section p {
  font-size: 1rem;
  color: #555;
  max-width: 800px;
  margin: 0 auto 2rem auto;
}

/* Servicios */
.service_card {
  background: #fff;
  border-radius: 15px;
  padding: 20px;
  margin: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service_card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.service_card img {
  width: 80px;
  margin-bottom: 15px;
}

/* Galería */
.gallery_grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.gallery_grid img {
  border-radius: 15px;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.gallery_grid img:hover {
  transform: scale(1.05);
  filter: brightness(0.9);
}

/* Contacto */
.contact_form {
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
}

.contact_form input, .contact_form textarea {
  width: 100%;
  padding: 12px 15px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 1rem;
}

.contact_form button {
  background-color: #ff0066;
  color: #fff;
  border: none;
  padding: 12px 25px;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact_form button:hover {
  background-color: #e6005c;
}

/* Footer */
footer {
  background: #000;
  color: #fff;
  padding: 50px 20px;
  text-align: center;
}

footer a {
  color: #ff0066;
  margin: 0 10px;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #fff;
}

/* Animaciones y transiciones globales */
.fade-in {
  opacity: 0;
  animation: fadeIn 1s forwards;
}

@keyframes fadeIn {
  to { opacity: 1; }
}

.slide-up {
  opacity: 0;
  transform: translateY(30px);
  animation: slideUp 0.8s forwards;
}

@keyframes slideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}