:root {
  --main-color: #A78FB8;
  --text-color: #555;
  --bg-color: #ffffff;
  --accent-color: #25D366;
}

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  padding-top: 100px;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--main-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.7rem 1.5rem;
  z-index: 999;
  box-sizing: border-box;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.logo img {
  height: 40px;
  border-radius: 50%;
}

.logo2 img {
  height: 150px; /* Ajuste para mejor visibilidad */
  border-radius: 50%;
}

/* Estilos de la sección Inicio */
.hero {
  padding: 5rem 1rem;
  background-color: var(--main-color);
  color: white;
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: flex-start; /* Mantiene el logo2 a la izquierda */
}

.text {
  flex: 1;
}

.section {
  padding: 3rem 1rem;
  max-width: 900px;
  margin: auto;
}

.section h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--main-color);
}

/* Estilos para el menú de navegación */
nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  padding: 0;
  margin: 0;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  white-space: nowrap;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #ddd;
}

/* Estilos de las secciones */
.servicios {
  list-style: none;
  padding-left: 0;
}

.servicios li {
  background: #f5f5f5;
  margin-bottom: 1rem;
  padding: 1rem;
  border-left: 5px solid var(--main-color);
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.video-gallery iframe {
  width: 100%;
  max-width: 560px;
  height: 315px;
  margin: auto;
  display: block;
  border-radius: 8px;
}

/* Estilos del botón de WhatsApp */
#whatsapp-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}

#whatsapp-button img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: transform 0.2s ease;
}

#whatsapp-button img:hover {
  transform: scale(1.1);
}

/* Ajustes para dispositivos móviles */
@media (max-width: 768px) {
  .hero-content {
    flex-direction: column; /* En móviles, el logo y el texto se acomodan verticalmente */
    align-items: center;
  }
  
  .logo2 img {
    height: 50px; /* Ajuste del tamaño del logo en móviles */
  }

  nav ul {
    flex-direction: column;
    align-items: flex-start;
    background-color: var(--main-color);
    padding-top: 0.5rem;
    padding-left: 1rem;
  }

  nav a {
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    display: block;
    width: 100%;
  }
}
