@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@800&display=swap');

body {
  background-color: #ffffff;
}

.logo-container img {
  display: block;
  margin: 30px auto 0;
  width: 500px;
  height: 98px;
}

.main-nav {
  position: relative;
  padding-bottom: 10px;
}

.main-nav::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: #5c5c5c;
  filter: blur(1px);
  opacity: 0.5;
}

.main-nav .nav-links {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 0;
  margin: 25px;
  list-style: none;
}

.main-nav .nav-links li a {
  color: #5c5c5c;
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 4px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.main-nav .nav-links li a:hover,
.main-nav .nav-links li a:focus {
  background-color: #963c79;
  color: #ffffff;
}

.turno-form {
  text-align: center;
  padding: 30px 0;
  background-color: #6d6a6a3d; /*turnos background*/
}

.turno-form h1 {
  color: #5c5c5c;
  margin-bottom: 16px;
}

.turno-form h3 {
  color: #39b5b8;
  margin-bottom: 16px;
}

.turno-form .red-text {
  color: red;
}

.turno-form input {
  width: 280px;
  max-width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  margin-bottom: 16px;
}

.turno-form label {
  color: #39b5b8;
  display: block;
  margin-bottom: 12px;
  color: #5c5c5c;
  font-weight: 800;
}

.turno-form button {
  background-color: #39b5b8;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  padding: 10px 18px;
  cursor: pointer;
}

.profesional-data {
  background-image: url('imagen/sintegral/imglogosinfondo.jpeg');
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
  padding: 40px 20px;
  margin-top: 20px;
  text-align: center;
}

.profesional-data h1 {
  color: #5c5c5c;
  margin-bottom: 18px;
}

.profesional-data ul {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 420px;
  text-align: left;
}

.profesional-data ul li {
  color: #5c5c5c;
  margin-bottom: 10px;
  font-size: 18px;
}

.profesional-data ul li strong {
  font-weight: 800;
}

.calendar-section {
  text-align: center;
  padding: 30px 0;
}

.calendar-section h1 {
  color: #5c5c5c;
  margin-bottom: 16px;
}

.calendar-section h3 {
  color: #39b5b8;
  margin-bottom: 20px;
}

.calendar-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.left-column, .right-column {
  text-align: center;
}

.left-column h4, .right-column h4 {
  color: #5c5c5c;
  margin-bottom: 16px;
  font-size: 16px;
}

.left-column input[type="date"] {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
}

.calendar-widget {
  background: #ffffff;
  border: 1px solid #ddd;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
}

.calendar-widget__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: #6d6a6a3d;/*turnos background*/
  color: #5c5c5c;
  font-weight: 800;
}

.calendar-widget__header button {
  background: transparent;
  border: none;
  color: #5c5c5c;
  cursor: pointer;
  font-size: 18px;
}

.calendar-widget__weekdays,
.calendar-widget__days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  text-align: center;
  gap: 6px;
  padding: 12px 16px;
}

.calendar-widget__weekdays span {
  color: #5c5c5c;/*text-gray-600*/
  font-weight: 800;
}

.calendar-widget__days span {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 40px;
  padding: 8px 0;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.calendar-widget__days span:hover {
  background-color: #39b5b8;
  color: #ffffff;
}

.calendar-widget__days span:nth-child(7n+4),
.calendar-widget__days span:nth-child(7n+5),
.calendar-widget__days span:nth-child(7n+6),
.calendar-widget__days span:nth-child(7n) {
  color: #5c5c5c;/*text-gray-600*/
}

.horarios-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.horarios-list li {
  background-color: #6d6a6a3d;/*turnos background*/
  margin-bottom: 8px;
  padding: 10px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.horarios-list li:hover {
  background-color: #39b5b8;
  color: #ffffff;
}

/* Responsive Design */
@media (max-width: 768px) {
  .logo-container img {
    width: 100%;
    height: auto;
    max-width: 500px;
  }

  .main-nav .nav-links {
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin: 15px;
  }

  .main-nav .nav-links li a {
    font-size: 16px;
    padding: 10px 15px;
  }

  .turno-form {
    padding: 20px 10px;
  }

  .turno-form input {
    width: 100%;
    box-sizing: border-box;
  }

  .turno-form button {
    width: 100%;
    max-width: 280px;
  }

  .profesional-data {
    padding: 20px 10px;
  }

  .profesional-data ul {
    max-width: 100%;
    text-align: center;
  }

  .calendar-section {
    padding: 20px 10px;
  }

  .calendar-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}

.confirmation-section {
  padding: 40px 20px;
  text-align: center;
}

.confirmation-section h1 {
  color: #5c5c5c;
}

.confirmation-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 600px;
}

.confirmation-list li {
  color: #5c5c5c;
  font-size: 52px;
  margin-bottom: 12px;
  text-align: center;
}

.confirmation-list li strong {
  color: #5c5c5c;
  font-size: 18px;
}

.footer {
  background-color: #ffffff;
  padding: 20px 0;
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: #5c5c5c;
  text-decoration: none;
}

.footer .upper-row {
  display: flex;
  justify-content: space-around;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.footer .left-col,
.footer .middle-col,
.footer .right-col {
  flex: 1;
  text-align: center;
}

.footer .left-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer .left-col ul li {
  margin-bottom: 8px;
}

.footer .left-col ul li a {
  color: #5c5c5c;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer .left-col ul li a:hover {
  color: #963c79;
}

.footer .middle-col .social-links a {
  margin: 0 10px;
  color: #963c79;
  font-size: 18px;
}

.footer .right-col p {
  margin: 5px 0;
  display: flex;
  align-items: center;
}

.footer .right-col i {
  color: #963c79;
  margin-right: 8px;
}

.footer .lower-row {
  text-align: center;
  padding: 10px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer .lower-row a {
  color: #5c5c5c;
  text-decoration: none;
}

.footer .lower-row img {
  height: 60px;
  vertical-align: middle;
}

@media (max-width: 768px) {
  .footer .upper-row {
    flex-direction: column;
    text-align: center;
  }

  .footer .left-col,
  .footer .middle-col,
  .footer .right-col {
    margin-bottom: 20px;
  }

  .footer .middle-col .social-links a {
    margin: 0 15px;
  }
}
