/* ==========================================================================
   CHARTRES — Estilos Base Compartidos
   Usado por: index.html, joyeria.html, artesania.html, cafeteria.html
   ========================================================================== */

/* Iconos Material Symbols */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
}

/* Cuerpo base */
body {
    background-color: #fbf9f4;
    color: #1b1c19;
    overflow-x: hidden;
}

/* Efecto vidrio esmerilado para la barra de navegación fija */
.glass-nav,
.glass-header {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* Scrollbar personalizado */
::-webkit-scrollbar-track {
    background: #fbf9f4;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-thumb {
    background: rgba(0, 50, 25, 0.35);
    border-radius: 8px;
}

/* Animación de aparición al hacer scroll (usada por varias secciones) */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease-out;
}

.reveal-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stagger-in {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

/* Subrayado dorado al hacer hover (links de detalle) */
.hover-gold-underline::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: #775a19;
    transition: width 0.3s ease;
}

.hover-gold-underline:hover::after {
    width: 100%;
}

/* Efecto de zoom suave en imágenes de producto al hacer hover */
.image-reveal {
    overflow: hidden;
}

.image-reveal img {
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.image-reveal:hover img {
    transform: scale(1.05);
}

/* ── WhatsApp floating button ── */
#whatsapp-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  left: auto;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #fff;
  border-radius: 50px;
  padding: 14px 20px 14px 16px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.40);
  transition: transform 0.2s ease, box-shadow 0.2s ease, padding 0.3s ease;
  overflow: hidden;
  white-space: nowrap;
}

#whatsapp-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 10px 32px rgba(37, 211, 102, 0.50);
}

#whatsapp-btn svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

#whatsapp-btn .wsp-label {
  max-width: 160px;
  transition: max-width 0.3s ease, opacity 0.3s ease;
}

@keyframes wsp-pulse {

  0%,
  100% {
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.40);
  }

  50% {
    box-shadow: 0 6px 32px rgba(37, 211, 102, 0.70);
  }
}

#whatsapp-btn {
  animation: wsp-pulse 2.5s ease-in-out infinite;
}

#whatsapp-btn:hover {
  animation: none;
}

@media (max-width: 767px) {
  .section-pad {
    padding: 4rem 1.25rem;
  }

  #whatsapp-btn .wsp-label {
    display: none;
  }

  #whatsapp-btn {
    padding: 14px;
    border-radius: 50%;
  }
}

@keyframes heroZoom {
    from { transform: scale(1.08); }
    to   { transform: scale(1); }
}

.hero-zoom {
    animation: heroZoom 6s ease forwards;
}