/* Importar fuentes */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&family=Playfair+Display:wght@700&family=Pacifico&display=swap');

:root {
  --orange-light: #facc15;
  --orange-dark:  #f97316;
  --dark:         #060036;
  --alt-bg:       #f9f7f2;
}

/* Reset y base */
body {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  background: #fffefb;
  scroll-behavior: smooth;
}

/* Separador suave entre secciones */
section {
  padding: 80px 0;
}
section:nth-of-type(odd)  { background: #fff; }
section:nth-of-type(even) { background: var(--alt-bg); }

/* Navbar */
.navbar {
  background: linear-gradient(135deg, var(--orange-light), var(--orange-dark));
}
.toggler-white { filter: invert(1); }
.brand-text {
  font-family: 'Pacifico', cursive;
  font-size: 2.5rem;
  color: #fff;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}
.nav-link {
  color: #fff !important;
  font-weight: 500;
  transition: transform 0.2s, color 0.3s;
}
.nav-link:hover {
  transform: scale(1.05);
  color: #222 !important;
}

/* Hero */
.hero {
  background: #fff;
  color: #222;
  text-align: center;
}
.hero img {
  max-height: 150px;
}

/* Títulos de sección */
.section-title {
  font-family: 'Playfair Display', serif;
  position: relative;
  padding-left: 1rem;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #222;
}
.section-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 4px;
  height: 50%;
  background: var(--orange-dark);
  transform: translateY(-50%);
  border-radius: 2px;
}

/* “Quiénes somos” */
.descripcion-negocio {
  background: #fff4e5;
}
.descripcion-negocio .about-img {
  max-width: 250px;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

/* Galería (Carousel) */
#galeria {
  background: linear-gradient(
    135deg,
    rgba(250,204,21,0.7),
    rgba(249,115,22,0.7)
  );
  padding-top: 80px;
  padding-bottom: 120px;
  overflow: visible;
}
#galeria .section-title{
    color: #ffffff;
}
.carousel-item {
  transition: transform 0.6s ease;
}
.gallery-card img {
  width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

/* Asegurar que los controles se vean bien */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  width: 50px;
  height: 50px;
}

/* TikTok */
.tiktok-color {
  background: linear-gradient(45deg, #25F4EE, #FE2C55);
  -webkit-background-clip: text;
  color: transparent;
}
.tiktok-embed {
  max-width: 360px;
  width: 100%;
}

/* Cards de precios */
.card-img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  margin: 0 auto;
  border-radius: 50%;
}
.card {
  background: #fefefe;
  transition: transform 0.3s;
}
.card:hover {
  transform: scale(1.02);
}

/* Formulario */
.form-control,
.btn {
  border-radius: 10px;
}

/* Footer */
.footer {
  background: var(--dark);
  color: #fff;
  text-align: center;
}
.footer a {
  color: #fff;
}

/* WhatsApp flotante */
.whatsapp-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: linear-gradient(135deg, #22c55e, #15803d);
  color: #fff;
  width: 60px;           
  height: 60px;          
  border-radius: 50%;    
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: transform 0.2s;
  z-index: 10000;        /* ¡importante! */
  opacity: 1 !important; /* asegura visibilidad */
}
.whatsapp-btn:hover {
  transform: scale(1.1);
}

.modal.fade .modal-dialog {
  margin: 0 auto;
  max-width: 100vw;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
}

.modal-content {
  background: rgba(255,255,255,0.97);
  box-shadow: 0 8px 40px 0 rgba(0,0,0,0.6), 0 1.5px 5px rgba(249,115,22,0.13);
  border-radius: 1.5rem;
  width: 100%;
  max-width: 540px;
  margin: auto;
  position: relative;
  overflow: hidden;
}

@media (max-width: 768px) {
  .modal-dialog {
    max-width: 98vw;
    height: 100vh;
    margin: 0;
  }
  .modal-content {
    max-width: 98vw;
    border-radius: 1rem;
  }
}

.modal-body img {
  display: block;
  width: 100%;
  max-height: 90vh;
  height: auto;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  border-radius: 8px;
}

/*Diseño para boton de cerrar de los modales*/
.custom-close {
  position: absolute;
  top: 18px;
  right: 24px;
  z-index: 10;
  background: rgba(249,115,22,0.85); /* naranja oscuro translúcido */
  border: none;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.35rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.19);
  transition: background 0.22s, transform 0.15s;
  cursor: pointer;
}
.custom-close:hover {
  background: #f97316; /* más intenso al pasar el mouse */
  transform: scale(1.09) rotate(6deg);
}
