/*
 * Mezcales Sections - Diseño Moderno y Minimalista
 * Sin cards, elegante, con efectos sutiles
 */

/* ===========================
   COLECCIÓN DE MEZCALES - Header
   =========================== */
.mezcales-collection {
  position: relative;
  background: #ffffff;
}

.mezcales-collection__header {
  padding: 3rem 0 2rem;
  position: relative;
}

.mezcales-collection__title {
  font-family: 'Playfair Display', serif;
  color: #1a1a1a;
  font-weight: 300;
  letter-spacing: 3px;
}

.mezcales-collection__subtitle {
  color: #666;
  font-size: 1.1rem;
  font-weight: 300;
}

/* ===========================
   ESTILO UNIFICADO - Las 3 Secciones
   =========================== */
.dona-cata-featured,
.don-pikis-featured,
.pikis-joven-featured {
  position: relative;
  padding: 8rem 0;
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Línea divisoria superior minimalista */
.dona-cata-featured::before,
.don-pikis-featured::before,
.pikis-joven-featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    currentColor 30%,
    currentColor 70%,
    transparent 100%
  );
  opacity: 0.12;
}

/* Fondos específicos por mezcal */
.dona-cata-featured {
  background: linear-gradient(180deg, #f8f5f2 0%, #ede8e3 100%);
  color: #2a2a2a;
}

.dona-cata-featured::before { color: #b8986f; }

.don-pikis-featured {
  background: linear-gradient(180deg, #f2f4f3 0%, #e5e9e7 100%);
  color: #2a2a2a;
}

.don-pikis-featured::before { color: #7a8f7e; }

.pikis-joven-featured {
  background: linear-gradient(180deg, #fafafa 0%, #f0f0f0 100%);
  color: #2a2a2a;
}

.pikis-joven-featured::before { color: #8a8a8a; }

/* ===========================
   TÍTULOS - Fade In Animation
   =========================== */
.dona-cata__title,
.don-pikis__title,
.pikis-joven__title {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  font-weight: 500;
  font-style: italic;
  line-height: 1.2;
  color: #2a2a2a;
  margin-bottom: 2rem;
}

.dona-cata__pretitle,
.don-pikis__pretitle,
.pikis-joven__pretitle {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #666;
  margin-bottom: 1rem;
  opacity: 0.9;
}

/* NOTA: fadeInUp keyframes removido - ahora usa scroll-triggered animations */

/* ===========================
   BOTELLA - Con Efecto Parallax
   =========================== */
.dona-cata__bottle-wrapper,
.don-pikis__bottle-wrapper,
.pikis-joven__bottle-wrapper {
  position: relative;
  padding: 3rem 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.dona-cata__bottle,
.don-pikis__bottle,
.pikis-joven__bottle {
  max-height: 550px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.5));
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              filter 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 1s cubic-bezier(0.4, 0, 0.2, 1);
  /* Animaciones manejadas por scroll-trigger ahora */
}

/* NOTA: bottleAppear keyframes removido - ahora usa scroll-triggered animations */

/* Efecto hover - Levantamiento suave SIN scale para evitar recuadro */
.dona-cata__bottle:hover,
.don-pikis__bottle:hover,
.pikis-joven__bottle:hover {
  transform: translateY(-15px);
  filter: drop-shadow(0 40px 80px rgba(0, 0, 0, 0.6));
}

/* ===========================
   FICHA TÉCNICA - Minimalista
   =========================== */
.dona-cata__specs-list,
.don-pikis__specs-list,
.pikis-joven__specs-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem; /* Reducido de 2.5rem a 1.5rem */
  padding: 2rem 0;
}

.dona-cata__spec-item,
.don-pikis__spec-item,
.pikis-joven__spec-item {
  position: relative;
  padding-left: 1.8rem;
  border-left: 1px solid rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  /* Animaciones manejadas por scroll-trigger ahora */
}

/* NOTA: slideInLeft y delays removidos - ahora usa scroll-triggered animations */

/* Hover effect en specs */
.dona-cata__spec-item:hover,
.don-pikis__spec-item:hover,
.pikis-joven__spec-item:hover {
  border-left-color: rgba(0, 0, 0, 0.25);
  transform: translateX(8px);
  padding-left: 2rem;
}

/* Títulos de especificaciones */
.dona-cata__spec-item h4,
.don-pikis__spec-item h4,
.pikis-joven__spec-item h4 {
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: 0.6rem;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  color: #666;
}

/* Valores de especificaciones */
.dona-cata__spec-item p,
.don-pikis__spec-item p,
.pikis-joven__spec-item p {
  font-size: 1.25rem;
  line-height: 1.8;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #2a2a2a;
}

.dona-cata__spec-item p.fst-italic,
.don-pikis__spec-item p.fst-italic,
.pikis-joven__spec-item p.fst-italic {
  opacity: 0.85;
  font-size: 1.05rem;
  margin-top: 1rem;
  font-weight: 400;
}

/* ===========================
   DESCRIPCIÓN ADICIONAL
   =========================== */
.dona-cata-featured .border-top,
.don-pikis-featured .border-top,
.pikis-joven-featured .border-top {
  border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
  margin-top: 5rem !important;
  padding-top: 4rem !important;
}

.dona-cata-featured .border-top p,
.don-pikis-featured .border-top p,
.pikis-joven-featured .border-top p {
  font-size: 1.25rem;
  line-height: 2;
  font-weight: 400;
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.95;
  color: #2a2a2a;
  text-align: justify;
}

.dona-cata-featured .border-top p:first-of-type,
.don-pikis-featured .border-top p:first-of-type,
.pikis-joven-featured .border-top p:first-of-type {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  font-style: italic;
  opacity: 1;
  font-weight: 500;
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 991px) {
  .dona-cata-featured,
  .don-pikis-featured,
  .pikis-joven-featured {
    padding: 5rem 0;
  }
  
  .dona-cata__bottle,
  .don-pikis__bottle,
  .pikis-joven__bottle {
    max-height: 420px;
    margin-bottom: 3rem;
  }
  
  .dona-cata__title,
  .don-pikis__title,
  .pikis-joven__title {
    font-size: 2.2rem !important;
  }
  
  .dona-cata__specs-list,
  .don-pikis__specs-list,
  .pikis-joven__specs-list {
    padding: 1rem 0;
  }
}

@media (max-width: 768px) {
  .dona-cata-featured,
  .don-pikis-featured,
  .pikis-joven-featured {
    padding: 4rem 0;
  }
  
  .dona-cata__bottle,
  .don-pikis__bottle,
  .pikis-joven__bottle {
    max-height: 350px;
  }
  
  .dona-cata__title,
  .don-pikis__title,
  .pikis-joven__title {
    font-size: 1.8rem !important;
    letter-spacing: 1px;
  }
  
  .dona-cata__specs-list,
  .don-pikis__specs-list,
  .pikis-joven__specs-list {
    gap: 2rem;
  }
  
  .dona-cata-featured .border-top p,
  .don-pikis-featured .border-top p,
  .pikis-joven-featured .border-top p {
    font-size: 1.05rem;
  }
}

/* ========================================
   SCROLL-TRIGGERED ANIMATIONS
   ======================================== */

/* Estado inicial: elementos ocultos antes del scroll */
.mezcales-collection__header,
.dona-cata-featured,
.don-pikis-featured,
.pikis-joven-featured {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Animación de botellas inicial - Simplificada para evitar saltos visuales */
.dona-cata__bottle,
.don-pikis__bottle,
.pikis-joven__bottle {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1),
              transform 1s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Animación de specs inicial */
.dona-cata__spec-item,
.don-pikis__spec-item,
.pikis-joven__spec-item {
  opacity: 0;
  transform: translateX(-15px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Estado visible cuando entra al viewport */
.mezcales-collection__header.animate-in,
.dona-cata-featured.animate-in,
.don-pikis-featured.animate-in,
.pikis-joven-featured.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Botellas visibles - Sin scale para evitar "recuadro" */
.dona-cata-featured.animate-in .dona-cata__bottle,
.don-pikis-featured.animate-in .don-pikis__bottle,
.pikis-joven-featured.animate-in .pikis-joven__bottle {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}

/* Specs con delays escalonados */
.dona-cata-featured.animate-in .dona-cata__spec-item:nth-child(1),
.don-pikis-featured.animate-in .don-pikis__spec-item:nth-child(1),
.pikis-joven-featured.animate-in .pikis-joven__spec-item:nth-child(1) {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.5s;
}

.dona-cata-featured.animate-in .dona-cata__spec-item:nth-child(2),
.don-pikis-featured.animate-in .don-pikis__spec-item:nth-child(2),
.pikis-joven-featured.animate-in .pikis-joven__spec-item:nth-child(2) {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.6s;
}

.dona-cata-featured.animate-in .dona-cata__spec-item:nth-child(3),
.don-pikis-featured.animate-in .don-pikis__spec-item:nth-child(3),
.pikis-joven-featured.animate-in .pikis-joven__spec-item:nth-child(3) {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.7s;
}

.dona-cata-featured.animate-in .dona-cata__spec-item:nth-child(4),
.don-pikis-featured.animate-in .don-pikis__spec-item:nth-child(4),
.pikis-joven-featured.animate-in .pikis-joven__spec-item:nth-child(4) {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.8s;
}

/* NOTA: will-change removido - solo causa overhead en performance */

/* Desactivar animaciones en móvil para mejor performance */
@media (prefers-reduced-motion: reduce) {
  .mezcales-collection__header,
  .dona-cata-featured,
  .don-pikis-featured,
  .pikis-joven-featured,
  .dona-cata__title,
  .don-pikis__title,
  .pikis-joven__title,
  .dona-cata__bottle,
  .don-pikis__bottle,
  .pikis-joven__bottle,
  .dona-cata__spec-item,
  .don-pikis__spec-item,
  .pikis-joven__spec-item {
    animation: none;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

@media (max-width: 768px) {
  /* Animaciones más simples en móvil */
  .mezcales-collection__header,
  .dona-cata-featured,
  .don-pikis-featured,
  .pikis-joven-featured {
    transition-duration: 0.5s;
  }
  
  .dona-cata__bottle,
  .don-pikis__bottle,
  .pikis-joven__bottle {
    transition-duration: 0.6s;
  }
  
  .dona-cata__spec-item,
  .don-pikis__spec-item,
  .pikis-joven__spec-item {
    transition-duration: 0.4s;
  }
}
