/* ==============================
   VARIABLES DE COLOR Y FUENTE
============================== */
:root {
  --primary: #FF8C42;      /* Naranja mandarina suave */
  --secondary: #6B8E23;    /* Verde oliva */
  --dark: #1A1A1A;         /* Texto oscuro */
  --light: #FFF9F0;        /* Fondo crema claro */
}

body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  color: var(--dark);
  background-color: var(--light);
  overflow-x: hidden;
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
}

/* ==============================
   CONTENEDOR GENERAL
============================== */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* ==============================
   FONDO ANIMADO CON ÍCONOS CAYENDO
============================== */
.background-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.falling-icon {
  position: absolute;
  width: 40px;
  height: 40px;
  background-size: cover;
  opacity: 0.7;
  animation: fall linear forwards;
}

@keyframes fall {
  0% {
    transform: translateY(-100px) rotate(0deg);
    opacity: 0.9;
  }
  100% {
    transform: translateY(120vh) rotate(360deg);
    opacity: 0;
  }
}

/* ==============================
   HEADER + NAVBAR
============================== */
.header {

  background-color: #Ffa94d;
  backdrop-filter: blur(10px);
  position: fixed;
  width: 100%;
  z-index: 1000;
  padding: 10px 0;
  transition: top 0.5s ease, opacity 0.5s ease, background 0.5s ease;
}

.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.logo-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.logo-nav::-webkit-scrollbar {
  display: none;
}

.logo-inline {
  width: 80px;
  height: auto;
  flex-shrink: 0;
}

.nav ul {
  list-style: none;
  display: flex;
  gap: 15px;
  padding: 0;
  margin: 0;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.nav ul::-webkit-scrollbar {
  display: none;
}

.nav ul li a {
  display: inline-block;
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  white-space: nowrap;
  transition: transform 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.nav ul li a:hover {
  transform: translateY(-4px) scale(1.05);
  color: #1A1A1A;
}

#navbar.hide {
  top: -100px;
  opacity: 0;
}

#navbar.scrolling {
  background: #Ffa94d
}


/* ==============================
   HERO PRINCIPAL
============================== */
.hero {
  padding: 120px 0 60px;
  text-align: center;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  margin: 0 0 15px;
}

.hero h1 span {
  color: var(--primary);
}

.hero p {
  font-size: 1.2rem;
  color: #555;
  margin: 10px 0 30px;
}

.btn {
  display: inline-block;
  background-color: var(--primary);
  color: white;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid var(--primary);
  transition: all 0.3s;
}

.btn:hover {
  background-color: transparent;
  color: var(--primary);
}

/* ==============================
   SECCIÓN: PRODUCTO
============================== */
.product {
  padding: 30px 0;
}

.product-content {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
}

.product-image {
  flex: 1 1 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.product-image.small img {
  width: 100%;
  max-width: 350px;
  border-radius: 20px;
  transition: transform 0.5s ease;
}

.product-image:hover img {
  transform: scale(1.07);
}

.product-details {
  flex: 1 1 300px;
}

.product-details h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  margin-bottom: 15px;
}

.product-details h2 span {
  color: var(--primary);
}

.product-details p,
.product-details li {
  font-size: 1.05rem;
  line-height: 1.6;
}


/* ==============================
   SECCIÓN: ETIQUETA
============================== */

/* ==============================
   SECCIÓN: ETIQUETA
============================== */
.etiqueta {
  padding: 30px 0;
  background-color: rgba(255, 140, 66, 0.05); /* fondo suave mandarina */
}

.etiqueta h2 {
  text-align: center;
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  margin-bottom: 40px;
}

.etiqueta h2 span {
  color: var(--primary);
}

.etiqueta-content {
  display: flex;
  justify-content: center;
  align-items: center;
}

.etiqueta-img {
  width: 100%;
  max-width: 400px;
  border-radius: 15px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.etiqueta-img:hover {
  transform: scale(1.05);
}









/* ==============================
   SECCIÓN: MISIÓN Y VISIÓN
============================== */
.mission-vision {
  padding: 30px 0;
  background-color: #fff;
}

.mission-vision h2 {
  text-align: center;
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  margin-bottom: 40px;
}

.mission-vision h2 span {
  color: var(--primary);
}

.mv-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.mv-card {
  background-color: var(--light);
  border: 2px solid var(--primary);
  border-radius: 20px;
  padding: 30px;
  flex: 1 1 350px;
  max-width: 500px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.mv-card h3 {
  color: var(--primary);
  font-size: 1.6rem;
  margin-bottom: 15px;
}

.mv-card p {
  font-size: 1.05rem;
  line-height: 1.6;
}

/* ==============================
   SECCIÓN: MODELO CANVAS
============================== */
.modelo-canvas {
  padding: 30px 0;
  background-color: rgba(255, 140, 66, 0.05);
}

.modelo-canvas h2 {
  text-align: center;
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  margin-bottom: 40px;
}

.modelo-canvas h2 span {
  color: var(--primary);
}

.canvas-image {
  display: flex;
  justify-content: center;
}

.canvas-image img {
  width: 100%;
  max-width: 700px;
  border-radius: 15px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.canvas-image img:hover {
  transform: scale(1.05);
}

/* ==============================
   SECCIÓN: PROCESO ARTESANAL
============================== */
.process {
  padding: 30px 0;
  background-color: rgba(255, 140, 66, 0.05);
}

.process h2 {
  text-align: center;
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  margin-bottom: 40px;
}

.process h2 span {
  color: var(--primary);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.step {
  background: white;
  padding: 20px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.step-image {
  width: 100%;
  max-width: 240px;
  margin: 10px auto;
  display: block;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.step-image:hover {
  transform: scale(1.05);
}

.step h3 {
  color: var(--primary);
  font-size: 1.4rem;
}





/* ==============================
   SECCIÓN TESTIMONIOS
============================== */
.testimonios {
  padding: 30px 0;
  background-color: #fff;
  text-align: center;
}

.testimonios h2 {
  font-size: 2.4rem;
  font-family: 'Playfair Display', serif;
  margin-bottom: 40px;
}

.testimonios h2 span {
  color: var(--primary);
}

.carousel {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  gap: 20px;
}

.testimonial-slide {
  display: none;
  align-items: center;
  justify-content: flex-start;
  gap: 30px;
  background-color: var(--light);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  flex: 0 0 100%;

  padding-left: 100px;
}

.testimonial-slide.active {
  display: flex;
}

.testimonial-img {
  width: 240px;
  height: 320px;
  object-fit: cover;
  border-radius: 12px;
  border: 5px solid var(--primary);
}

.testimonial-box {
  text-align: left;
  flex: 1;
  padding-left: 0px;
}

.testimonial-box p {
  font-size: 1.1rem;
  margin-bottom: 15px;
  line-height: 1.6;
  text-align: justify;

white-space: normal;
max-width: 650px;


}

.testimonial-box strong {
  color: var(--primary);
  font-weight: 600;
}

.carousel button {
  background: none;
  border: none;
  font-size: 2.2rem;
  cursor: pointer;
  color: var(--primary);
  transition: transform 0.2s ease;
  z-index: 2;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.carousel button.prev {
  left: -50px;
}

.carousel button.next {
  right: -50px;
}

.carousel button:hover {
  transform: translateY(-50%) scale(1.2);
}

.carousel-dots {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 12px;
}

.carousel-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #ccc;
  transition: background-color 0.3s;
  cursor: pointer;
}

.carousel-dots .dot.active {
  background-color: var(--primary);
}

/* Responsive para móviles */
@media (max-width: 768px) {
  .carousel {
    flex-direction: column;
  }

  .testimonial-slide {
    flex-direction: column;
    padding: 25px 15px;
  }

  .testimonial-box {
    text-align: center;
    padding: 0;
  }

  .carousel button.prev,
  .carousel button.next {
    top: unset;
    transform: none;
    bottom: -40px;
  }

  .carousel button.prev {
    left: 20%;
  }

  .carousel button.next {
    right: 20%;
  }
}



/* ==============================
   SECCIÓN ACERCA DE NOSOTRAS
============================== */
.nosotras {
  padding: 30px 0;
  background-color: rgba(255, 140, 66, 0.05);
}

.nosotras h2 {
  font-size: 2.4rem;
  font-family: 'Playfair Display', serif;
  margin-bottom: 40px;
  text-align: center;
}

.nosotras h2 span {
  color: var(--primary);
}

.about-box {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.about-img {
  width: 100%;
  max-width: 350px;
  border-radius: 20px;
  transition: transform 0.3s ease;
  cursor: pointer;
  margin-bottom: 20px;
  border: 4px solid #FFa94d;
}


.about-img:hover {
  transform: scale(1.05);
}

.about-box p {
  font-size: 1.1rem;
  line-height: 1.6;
  text-align: center;
  margin: 0 auto;
  text-align: justify;
}










/* ==============================
   SECCIÓN: CONTACTO
============================== */
.contact {
  padding: 30px 0;
  text-align: center;
}

.contact h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  margin-bottom: 25px;
}

.contact h2 span {
  color: var(--primary);
}

.contact-info {
  list-style: none;
  padding: 0;
  font-size: 1.05rem;
  line-height: 2;
}

.contact-info a {
  color: var(--primary);
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

#contacto img[src="inst.jpg"] {
  width: 100%;
  max-width: 300px;
  height: auto;
  display: block;
  border-radius: 20px;
  margin: 20px auto;
  
  border: 4px solid #FFa94d;
}

/* ==============================
   FOOTER
============================== */
.footer {
  background-color: var(--dark);
  color: white;
  padding: 30px 0;
  text-align: center;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.social-links img {
  width: 30px;
  transition: transform 0.3s;
}

.social-links img:hover {
  transform: scale(1.2);
}

/* ==============================
   VIDEO LOGO TRANSICIÓN
============================== */
.video-wrapper {
  position: relative;
  margin: 20px auto;
  max-width: 640px;
  width: 100%;
}

.video-logo {
  width: 100%;
  max-width: 350px;
  display: block;
  margin: 0 auto;
  transition: opacity 1s ease;
}

.video-element {
  width: 100%;
  display: none;
  border-radius: 10px;
  margin-top: 15px;
}

/* ==============================
   MODAL DE IMAGEN
============================== */
.modal {
  display: none;
  position: fixed;
  z-index: 3000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 90%;
  border-radius: 15px;
}

.close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 9999;
}

/* ==============================
   RESPONSIVE GENERAL
============================== */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .logo-nav {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    overflow-x: auto;
  }

  .nav ul {
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 10px;
    padding: 10px 0;
  }

  .product-content {
    flex-direction: column;
  }

  .video-logo {
    max-width: 250px;
  }

  .mv-grid {
    flex-direction: column;
    align-items: center;
  }
}
