/* ---------------Contenido Principal------------ */

.mySwiper-main {
  width: 100%;
  height: 75vh;
  position: relative;
}
.swiper-slide {
  height: 100%;
}
.mySwiper-main .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.swiper-button-prev::after,
.swiper-button-next::after {
  display: none;
}
.swiper-button-prev.main-slider,
.swiper-button-next.main-slider {
  color: #000;
  background: rgba(255, 255, 255, 0.4);
  border: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  transition: 0.3s ease-out;
  font-size: 20px;
  transform: translateY(-50%);
}
.swiper-button-prev.main-slider:hover,
.swiper-button-next.main-slider:hover {
  background: #fff;
}
.main-swiper .mySwiper-main .swiper-pagination-bullet {
  background: gray;
  width: 8px;
  height: 8px;
  opacity: 1;
  margin: 0 !important;
}
.main-swiper .mySwiper-main .swiper-pagination-bullet-active {
  background: orange;
}
.main-swiper .mySwiper-main .swiper-pagination {
  background: #fff;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 4px 7px;
  width: fit-content;
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
}
section {
  scroll-margin-top: 25px;
}

main {
  display: flex;
  flex-direction: column;
  gap: 5rem;
}
section h2 {
  margin-bottom: 10px;
  color: #1a1a1a;
}
/* ---------------Galería de Pollos-------------- */
.chicken-gallery .container {
  position: relative;
}
.swiper-wrapper {
  padding-bottom: 5px;
}
.swiper-button-prev.carrusel-btn::after,
.swiper-button-next.carrusel-btn::after {
  display: none;
}
.swiper-button-prev.carrusel-btn,
.swiper-button-next.carrusel-btn {
  color: orange;
  background: transparent;
  border: 1px solid orange;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s ease-out;
  font-size: 25px;
}
.swiper-button-prev.carrusel-btn:hover,
.swiper-button-next.carrusel-btn:hover {
  background: orange;
  color: #fff;
}
.swiper-buttons {
  position: absolute;
  bottom: -60px;
  right: 10px;
  width: 107px;
  height: 50px;
}
.chicken-gallery .container .pag1,
.chicken-gallery .container .pag2,
.chicken-gallery .container .pag3 {
  /* background-color: red; */
  width: fit-content;
  position: absolute;
  bottom: -40px;
  left: 20px;
}
.swiper-pagination .swiper-pagination-bullet {
  background: orange;
}
/* Especificidad , important es para testear */
.chicken-gallery .product-card {
  display: flex;
  border-radius: 8px;
  cursor: pointer;
  overflow: hidden;
  color: #1a1a1a;
  box-shadow: 0 3px 3px rgba(0, 0, 0, 0.15);
}

.product-image {
  height: 13.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40%;
  position: relative;
  background: #f1f1f1;
}

.product-image img {
  max-width: 100%;
  max-height: 100%;
}
.product-details {
  padding: 10px 10px 8px;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  flex: 1;
  background: #fff;
}
.product-card h3 {
  font-size: clamp(0.9rem, 2.3vw, 1rem);
  font-weight: 500;
}

.product-info p {
  font-size: 13px;
}
.descuento {
  background: #d32f2f;
  padding: 4px 9px;
  border-radius: 4px;
  font-size: 0.75rem;
  color: #fff;
  font-weight: 600;
  position: absolute;
  top: 10px;
  left: 8px;
}
/* ----------Banner-1---------- */
.banner-2 {
  width: 100%;
  cursor: pointer;
}

.cta-btn {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: orange;
  border-radius: 30px;
  color: #fff;
  padding: 6px 0;
  gap: 0.3rem;
}
.cta-btn:hover {
  background: #e99700;
}
.precio {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 550;
  font-size: 1.1rem;
}
.precio span:nth-child(2) {
  color: #e53935; /*#888 gris*/
  font-size: 13px;
  text-decoration: line-through;
  padding-top: 1px;
}
/* ----------------Footer---------------- */
.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: all 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/*Para las cartas de publicidad*/
.reveal-left,
.reveal-right {
  opacity: 0;
  transition: all 0.8s ease-out;
}

.reveal-left,
.reveal-right {
  transform: translateY(60px); /* entra desde abajo */
}

.reveal-left.active,
.reveal-right.active {
  transform: translateY(0);
  opacity: 1;
}
.descripcion {
  line-height: 1.4;
}
@media (min-width: 1650px) {
  .reveal-left {
    transform: translateX(-200px);
  }

  .reveal-right {
    transform: translateX(200px);
  }

  .reveal-left.active,
  .reveal-right.active {
    opacity: 1;
    transform: translateX(0);
  }
  .reveal-right.delay {
    transition-delay: 0.4s;
  }
}
@media (max-width: 1024px) {
  .contact-info {
    display: none;
  }
}
@media (max-width: 900px) {
  .nav-links li a {
    font-size: 0.8rem;
  }
}

@media (max-width: 768px) {
  main {
    gap: 4rem;
  }
  .container {
    padding: 0 15px;
  }
  .product-carousel-section h2 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
  }
  .chicken-gallery h2 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2f2f2f;
  }
  .swiper-button-prev.main-slider,
  .swiper-button-next.main-slider {
    display: none;
  }
  .header-bottom {
    padding: 5px 0;
    background: orange;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.15);
  }
  .social-media {
    background: none;
    padding: 6px 0;
  }
  footer .container {
    grid-template-columns: repeat(2, 1fr);
  }
  .card-promotion {
    flex-direction: column;
  }
  .card-promotion picture {
    width: 100%;
  }
  iframe {
    height: 320px;
  }
  .chicken-gallery .container .pag1,
  .chicken-gallery .container .pag2,
  .chicken-gallery .container .pag3 {
    bottom: -30px;
  }
  .swiper-button-prev.carrusel-btn,
  .swiper-button-next.carrusel-btn {
    width: 33px;
    height: 33px;
    font-size: 20px;
  }
  .swiper-buttons {
    width: 92px;
    bottom: -52px;
  }
  .product-details {
    gap: 0.6rem;
    padding: 6px 10px;
  }
  .precio {
    font-size: 1rem;
  }
}
@media (max-width: 569px) {
  .card-promotions .container {
    gap: 2.5rem;
  }
}
@media (max-width: 550px) {
  .buttons {
    display: none;
  }
}
@media (max-width: 480px) {
  footer .container {
    grid-template-columns: 1fr;
  }
}

/*Nuevo Carrusel*/
.product-carousel-section {
  text-align: center;
}
.product-carousel-section .container {
  position: relative;
}
.product-carousel-title {
  font-size: 1.7rem;
  margin-bottom: 2rem;
}
.product-slide {
  cursor: pointer;
}
.product-slide img {
  max-width: 150px;
  height: auto;
}

.product-name {
  font-size: 1.05rem;
  font-weight: 500;
  width: 100%;
}
.swiper-button-prev.product-arrow,
.swiper-button-next.product-arrow {
  color: orange;
  background: transparent;
  border: 1px solid orange;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  transition: 0.3s ease-out;
  font-size: 20px;
  transform: translateY(50%);
}
.swiper-button-prev.product-arrow:hover,
.swiper-button-next.product-arrow:hover {
  background: orange;
  color: #fff;
}
.whatsapp-float {
  position: fixed;
  bottom: 15px;
  right: 15px;
  background-color: #25d366;
  color: white;
  font-size: 1.8rem;
  padding: 15px;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  z-index: 100;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: background-color 0.3s ease;
}
.whatsapp-float:hover {
  background-color: #20b358;
}

/* --------Móvil menu bars----- */
.menu-bars,
.close-menu {
  display: none;
}

/*Al final*/
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 5; /* Debe estar debajo del nav (que tiene z-index: 10) */
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease-in-out;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ---------Seccion de About Us------------- */
.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}
.about-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.about-content h2,
.ubicacion {
  font-size: 3rem;
  position: relative;
}
.about-content h2::after {
  position: absolute;
  content: "";
  background: linear-gradient(to left, #ffa500, #ff7f50); /* orange a coral */
  width: 20%;
  border-radius: 30px;
  height: 4px;
  left: 0;
  bottom: -5px;
}
.resaltar-titulo {
  color: orange;
}

.about-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #2f2f2f;
  text-align: justify;
}

.stats {
  display: flex;
  gap: 30px;
  margin-top: 20px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: orange;
}

.stat-label {
  font-size: 0.9rem;
  color: gray;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.video-container {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.video-wrapper {
  width: 100%;
  position: relative;
}

.video-wrapper video {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: all 0.3s ease;
}

.play-button::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 20px solid orange;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  margin-left: 4px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .about-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-content h2,
  .ubicacion {
    font-size: 2.5rem;
    text-align: center;
  }

  .about-content h2::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .stats {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .about-content h2,
  .ubicacion {
    font-size: 2rem;
  }

  .about-content p {
    font-size: 1rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .play-button {
    width: 60px;
    height: 60px;
  }

  .play-button::after {
    border-left-width: 15px;
    border-top-width: 9px;
    border-bottom-width: 9px;
  }
}

@media (max-width: 480px) {
  .about-content h2,
  .ubicacion {
    font-size: 1.8rem;
  }

  .about-container {
    padding: 0px 15px;
  }

  .about-content p {
    font-size: 0.9rem;
  }
  .stat-label {
    font-size: 0.7rem;
  }
}

/* --------------------Sección de Delivery----------- */
/*Estilos de Delivery*/
.delivery-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 15px;
}
.delivery-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.delivery-content h2 {
  font-size: 3rem;
  color: #2f2f2f;
  text-align: center;
  margin-bottom: -8px;
}

.delivery-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #2f2f2f;
}

.delivery-content .highlight {
  color: #667eea;
  font-weight: 600;
}
.delivery-buttons {
  display: flex;
  text-align: center;
  flex-wrap: wrap;
  white-space: nowrap;
  gap: 15px;
}
.btn-whatsapp {
  flex: 1;
  background-color: orange;
  color: #fff;
  padding: 12px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s ease;
}

.btn-secondary {
  flex: 1;
  background-color: transparent;
  border: 1px solid orange;
  color: orange;
  padding: 12px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s ease;
}
.verde {
  color: orange;
}
.image-wrapper {
  width: clamp(280px, 45vw, 500px);
  margin: 0 auto;
}

.image-wrapper img {
  width: 100%;
  object-fit: cover;
}
@media (max-width: 1024px) {
  .delivery-container {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .delivery-content h2 {
    font-size: 2.5rem;
  }
}
@media (max-width: 768px) {
  .delivery-content p {
    font-size: 1rem;
  }
  .main-swiper .mySwiper-main .swiper-pagination {
    background: none;
  }
  .main-swiper .mySwiper-main .swiper-pagination-bullet {
    background: #fff;
  }
  .main-swiper .mySwiper-main .swiper-pagination-bullet-active {
    background: orange;
  }
}

@media (max-width: 480px) {
  .delivery-content h2 {
    font-size: 1.7rem;
  }
  .delivery-content p {
    font-size: 0.9rem;
  }
  .delivery-buttons {
    flex-direction: column;
  }
}
