/* Global Styles */
body {
  background-color: #ffe6f8;
  margin: 0;
  display: flex;
  flex-direction: column;
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  width: 100%;
}

/* Main Styles */
main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

/* Header  Styles */
.main-header {
  background-image: url("/static/images/background.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-bottom: 2px solid #ffd1f2;
  padding: 3rem 1rem;
  text-align: right;
  height: 30px;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
  gap: 1rem;
  margin-top: 3rem;
  box-sizing: border-box;
  margin-right: 1rem;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 1rem;
  padding: 0;
  font-weight: bold;
  flex: 1;
  flex-wrap: nowrap;
  margin-right: 1rem;
}

.nav-links li {
  margin-top: 1rem;
  display: flex;
  align-items: center;
}

.nav-links li a {
  text-decoration: none;
  color: #6c2a6a;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: #f9c5ff;
}

/* Botón de reserva */
.cta-container {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  padding: 0 1rem;
}

.btn-reserva {
  background-color: #fac8e9;
  color: #6c2a6a;
  padding: 1rem 1rem;
  margin-left: 1rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  white-space: nowrap; /* evita que se corte el texto */
}

.btn-reserva:hover {
  background-color: #ffb2fb;
}

/* Título del service */
.titulo-service-container {
  border-radius: 12px;
  max-width: 800px;
  margin: 0 auto 2rem;
}

.titulo-service {
  font-size: 4rem;
  color: #6c2a6a;
  margin-bottom: 1rem;
  font-weight: bold;
  text-align: center;
}

.titulo-service-container p {
  font-size: 1.2rem;
  color: #ffe6f8;
  text-align: center;
}

/* Sección detalle */
.service-detalle {
  text-align: center;
  padding: 3rem 1rem;
}

.service-detalle img {
  width: 100%;
  max-width: 400px;
  border-radius: 12px;
  margin-bottom: 1.5rem;
}

.service-detalle h2 {
  font-size: 2rem;
  color: #6c2a6a;
  margin-bottom: 1rem;
}

.service-detalle ul {
  list-style: none;
  padding: 0;
  margin: 0 auto 1.5rem;
  max-width: 400px;
  text-align: left;
}

.service-detalle ul li {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 0.5rem;
}

.service-detalle p {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 1rem;
}

.service-detalle .btn {
  background-color: #fac8e9;
  color: #ffe6f8;
  padding: 1rem 3rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.service-detalle .btn:hover {
  background-color: #ffb2fb;
}

/* Footer */
.main-footer {
  background-color: #ffedfa;
  padding: 1.5rem;
  text-align: center;
  color: #6c2a6a;
  border-top: 2px solid #ffd1f2;
}

.main-footer p {
  margin: 0;
  font-size: 1rem;
}

/* cartas de services */
.services-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  padding: 1rem;
  width: 100%;
}

.card-service {
  margin-left: 1rem;
  background-color: #ffedfa;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  max-height: 700px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.card-service:hover {
  transform: scale(1.5);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.card-service img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  margin: 0 auto;
  max-width: 200px;
}

.card-service .toggle {
  display: none;
}

.card-service .content-card {
  display: block;
  cursor: pointer;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.card-service .toggle:checked + .content-card {
  transform: scale(1.3);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  z-index: 10;
}

.contenido-card {
  padding: 1rem;
  text-align: center;
}

.contenido-card h2 {
  color: #6c2a6a;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.contenido-card p {
  font-size: 1rem;
  color: #333;
  margin-bottom: 0.5rem;
}

/* consejos y consideraciones */
.consejos_consideraciones {
  border-radius: 12px;
  padding: 2rem;
  max-width: 800px;
  margin: 2rem auto;
}

.menu-services {
  position: relative;
}

.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #ffe6f8;
  border: 1px solid #ffd1f2;
  border-radius: 8px;
  padding: 0.5rem 0;
  list-style: none;
  display: none;
  z-index: 1000;
  min-width: 160px;
}

.submenu li a {
  color: #6c2a6a;
  text-decoration: none;
  display: block;
}

.submenu li a:hover {
  background-color: #fac8e9;
  border-radius: 4px;
}

/* Mostrar submenú al pasar el mouse */
.menu-services:hover .submenu {
  display: block;
}

.menu-services:focus-within .submenu {
  display: block;
}

.menu-promos {
  position: relative;
}

/* Mostrar submenú al pasar el mouse */
.menu-promos:hover .submenu {
  display: block;
}

/* Para móvil: abrir al tocar */
.menu-promos:focus-within .submenu {
  display: block;
}

.menu-contact {
  position: relative;
}

.submenu li {
  padding: 0.5rem 1rem;
}

/* Mostrar submenú al pasar el mouse */
.menu-contact:hover .submenu {
  display: block;
}

/* Para móvil: abrir al tocar */
.menu-contact:focus-within .submenu {
  display: block;
}

/* Promo section */
.promos {
  padding: 3rem 1rem;
  text-align: center;
}

.promos h2 {
  border-bottom: 2px solid #6c2a6a;
  color: #6c2a6a;
  display: inline-block;
  font-size: 2rem;
  margin-bottom: 2rem;
  padding-bottom: 0.5rem;
  text-align: center;
}

.promos-container {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.promo-card {
  border-radius: 8px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 1rem;
  max-width: 300px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.5s ease, box-shadow 0.5s ease, background-color 0.5s ease;
  will-change: transform;
  transform-origin: center center;
}

.promo-card:hover {
  transform: scale(1.5) translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  background-color: #fff0f9;
  z-index: 100;
}

.promo-card img {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: contain;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.promo-card h3 {
  font-size: 1.5rem;
  color: #6c2a6a;
  margin-bottom: 1rem;
}

.promo-card p {
  font-size: 1rem;
  color: #333;
  margin-bottom: 1rem;
}

.price {
  font-size: 0.8rem;
  display: block;
  font-weight: bold;
  color: #6c2a6a;
  margin-bottom: 1rem;
}

.btn-promo {
  background-color: #fac8e9;
  color: #6c2a6a;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.btn-promo:hover {
  background-color: #ffb2fb;
}

.vermas-promos-container {
  margin-top: 2rem;
  text-align: center;
}

.promos-link {
  background-color: #fac8e9;
  color: #6c2a6a;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

.promos-link:hover {
  background-color: #ffb2fb;
}

/* phone media styles */

@media (max-width: 768px) {

/* bar navigation */
  .navbar {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 0.5rem;
    padding: 0 1rem;
    box-sizing: border-box;
    margin-top: 0.5rem;
  }

  .nav-links {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    font-size: 0.5rem;
    flex-shrink: 1;
    margin: 0;
    padding: 0;
  }

  .nav-links li a {
    font-size: 0.5rem;
    white-space: nowrap;
  }

  .cta-container {
    flex-shrink: 0;
    margin-right: 1rem;
  }

  .btn-reserva {
    font-size: 0.5rem;
    padding: 0.5rem 1rem;
    white-space: nowrap;
  }

  .titulo-service {
    font-size: 2rem;
  }

  .titulo-service-container p {
    font-size: 1rem;
  }

  .service-detalle img {
    max-width: 90%;
  }

  .service-detalle ul {
    text-align: center;
  }

  .services-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.3rem;
    padding: 0.3rem;
  }

  .card-service {
    width: 40%;
    max-width: 180px;
    max-height: 450px;
    margin: 0 auto;
    padding: 0.3rem;
    font-size: 0.7rem;
  }

  .card-service img {
    max-height: 140px;
    object-fit: cover;
  }

  .contenido-card h2 {
    font-size: 0.7rem;
  }

  .contenido-card p {
    font-size: 0.7rem;
  }

  .card-service:hover {
    transform: scale(1.2);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
  }

  .consejos_consideraciones {
    padding: 1rem;
    margin: 1rem;
    text-size-adjust: auto;
  }

  .promos-container {
    flex-direction: column;
    align-items: center;
  }

  .promo-card {
    max-width: 100%;
    text-align: center;
  }

  .promo-card:hover {
  transform: scale(1.2) translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  background-color: #fff0f9;
  z-index: 100;
  }

  .promo-card img {
    max-width: 90%;
    border-radius: 6px;
  }

  .promo-card h3 {
    font-size: 1.2rem;
    text-align: center;
  }

  .btn-promo {
    font-size: 1rem;
    padding: 10px 16px;
    display: block;
    margin: 1rem auto 0 auto;
    text-align: center;
  }
}
