/* ==============================
   FONTS
============================== */
@font-face {
  font-family: "Ethnocentric";
  src: url("../fonts/ethnocentric/ethnocentric rg.ttf") format("truetype");
  font-weight: 400;
}

@font-face {
  font-family: "Ethnocentric";
  src: url("../fonts/ethnocentric/ethnocentric rg it.ttf") format("truetype");
  font-weight: 400;
}

@font-face {
  font-family: "Poppins";
  src: url("../fonts/ethnocentric/Poppins-Regular.ttf") format("truetype");
  font-weight: 400;
}

@font-face {
  font-family: "Poppins";
  src: url("../fonts/ethnocentric/Poppins-Bold.ttf") format("truetype");
  font-weight: bold;
}

/* ==============================
   BODY Y TIPOGRAFÍA
============================== */
body {
  font-family: "Poppins", sans-serif;
  color: #101010;
  background-color: #a67c52;
  margin: 0;
}

h1, h2 {
  font-family: "Ethnocentric";
  color: #000000;
}

h3 {
  font-size: 20px;
  font-family: "Ethnocentric";
  width: 30%;
  margin: 0 auto;
  color: #d5d0c8;
  padding: 5px;
}

/* ==============================
   HERO AREA
============================== */
.hero_area {
  height: 100vh;
  background-image: url(../imagenes/ruta.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.header_section .navbar-brand img {
  width: 60px;
  border-radius: 50%;
}

.navbar-brand span {
  font-size: 24px;
  color: #ffffff;
  font-family: "Ethnocentric";
}

.custom_nav-container.navbar-expand-lg .navbar-nav .nav-link {
  padding: 10px 30px;
  color: #ffffff;
  text-transform: uppercase;
  font-family: "Ethnocentric";
  font-size: 20px;
}

.hero_section {
  text-align: center;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 75%;
}

.hero_section h1 {
  font-size: 80px;
  display: flex;
  justify-content: space-between;
  width: 80%;
  margin: 0 auto;
  color: #f7e6d0;
  padding: 10px;
}

.hero_btn-box a {
  display: inline-block;
  padding: 12px 55px;
  border: 2px solid #fff;
  color: #fff;
  margin-top: 40px;
  text-transform: uppercase;
  transition: 0.3s;
}

.hero_btn-box a:hover {
  background-color: #fff;
  color: #6b3b0f;
}

/* ==============================
   contenedor HISTORIA Y SABOR
============================== */
.saborehistoria {
  padding: 75px 0;
}

.saborehistoria .sabyhist {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

/* ==============================
   HISTORIA
============================== */
.Historia {
  background-color: #fff;
  padding: 25px;
  border-radius: 2px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  width: 48%;
  text-align: center;
}

.Historia h2 {
  font-family: "Ethnocentric";
  font-size: 28px;
  margin-bottom: 15px;
}

.Historia p {
  font-family: "Poppins";
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 15px;
}

.Historia img {
  width: 300px;
  height: 300px;
  border-radius: 2px;
  margin-bottom: 15px;
}

.Historia a {
  display: inline-block;
  padding: 8px 20px;
  border: 1.5px solid #000;
  color: #000;
  text-decoration: none;
  border-radius: 2px;
  transition: 0.3s;
}

.Historia a:hover {
  background-color: #1d2580;
  color: #fff;
  border-color: #1d2580;
}

/* ==============================
   SABOR
============================== */
.Sabor {
  background-color: #fff;
  padding: 25px;
  border-radius: 2px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  width: 48%;
  text-align: center;
}

.Sabor h2 {
  font-family: "Ethnocentric";
  font-size: 28px;
  margin-bottom: 15px;
}

.Sabor p {
  font-family: "Poppins";
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 15px;
}

.Sabor img {
  width: 300px;
  height: 300px;
  border-radius: 2px;
  margin-bottom: 15px;
}

.Sabor a {
  display: inline-block;
  padding: 8px 20px;
  border: 1.5px solid #000;
  color: #000;
  text-decoration: none;
  border-radius: 2px;
  transition: 0.3s;
}

.Sabor a:hover {
  background-color: #1d2580;
  color: #fff;
  border-color: #1d2580;
}

/* ==============================
   COSECHAS SECTION
============================== */
.cosechascompletas {
  padding: 50px 0;
  background-color: #f7f2eb;
  text-align: center;
}

.titulocosechas {
  font-family: "Ethnocentric";
  font-size: 32px;
  margin-bottom: 40px;
}

.contenedor_fotos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.contenedor_fotos div {
  flex: 1 1 200px;
  max-width: 220px;
  background-color: #fff;
  padding: 15px;
  border-radius: 2px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  text-align: center;
}

.contenedor_fotos img {
  width: 100%;
  height: 150px;
  border-radius: 2px;
  object-fit: cover;
  margin-bottom: 10px;
}

.cosechascompletas a {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 25px;
  border: 1.5px solid #000;
  color: #000;
  text-decoration: none;
  border-radius: 2px;
  transition: 0.3s;
}

.cosechascompletas a:hover {
  background-color: #1d2580;
  color: #fff;
  border-color: #1d2580;
}

/* ==============================
   PRODUCT SECTION
============================== */
.product_section .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.product_section .img-box {
  margin: 1%;
  flex: 1 1 45%;
  display: flex;
}

.product_section .img-box img {
  width: 100%;
  height: auto;
  border-radius: 2px;
  object-fit: cover;
}

.product_section a {
  display: inline-block;
  padding: 14px 35px;
  border: 1.5px solid #000;
  color: #000;
  transition: 0.3s;
}

.product_section a:hover {
  background-color: #1d2580;
  color: #fff;
}

/* ==============================
   bienestar - TAZA
============================== */
.bienestartotal {
  max-width: 900px;
  margin: 50px auto;
  background-color: #fff;
  border-radius: 2px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  padding: 30px;
  text-align: center;
}

.titulobienestar {
  font-family: "Ethnocentric";
  font-size: 28px;
  margin-bottom: 15px;
}

.texto-salud {
  font-family: "Poppins";
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.imagentazabienestar {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.img-taza {
  max-width: 350px;
  height: auto;
  border-radius: 2px;
  object-fit: contain;
}

.Bntleermas a {
  display: inline-block;
  padding: 10px 25px;
  border: 1.5px solid #000;
  color: #000;
  text-decoration: none;
  border-radius: 2px;
  transition: 0.3s;
}

.Bntleermas a:hover {
  background-color: #1d2580;
  color: #fff;
  border-color: #1d2580;
}

/* ==============================
   CONTACT SECTION
============================== */
.contact_section {
  color: #161e0d;
  background: url(../imagenes/polvocafe.jpg) no-repeat center center/cover;
  background-attachment: fixed;
  padding: 80px 0;
}

.contact_section input {
  width: 100%;
  border: 0;
  height: 50px;
  border-radius: 2px;
  margin: 20px 0;
  padding-left: 25px;
  background-color: #ffffff;
  color: #841111;
}

.custom_heading {
  color: #fafafa;
}

.contact_section input.message-box {
  height: 150px;
}

.contact_section button {
  background-color: #e92c06;
  padding: 15px 55px;
  border: none;
  border-radius: 2px;
  color: #fff;
  font-weight: bold;
  transition: 0.3s;
}

.contact_section button:hover {
  color: #e92c06;
  background-color: transparent;
  border: 2px solid #e92c06;
}

/* ==============================
   MUSEO Y RUTA - CLIENT SECTION
============================== */
.museoyruta {
  padding: 75px 15px;
  text-align: center;
  background-color: #f7f2eb; 
}

.contenermyr {
  margin-bottom: 30px;
}

.tituloexperiencias {
  font-family: "Ethnocentric";
  font-size: 28px;
  color: #000;
}

.textoexperiencia {
  color: #000;
}

.contenedor2myr {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  background-color: #fff; 
  padding: 30px;
  border-radius: 2px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.slidercarrousel .carousel-inner {
  width: 100%;
}

.client_container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  text-align: justify;
  margin-bottom: 70px;
}

.client_container .img_box {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 250px;
  min-height: 250px;
  border-radius: 100%;
  margin-right: 30px;
}

.img-ruta-cafe,
.img-museo-cafe {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.client_container .detail_box {
  background: linear-gradient(to bottom, #7a5b2b, #3b2b15);
  color: #fff;
  padding: 30px;
  border-radius: 2px;
  flex: 1;
  text-align: center;
}

/* Indicadores del carrusel */
.slidercarrousel .carousel-indicators li {
  background-color: #444;
  width: 35px;
  height: 15px;
  opacity: 1;
}

.slidercarrousel .carousel-indicators li.active {
  background-color: #e6b400;
}

/* ==============================
   FOOTER SECTION
============================== */
.footer_section {
  background-color: #f7f2eb;
  padding: 20px;
  text-align: center;
}

.footer_section p {
  color: #a94442;
  margin: 0;
}

.footer_section a {
  color: #000;
  text-decoration: none;
  font-weight: bold;
}

.video-contenedor {
  background-color: #f7f2eb;
  padding: 60px 0;
  text-align: center;
}

.titulo-video h2 {
  color: #4b2e05;
  margin-bottom: 20px;
  font-size: 2em;
}

.video-contenedor video {
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

/* 🌧️ Lluvia de granos de café */
.coffee-rain {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 9999;
}

.coffee-bean {
  position: absolute;
  top: -50px;
  width: 40px;
  height: 40px;
  background-image: url('../imagenes/cafe\ vector.png');
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.9;
  animation: fall linear infinite;
}

.video-natural {
  width: 100%;
  max-width: 800px; 
  height: auto;     
  display: block;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.video-cafe-section {
  padding: 40px 0;
  text-align: center;
}

.titulo-video {
  margin-bottom: 20px;
  color: #4b2e19;
  font-size: 28px;
  font-weight: bold;
}


@keyframes fall {
  to {
    transform: translateY(110vh) rotate(360deg);
    opacity: 0;
  }
}

/* ======= FOOTER DERECHOS RESERVADOS ======= */
.footer-derechos {
  background-color: #2d1a0e; 
  color: #fff;
  text-align: center;
  padding: 15px 10px;
  margin-top: 40px;
  font-size: 15px;
  letter-spacing: 0.5px;
}

.footer-derechos p {
  margin: 0;
}


/* =================================
   📱 RESPONSIVE AGREGADO AQUÍ
================================= */

/* CELULARES Y TABLETS */
@media (max-width: 768px) {

  /* HISTORIA Y SABOR: una columna */
  .saborehistoria .sabyhist {
    flex-direction: column;
    align-items: center;
  }

  .Historia,
  .Sabor {
    width: 100% !important;
    margin-bottom: 25px;
  }

  .Historia img,
  .Sabor img {
    width: 90% !important;
    height: auto !important;
  }

  .Historia h2,
  .Sabor h2 {
    font-size: 22px;
  }

  .Historia p,
  .Sabor p {
    font-size: 14px;
  }

  /* HERO en móvil */
  .hero_section h1 {
    font-size: 40px;
    width: 100%;
    flex-direction: column;
  }

  .custom_nav-container.navbar-expand-lg .navbar-nav .nav-link {
    font-size: 16px;
    padding: 8px 15px;
  }

  /* Cosechas */
  .contenedor_fotos div {
    max-width: 150px;
  }

  /* Bienestar */
  .bienestartotal {
    width: 90%;
  }

  /* Museo y ruta */
  .client_container {
    flex-direction: column;
  }

  .client_container .img_box {
    margin-right: 0;
    margin-bottom: 20px;
  }
}

/* CELULARES PEQUEÑOS */
@media (max-width: 480px) {

  .Historia img,
  .Sabor img {
    width: 100% !important;
  }

  .hero_section h1 {
    font-size: 32px;
  }

  .navbar-brand span {
    font-size: 18px;
  }

  .custom_nav-container.navbar-expand-lg .navbar-nav .nav-link {
    font-size: 14px;
  }
}
