/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(to bottom right, #fce4ec, #f3e5f5);
  color: #333;
  min-height: 100vh;
  overflow-x: hidden;
}

/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #111;
  padding: 15px 30px;
  position: sticky;
  top: 0;
  z-index: 999;
  flex-wrap: wrap;
}
.logo {
  font-size: 1.6rem;
  font-weight: bold;
  color: #fff;
}
.logo span {
  color: #f48fb1;
}
.menu-toggle {
  display: none;
  font-size: 2rem;
  color: white;
  cursor: pointer;
}
.nav-container {
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
}
.nav-links li a {
  text-decoration: none;
  color: #f8f8f8;
  font-weight: 500;
  transition: color 0.3s ease, border-bottom 0.3s ease;
}
.nav-links li a:hover,
.nav-links li a.active {
  color: #f48fb1;
  border-bottom: 2px solid #f48fb1;
}
.btn-cita {
  background-color: #f48fb1;
  color: white;
  padding: 8px 14px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color 0.3s ease;
}
.btn-cita:hover {
  background-color: #d81b60;
}

/* MAIN CONTENT */
.container {
  max-width: 800px;
  margin: 60px auto;
  padding: 40px 30px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}
h1 {
  text-align: center;
  color: #a24ca3;
  margin-bottom: 30px;
  font-size: 2rem;
}
.bio p {
  font-size: 1.1rem;
  line-height: 1.6;
  text-align: center;
  margin-bottom: 15px;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 20px;
  background-color: #111;
}
.nav-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
}
.icon {
  color: #fff;
  font-size: 1.4rem;
  transition: color 0.3s ease;
}
.icon:hover {
  color: #f48fb1;
}

/* MODAL */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
}
.modal-content {
  background: white;
  width: 90%;
  max-width: 400px;
  margin: 10% auto;
  padding: 30px;
  border-radius: 10px;
  position: relative;
}
.modal-content h2 {
  text-align: center;
  color: #ba68c8;
  margin-bottom: 20px;
}
.modal-content label {
  display: block;
  margin-top: 10px;
  font-weight: 600;
}
.modal-content input,
.modal-content select {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  margin-bottom: 15px;
  border-radius: 6px;
  border: 1px solid #ccc;
}
.enviar-btn {
  width: 100%;
  padding: 10px;
  background-color: #f48fb1;
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
}
.enviar-btn:hover {
  background-color: #d81b60;
}
.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 22px;
  color: #666;
  cursor: pointer;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-container {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
    display: none;
    background-color: #111;
    padding: 10px 0;
  }

  .nav-links.active {
    display: flex;
  }

  .btn-cita {
    width: 90%;
    margin: 10px auto;
    display: block;
  }

  .container {
    width: 90%;
    padding: 20px;
  }

  h1 {
    font-size: 1.4rem;
  }

  .bio p {
    font-size: 1rem;
  }

  footer .nav-actions {
    flex-direction: column;
    gap: 10px;
  }
}
