/* SLIDER RESPONSIVE STYLES */

.slider-container {
  position: relative;
  width: 100%;
  height: 100vh; /* Cambiado de 90vh a 100vh */
  overflow: hidden;
  z-index: 1;
}

.slider {
  display: flex;
  width: 300%;
  height: 100%;
  transition: transform 0.8s ease-in-out;
}

.slide {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
  position: relative;
}


.container-fluid.slider-wrapper {
  padding: 0 !important;
}

.slide::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
}

.slide-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 20px;
}

.slide-content h2 {
  font-size: 3.5rem;
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.slide-content p {
  font-size: 15px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.slide-1 { background-image: url('https://raw.githubusercontent.com/SakiTsubaki/epubs2/ada1e52f34bcc23a3c4a7dbe9b4435bb1e225d45/slider-index-1.png'); }
.slide-2 { background-image: url('https://raw.githubusercontent.com/SakiTsubaki/epubs2/0681b35f3c73d9dd29c9ab901455e99998eb5b33/slider-index-2.png'); }
.slide-3 { background-image: url('https://raw.githubusercontent.com/SakiTsubaki/epubs2/ede290d0a55d7cf40d5cba91b0097aef4f147993/slider-index-3.png'); }

.slider-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.3);
  color: white;
  border: none;
  padding: 15px 20px;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10;
  border-radius: 50%;
  margin: 0 10px;
}
.prev { left: 10px; }
.next { right: 10px; }

.dot {
  display: inline-block;
  width: 16px;
  height: 16px;
  background: #ffd966;
  border-radius: 50%;
  opacity: 0.6;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
}

.dot.active {
  opacity: 1;
  background: #cb9804;
  transform: scale(1.15);
}

/* Responsive */
@media (max-width: 600px) {
  .slider-container {
    max-width: 98vw;
    padding: 8px 0;
  }
  .slider-images {
    min-height: 120px;
  }
  .slider-img {
    border-radius: 8px;
  }
  .dot {
    width: 12px;
    height: 12px;
  }
}

.img-maletin-responsive {
  width: 100%;
  max-width: 400px;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 600px) {
  .img-maletin-responsive {
    max-width: 98vw;
  }
  .responsive-video1 {
    max-width: 760px;
    margin-right:30px;
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  }
}

/* Ofrenda: decorativas a ambos lados */
.ofrenda-section {
  position: relative;
  overflow: visible;

  padding: 30px 20px;
}
.ofrenda-wrapper {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 28px 20px;
  box-sizing: border-box;
}
.ofrenda-section .vela-left,
.ofrenda-section .vela-right {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 350px;
  opacity: 50%;
  height: auto;
  pointer-events: none;
  opacity: 0.98;
  filter: drop-shadow(0 6px 18px rgba(0,0,0,0.25));
}
.ofrenda-section .vela-left {
  left: -400px;
  top:450px;
}
.ofrenda-section .vela-right {
  right: -400px;
  top:100px;
}

.h2-ofrenda {
  font-size:30px;
  margin:10px;
  padding:10px;
}

@media (max-width: 900px) {
  .ofrenda-section .vela-left,
  .ofrenda-section .vela-right {
    display: none;
  }
  .ofrenda-wrapper { padding: 20px; }
}

@media (max-width: 700px) {

  .h2-ofrenda { font-size: 22px; text-align: center; }
}

.rabanos-cards {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  margin-top: 6px;
}
.rabanos-card {
  flex: 1 1 300px;
  max-width: 340px;
  min-width: 240px;
}
.rabanos-card .img-card-nuevo img {
  height: 160px;
}

.card-content-nuevo {
  padding: 14px 16px 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  font-family: "Noto Sans", "Baloo 2", sans-serif;
  align-items: flex-start;
}

.card-content-nuevo .boton_enlace_ambar,
.card-content-nuevo .boton-card-nuevo,
.card-content-nuevo .boton_enlace_lila {
  align-self: flex-start;
  margin-left: 0;
}

/* Responsive YouTube embed */

.responsive-video {
  max-width: 760px;
  margin-right:30px;
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}
.responsive-video iframe,
.responsive-video video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.cards-row-nuevo > h2 {
  flex: 0 0 100%;
  width: 100%;
  margin: 0 0 12px 0;
  text-align: center;
}

.mini-card-nuevo {
  background: #ffe6e6;
  background: linear-gradient(184deg,rgba(255, 230, 230, 1) 0%, rgba(245, 236, 225, 1) 50%, rgba(255, 248, 194, 1) 100%);
  text-align: left;
}


.mini-card-nuevo:hover {
  transform: translateY(-10px);
  box-shadow:
    0 22px 48px rgba(12, 22, 39, 0.12),
    0 6px 14px rgba(107,27,74,0.08);
}


.titulo-card-nuevo {
  font-size: 20px;
  color: #404041;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  text-shadow: 0 1px 0 rgba(255,255,255,0.7);
}


.card-content-nuevo p {
  margin: 0;
  font-size: 15px;
  color: #4a3740;
  line-height: 1.35;
}


.boton-card-nuevo {
  align-self: flex-start;
  margin-top: 6px;
  padding: 10px 14px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  background: linear-gradient(90deg,#ffcf67,#ff6fa0);
  color: #3b1027;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(255,111,145,0.12);
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.boton-card-nuevo:active { transform: translateY(1px) scale(.995); }

.mini-card-nuevo::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 8px;
  height: 6px;
  border-radius: 6px;
  background: linear-gradient(90deg,#ffd36b,#ff86b6);
  opacity: 0.18;
  pointer-events: none;
}


@media (max-width: 500px) {
  .mini-card-nuevo {
    flex: 0 0 80%;
    max-width: 80%;
    min-width: 80%;
  }
}


.cards-row-nuevo::-webkit-scrollbar { height: 8px; }
.cards-row-nuevo::-webkit-scrollbar-thumb { background: rgba(107,27,74,0.12); border-radius: 999px; }


@media (max-width: 700px) {

  .rabanos-cards,
  .cards-row-nuevo {
    justify-content: center;
  }

  .rabanos-card,
  .mini-card-nuevo {
    margin-left: auto;
    margin-right: auto;
    flex: 0 0 92%;
    max-width: 92%;
    min-width: 0;
  }

  .mini-card-nuevo {
    flex: 0 0 92% !important;
  }

  .card-content-nuevo {
    padding-left: 14px;
    padding-right: 14px;
  }
}

/* Container */
.seccion-destacada {
  position: relative;
  overflow: hidden;
  padding: 72px 20px;
  color: #fff;
  /* background image + soft animated gradient overlay */
  background-image:
    linear-gradient(120deg, rgba(145,23,72,0.72) 0%, rgba(125,24,61,0.48) 50%, rgba(180,90,120,0.32) 100%),
    url('https://raw.githubusercontent.com/SakiTsubaki/epubs/748b7d5626b460a502bae361333551727891de5e/ensalada-de-verduras-caseras-de-rabanos-frescos-en-la-mesa-de-cerca.jpg');
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.28);
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* subtle animated sheen on the gradient */
.seccion-destacada::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.03), rgba(255,255,255,0.0));
  pointer-events: none;
  mix-blend-mode: overlay;
  animation: sheen 8s ease-in-out infinite;
  z-index: 1;
}
@keyframes sheen {
  0% { transform: translateX(-30%); opacity: .05; }
  50% { transform: translateX(30%); opacity: .12; }
  100% { transform: translateX(-30%); opacity: .05; }
}

/* small decorative floating shapes (for a playful look) */
.seccion-destacada .float-shape {
  position: absolute;
  z-index: 0;
  opacity: 0.85;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,0.25));
  will-change: transform;
}
.float-shape.shape-1 { width: 160px; right: 8%; top: 12%; transform: rotate(-8deg); animation: floaty 6s ease-in-out infinite; }
.float-shape.shape-2 { width: 120px; left: 6%; bottom: 8%; transform: rotate(6deg); animation: floaty 7s ease-in-out infinite; }
@keyframes floaty {
  0% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(2deg); }
  100% { transform: translateY(0) rotate(0deg); }
}

/* inner layout */
.seccion-inner {
  position: relative;
  z-index: 2; /* above decorations */
  max-width: 1180px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 28px;
  align-items: center;
}


@media (max-width: 900px) {
  .seccion-inner { grid-template-columns: 1fr; padding: 8px 12px; }
}

@media (max-width: 900px) {
  .seccion-destacada {
    padding: 28px 12px;
    min-height: auto;
    border-radius: 10px;
    background-position: center;
  }

  /* hide floating decorative shapes earlier so they don't overlap content */
  .seccion-destacada .float-shape { display: none; }

  .seccion-copy h2 { font-size: 26px; text-align: center; }
  .seccion-copy p.lead { font-size: 15px; text-align: center; }

  .seccion-gallery { grid-template-columns: 1fr; gap: 12px; justify-items: center; }
  .seccion-card { max-width: 92%; width: 100%; margin: 0 auto; }
  .seccion-card .card-media { height: auto; max-height: 220px; object-fit: cover; }


  .seccion-copy { order: 1; }
  .seccion-gallery { order: 2; }

  .seccion-cta .boton_enlace_rosa { font-size: 16px; padding: 10px 14px; }
}

/* extra small screens */
@media (max-width: 520px) {
  .seccion-copy h2 { font-size: 22px; }
  .seccion-copy p.lead { font-size: 14px; }
  .seccion-inner { gap: 12px; }
  .seccion-card { max-width: 96%; }
}


.seccion-copy {
  text-align: left;
}
.seccion-copy h2 {
  margin: 0 0 10px;
  font-size: 34px;
  line-height: 1.02;
  font-weight: 800;
  /* font-family: "Baloo 2", "Noto Sans", sans-serif; */
  letter-spacing: -0.6px;
  text-shadow: 0 6px 18px rgba(0,0,0,0.35);
}
.seccion-copy p.lead {
  margin: 0 0 18px;
  font-size: 16.5px;
  color: rgba(255,255,255,0.96);
  line-height: 1.45;
  text-shadow: 0 6px 18px rgba(0,0,0,0.12);
}


.seccion-cta {
  margin-top: 10px;
}
.btn-cta {
  display: inline-block;
  background: linear-gradient(90deg,#ff6fa0,#ffcf67);
  color: #3b1027;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 800;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(255,111,145,0.12);
  transition: transform .18s ease, box-shadow .18s ease;
  animation: pulse 2200ms ease-in-out infinite;
}
.btn-cta:active { transform: translateY(1px) scale(.995); }
@keyframes pulse {
  0% { box-shadow: 0 10px 30px rgba(255,111,145,0.10); transform: translateY(0); }
  50% { box-shadow: 0 20px 48px rgba(255,111,145,0.18); transform: translateY(-2px); }
  100% { box-shadow: 0 10px 30px rgba(255,111,145,0.10); transform: translateY(0); }
}


.seccion-gallery {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 14px;
  justify-items: center;
  align-items: center;
}


.seccion-card {
  width: 100%;
  max-width: 360px;
  background: rgba(255,255,255,0.98);
  color: #222;
  border-radius: 12px;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform .22s ease, box-shadow .22s ease;
  box-shadow: 0 18px 40px rgba(12,22,39,0.12);
  cursor: pointer;
  will-change: transform;
  border: 1px solid rgba(12,22,39,0.04);
}
.seccion-card .card-media {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}
.seccion-card .card-body {
  padding: 12px 14px;
}
.seccion-card .card-title {
  font-weight: 700;
  margin: 0 0 6px;
  font-size: 15px;
}
.seccion-card .card-sub {
  margin: 0;
  color: #6b6b6b;
  font-size: 11.4px;
}


.seccion-card:hover {
  transform: translateY(-10px) rotateX(2deg) rotateY(0.5deg);
  box-shadow: 0 30px 70px rgba(12,22,39,0.18);
}


.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}


.seccion-card:focus {
  outline: 3px solid rgba(255,223,120,0.65);
  outline-offset: 6px;
}


.img-modal { position: fixed; inset: 0; display: none; align-items: center; justify-content: center; background: rgba(0,0,0,0.85); z-index: 9999; padding: 20px; }
.img-modal.open { display: flex; }
.img-modal img { max-width: 95%; max-height: 95%; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,0.6); background: transparent; }
.img-modal .close-btn { position: absolute; top: 18px; right: 18px; background: rgba(255,255,255,0.12); color: #fff; border: none; font-size: 20px; padding: 8px 10px; border-radius: 6px; cursor: pointer; }


@media (max-width: 520px) {
  .seccion-copy h2 { font-size: 24px; text-align: center; }
  .seccion-copy p.lead { text-align: center; font-size: 15px; }
  .seccion-inner { gap: 16px; }
  .seccion-card { max-width: 92%; }
  .float-shape { display: none; }
}

/* Sección Parallax Interactivos */
.parallax-interactivos {
  position: relative;
  min-height: 450px;
  background-image: url('https://raw.githubusercontent.com/SakiTsubaki/epubs2/5e23a0fb4b09e0593bc761864cd85f88cc12bd40/parallax-222.png');
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 80px 20px;
  overflow: hidden;
}

/* Overlay Morado */
.parallax-interactivos::before {

  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #3b2a66;
  z-index: 1;
}

.interactivos-container {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
}

.interactivos-grid {
  display: flex;
  gap: 25px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Reutilizando tu estilo de mini-card-nuevo pero adaptado */
.card-interactivo {
  flex: 1 1 300px;
  max-width: 320px;
  background: white;
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.3s ease;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  text-decoration: none !important;
}

.card-interactivo:hover {
  transform: translateY(-10px);
}

.card-interactivo img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-interactivo-footer {
  padding: 15px;
  text-align: center;
  background: #fff;
}

.card-interactivo-footer h4 {
  color: #83002e;
  font-weight: 700;
  margin: 0;
  font-size: 20px;
}

@media (max-width: 768px) {
  .parallax-interactivos { background-attachment: scroll; };
}
/* Slider */
.slider-container { position: relative; width: 100%; height: 90vh; overflow: hidden; z-index: 1; }
.slider { display: flex; width: 300%; height: 100%; transition: transform 0.8s ease-in-out; }
.slide { width: 100%; height: 100%; background-size: cover; background-position: center; display: flex; justify-content: center; align-items: center; color: white; text-align: center; position: relative; }
.slide::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.4); }
.slide-content { position: relative; z-index: 2; max-width: 800px; padding: 20px; }
.slide-content h2 { font-size: 3.5rem; margin-bottom: 10px; text-shadow: 2px 2px 4px rgba(0,0,0,0.5); }
.slide-content p { font-size: 17px; text-shadow: 2px 2px 4px rgba(0,0,0,0.8); }

.slide-1 { background-image: url('https://raw.githubusercontent.com/SakiTsubaki/epubs2/ada1e52f34bcc23a3c4a7dbe9b4435bb1e225d45/slider-index-1.png'); }
.slide-2 { background-image: url('https://raw.githubusercontent.com/SakiTsubaki/epubs2/0681b35f3c73d9dd29c9ab901455e99998eb5b33/slider-index-2.png'); }
.slide-3 { background-image: url('https://raw.githubusercontent.com/SakiTsubaki/epubs2/ede290d0a55d7cf40d5cba91b0097aef4f147993/slider-index-3.png'); }

.slider-control { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.3); color: white; border: none; padding: 15px 20px; font-size: 1.5rem; cursor: pointer; z-index: 10; border-radius: 50%; margin: 0 10px; }
.prev { left: 10px; } .next { right: 10px; }
