/* Reset básico necesario */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
}




.hero {
  background-image: url("../img/fondo/montana.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero h1 {
  color: #fff;
  font-size: 3rem;
  text-align: center;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
  margin-bottom: 1rem;
}

.subtitulo {
  color: #fff;
  font-size: 1.3rem;
  text-align: center;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
}

.contenido-hero {
  text-align: center;
  color: #fff;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
}

.btn-hero {
  margin-top: 1.5rem;
  padding: 0.8rem 1.8rem;
  background: linear-gradient(135deg, #6b4f3b, #a97454);
  color: #fff;
  border: none;
  border-radius: 25px;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 1px 1px 5px rgba(0,0,0,0.3);
  transition: background 0.3s ease;
}

.btn-hero:hover {
  background: linear-gradient(135deg, #a97454, #6b4f3b);
}

.barra-contacto {
  width: 100%;
  background-color: #3e2e2e;
  color: #fff;
  text-align: center;
  padding: 0.5rem 0;
  font-size: 0.9rem;
  position: fixed;
  top: 0;
  margin: 0;
  left: 0;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.contacto-wpp {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.contacto-wpp:hover {
  color: #a97454;
}

/* Barra superior con número de WhatsApp */
.top-bar {
  background-color: #1a1a1a;
  color: #fff;
  text-align: center;
  padding: 0.4rem 0;
  font-size: 0.9rem;
}

.top-bar a {
  color: #fff;
  text-decoration: none;
}

/* Estilos del navbar */
.navbar {
  position: fixed;
  top: 2rem;
  width: 100%;
  z-index: 999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 2rem;
  transition: all 0.3s ease;
  background-color: rgba(26, 26, 26, 0.95);

}

.navbar.scrolled {
  top: 0;
  background-color: rgba(26, 26, 26, 0.6);
  backdrop-filter: blur(10px);
}


.logo {
  color: #fff;
  font-size: 1.5rem;
  font-weight: bold;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links li a {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s;
}

.nav-links li a:hover {
  color: #c8a97e;
}

.search-icon {
  color: #fff;
  cursor: pointer;
  font-size: 1.2rem;
}


/* ✅ Botón flotante de WhatsApp oculto al inicio */
.btn-wpp-flotante {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  color: white;
  padding: 0.8rem 1rem;
  border-radius: 50%;
  font-size: 1.4rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  text-decoration: none;
}

.btn-wpp-flotante:hover {
  background-color: #1ebe5b;
}

.recuadros {
  display: flex;
  justify-content: space-around;
  padding: 40px;
  gap: 20px;
  flex-wrap: wrap;
  background-color: #0f0f0f;
}

.card {
  background-color: #4a2600;
  color: #fff;
  padding: 20px;
  border-radius: 12px;
  width: 300px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
  border: 2px solid transparent;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.card:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
  border-color: #c28840; /* Efecto borde especial al hacer hover */
}

.testimonios {
  background-color: #1a1a1a;
  color: #fff;
  padding: 60px 20px;
  text-align: center;
}

.testimonios h2 {
  font-size: 2rem;
  color: #f2a950;
  margin-bottom: 40px;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
}

.swiper {
  width: 100%;
  max-width: 800px;
  margin: auto;
  padding: 20px 0;
}

.testimonial-card {
  background-color: #2b1e1e;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: scale(1.02);
}

.testimonial-card .emoji {
  font-size: 2rem;
  margin-bottom: 15px;
}

.testimonial-card p {
  font-style: italic;
  margin-bottom: 15px;
}

.testimonial-card h4 {
  font-weight: bold;
  color: #c28840;
}

/* Estilos para flechas y paginación */
.swiper-button-prev,
.swiper-button-next {
  color: #f2a950;
}

.swiper-pagination-bullet {
  background-color: #c28840;
}

.filosofia {
  background-image: url('../img/fondo/filosofia.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  height: 450px; /* Altura fija para que no crezca demasiado */
  padding: 0 20px;
  color: #fff;
  text-align: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.filosofia::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0, 0, 0, 0.6); /* oscurece un poco la imagen para que el texto destaque */
  z-index: 1;
}

.filosofia-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  background-color: rgba(74, 38, 0, 0.6); /* café oscuro semi-transparente */
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.filosofia-content h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #f2a950;
}

.filosofia-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #eee;
}

@media (max-width: 768px) {
  .filosofia {
    background-attachment: scroll;
    background-position: top center;
    background-size: cover;
    height: auto;
    padding: 60px 20px;
  }

  .filosofia-content {
    padding: 20px;
  }
}


.productos-destacados {
  background-color: #0f0f0f;
  padding: 80px 20px;
  text-align: center;
  color: #fff;
}

.contenedor-productos {
  max-width: 1200px;
  margin: 0 auto;
}

.productos-destacados h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: #fff;
}

.subtitulo {
  color: #c8a97e;
  font-size: 1.1rem;
  margin-bottom: 50px;
}

.grid-productos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.producto-card {
  background-color: #1a1a1a;
  border: 1px solid #3a3a3a;
  border-radius: 10px;
  padding: 20px;
  transition: transform 0.3s;
}

.producto-card:hover {
  transform: translateY(-5px);
}

.producto-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.producto-card h3 {
  font-size: 1.2rem;
  color: #fff;
  margin: 10px 0 5px;
}

.precio {
  color: #c8a97e;
  font-weight: bold;
  margin-bottom: 15px;
}

.btn-ver {
  background-color: #c8a97e;
  color: #0f0f0f;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s;
}

.btn-ver:hover {
  background-color: #a07a5e;
}

.btn-ver-todos {
  margin-top: 40px;
}

.ver-todos {
  color: #c8a97e;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
}

.ver-todos:hover {
  text-decoration: underline;
}

.footer {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../img/fondo/pie.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-color: #111;
  color: #eee;
  padding: 60px 20px 30px;
  text-align: center;
  font-family: 'Georgia', serif;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
  
}

.footer-container {
  max-width: 900px;
  margin: 0 auto;
}

.footer-logo {
  font-size: 2rem;
  margin-bottom: 20px;
  font-weight: bold;
}

.footer-nav {
  margin-bottom: 20px;
}

.footer-nav a {
  margin: 0 10px;
  color: #eee;
  text-decoration: none;
  font-size: 1rem;
}

.footer-nav a:hover {
  color: #c4a47c;
}

.footer-social {
  margin-bottom: 20px;
}

.footer-social a {
  margin: 0 10px;
  text-decoration: none;
  font-size: 1rem;
  color: #eee;
}

.footer-social a:hover {
  color: #c4a47c;
}

.footer-phrase {
  font-style: italic;
  margin-bottom: 10px;
  color: #ccc;
}

.footer-copy {
  font-size: 0.85rem;
  color: #777;
}

.logo-img {
  height: 50px; /* ajusta según tu diseño */
  width: auto;
}

/* Botón hamburguesa (solo se muestra en móviles) */
.hamburger {
  display: none;
  font-size: 1.8rem;
  color: #fff;
  cursor: pointer;
}

/* Menú responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background-color: rgba(26, 26, 26, 0.95);
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding: 1rem 0;
  }

  .nav-links.show {
    display: flex;
  }

  .hamburger {
    display: block;
  }

  .search-icon {
    display: none; /* opcional: ocultar en móvil */
  }
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 6px; /* espacio entre ícono y texto */
  font-size: 1rem;
}
