/* Estilos globales */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}
html {
  scroll-behavior: smooth;
}

body {
  color: #333;
  line-height: 1.6;
  background-color: #f9f9f9;
}

/* Encabezado */
header {
  background-color: #222;
  color: #fff;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 20px 10%;
}

.logo h1 {
  font-size: 1.8rem;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

nav a:hover {
  color: #ff69b4;
}

/* Hero Section */
.hero {
  background: url("https://cdn.pixabay.com/photo/2021/11/15/13/24/haircut-6798139_1280.jpg")
    no-repeat center center/cover;
  color: #fff;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 100px 20px;
  height: 70vh;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.btn {
  display: inline-block;
  padding: 12px 25px;
  background-color: #ff69b4;
  color: #fff;
  text-decoration: none;
  border-radius: 30px;
  transition: background 0.3s;
}

.btn:hover {
  background-color: #e0559f;
}

section {
  padding: 60px 10%;
}

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.servicios-grid article {
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.servicios-grid article:hover {
  transform: translateY(-5px);
}

.galeria-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.galeria-grid img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
}

.equipo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.equipo-grid .miembro {
  text-align: center;
}

.equipo-grid img {
  width: 100%;
  max-width: 200px;
  border-radius: 50%;
  margin-bottom: 10px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 500px;
  margin-bottom: 30px;
}

form input,
form textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

form button {
  padding: 12px;
  background-color: #ff69b4;
  color: #fff;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: background 0.3s;
}

form button:hover {
  background-color: #e0559f;
}

.info-contacto p {
  margin: 5px 0;
}

footer {
  background-color: #222;
  color: #fff;
  text-align: center;
  padding: 20px 10%;
}

footer .redes-sociales a {
  color: #ff69b4;
  margin: 0 10px;
  text-decoration: none;
}

footer .redes-sociales a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }

  nav ul {
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
  }

  .hero {
    padding: 80px 20px;
  }
}
