/* Estilos principales para el layout de navegación */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.container {
  background: white;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  padding: 40px;
  max-width: 800px;
  width: 90%;
  text-align: center;
  animation: fadeIn 0.8s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

header {
  margin-bottom: 40px;
}

header h1 {
  color: #2c3e50;
  font-size: 2.5rem;
  margin-bottom: 10px;
  font-weight: 700;
}

header p {
  color: #7f8c8d;
  font-size: 1.1rem;
  font-weight: 300;
}

.navigation-panel h2 {
  color: #34495e;
  font-size: 1.5rem;
  margin-bottom: 30px;
  font-weight: 400;
}

.button-container {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
}

.nav-button {
  background: white;
  border: 2px solid #e0e0e0;
  border-radius: 15px;
  padding: 30px 25px;
  width: 280px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.nav-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
  border-color: #667eea;
}

.nav-button.servicios-btn:hover {
  border-color: #667eea;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.nav-button.farmacia-btn:hover {
  border-color: #764ba2;
  background: linear-gradient(135deg, #764ba2 0%, #f093fb 100%);
  color: white;
}

.button-icon {
  font-size: 3rem;
  opacity: 0.8;
}

.button-content {
  flex: 1;
}

.button-content h3 {
  color: #2c3e50;
  font-size: 1.4rem;
  margin-bottom: 8px;
  font-weight: 600;
}

.button-content p {
  color: #7f8c8d;
  font-size: 0.95rem;
  line-height: 1.4;
}

.nav-button:hover .button-content h3,
.nav-button:hover .button-content p {
  color: white;
}

.nav-button:hover .button-icon {
  opacity: 1;
  transform: scale(1.1);
}

/* Efectos adicionales para los botones */
.nav-button {
  position: relative;
  overflow: hidden;
}

.nav-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s;
}

.nav-button:hover::before {
  left: 100%;
}

/* Diseño responsivo */
@media (max-width: 768px) {
  .container {
    padding: 30px 20px;
    margin: 20px;
  }

  header h1 {
    font-size: 2rem;
  }

  .button-container {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .nav-button {
    width: 100%;
    max-width: 350px;
    padding: 25px 20px;
  }

  .button-icon {
    font-size: 2.5rem;
  }
}

@media (max-width: 480px) {
  .nav-button {
    flex-direction: column;
    text-align: center;
    padding: 20px;
    gap: 15px;
  }

  .button-icon {
    font-size: 2.2rem;
  }

  .button-content h3 {
    font-size: 1.2rem;
  }
}

footer {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #ecf0f1;
  color: #7f8c8d;
  font-size: 0.9rem;
}
