@charset "UTF-8";
/* =========================================================
   TIERRA VIVA - main.scss
   Paleta, estilo base y estructura general
   ========================================================= */
/* 🎨 VARIABLES */
/* ================== BODY ================== */
body {
  font-family: "Lato", sans-serif;
  background-color: #faf3f3;
  color: #3C3C3C;
  margin: 0;
  padding: 0;
}

/* ================== HEADER FIJO ================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: #5B8C5A;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Deja espacio para el header fijo */
main {
  margin-top: 100px;
  width: 90%;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* ================== NAV ================== */
.navbar-brand img {
  height: 60px;
}

.navbar {
  background-color: #5B8C5A;
}

.navbar-nav .nav-link {
  color: #fff !important;
  font-weight: 600;
  transition: 0.3s;
}
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active {
  color: #F6D58E !important;
  text-decoration: underline;
}

/* ================== GRID PRINCIPAL ================== */
.presentacion-grid {
  display: grid;
  grid-template-areas: "titulo titulo" "logo contenido";
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto 1fr;
  min-height: 100vh;
  gap: 20px;
  padding: 40px;
  align-items: center;
}

.logo {
  grid-area: logo;
  display: flex;
  justify-content: center;
  align-items: center;
}
.logo img {
  width: 100%;
  max-width: 500px;
  height: auto;
  object-fit: contain;
}

.contenido {
  grid-area: contenido;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 15px;
  padding: 20px;
}
.contenido p {
  font-size: 1.2rem;
  line-height: 1.5;
  text-align: justify;
}

/* ================== BANNERS ================== */
.banner-general {
  width: 100%;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 50px;
  background-size: cover;
  background-position: center left;
}
.banner-general h1 {
  color: white;
  font-size: 2.2rem;
  font-weight: 700;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.6);
}
.banner-general.banner-dulce {
  background-image: url("../imagenes/banner-dulce-frutas.png");
}
.banner-general.banner-salado {
  background-image: url("../imagenes/banner-salados-verdura.png");
}
.banner-general.banner-contacto {
  background-image: url("../imagenes/banner-arcoiris.png");
}

/* ================== CARDS ================== */
.card {
  border: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: white;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}
.card .card-title {
  color: #5B8C5A;
  font-weight: bold;
}
.card .card-text {
  color: #3C3C3C;
}

.frasco {
  width: 100%;
  height: 300px;
  object-fit: contain;
  background-color: white;
  border-radius: 5px;
  padding: 10px;
}

/* ================== CARRUSEL ================== */
.carousel-item img {
  width: 100%;
  max-height: 450px;
  object-fit: contain;
}

.carousel-caption {
  background-color: rgba(91, 140, 90, 0.6);
  border-radius: 10px;
}
.carousel-caption h3 {
  color: #F6D58E;
  font-weight: bold;
  text-shadow: 1px 1px 3px black;
}
.carousel-caption p {
  color: white;
  font-size: 1.1rem;
}

/* ================== FORMULARIO ================== */
.formulario {
  border: 2px solid #5B8C5A;
  background-color: white;
  border-radius: 10px;
  padding: 20px;
}
.formulario label {
  color: #3C3C3C;
}
.formulario .btn-success {
  background-color: #5B8C5A;
  border: none;
}
.formulario .btn-success:hover {
  background-color: rgb(70.8217391304, 108.9565217391, 70.0434782609);
}

.mapa iframe {
  border-radius: 10px;
}

/* ===== BOTÓN FLOTANTE DE WHATSAPP ===== */
.btn-whatsapp {
  position: fixed;
  bottom: 20px; /* distancia desde abajo */
  right: 20px; /* distancia desde la derecha */
  width: 40px; /* tamaño reducido */
  height: 40px;
  z-index: 1000; /* que quede siempre arriba */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.btn-whatsapp img {
  width: 100%;
  height: auto;
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
}
.btn-whatsapp:hover {
  transform: scale(1.15);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* ================== FOOTER ================== */
footer {
  position: relative;
  background-color: #5B8C5A;
  color: white;
  text-align: center;
  padding: 25px;
}
footer p {
  margin-bottom: 15px;
  font-size: 1.1rem;
}
footer .logo-pie {
  height: 100px;
  margin-bottom: 10px;
}
footer .redes {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-bottom: 15px;
}
footer .redes a img {
  width: 32px;
  transition: transform 0.3s ease;
}
footer .redes a img:hover {
  transform: scale(1.2);
}

/*BOTON FLOTARNE*/
.btn-whatsapp {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 1000;
  transition: transform 0.3s ease;
}
.btn-whatsapp img {
  width: 55px;
}
/* ================== RESPONSIVE ================== */
@media (max-width: 992px) {
  .navbar-nav {
    text-align: center;
  }
  main.container-fluid h1 {
    font-size: 2.5rem;
  }
  .frasco {
    height: 250px;
  }
  .carousel-item img {
    max-height: 350px;
  }
}
@media (max-width: 576px) {
  main.container-fluid {
    justify-content: center !important;
    text-align: center;
  }
  main.container-fluid h1 {
    font-size: 2rem;
  }
  main.container-fluid p {
    font-size: 1rem;
  }
  .carousel-item img {
    max-height: 250px;
  }
  footer {
    flex-direction: column;
    text-align: center;
  }
  footer .seguinos {
    text-align: center;
  }
  footer .redes img {
    width: 25px;
    margin: 5px;
  }
}
/* ================== EFECTO PING PONG (rebote) ================== */
@keyframes rebote {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}
/* Aplicar a los frascos */
.frasco-pingpong {
  display: inline-block;
  animation: rebote 1.2s ease-in-out infinite;
}

/* ROTAR NORMAL 
.anim-rotar {
  transition: transform 0.3s cubic-bezier(.68,-0.55,.27,1.55);  çun poquito más lento 
  transform-origin: center bottom;  pivote en la base del frasco 

  &:hover
    transform: rotate(20deg) scale(1.1);  giro notorio: 15 grados 
  }
}*/
/* ESCALAR FUERTE (solo para frascos salados) */
.frasco-salado {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  transform-origin: center;
}
.frasco-salado:hover {
  transform: scale(1.2);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

/*SESGAR EN TEXTO (para títulos del banner) */
.texto-sesgado {
  display: inline-block; /* importante: permite transformar texto */
  transition: transform 0.4s ease;
}
.texto-sesgado:hover {
  transform: skewX(-10deg) scale(1.05);
  letter-spacing: 1px; /* separa un poco las letras */
}

@keyframes flotar-lento {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  } /* antes era -8px */
  100% {
    transform: translateY(0);
  }
}
.logo-sesgado {
  display: inline-block;
  animation: entrada-sesgada 1.2s ease-out both, flotar-lento 4s ease-in-out infinite;
}

/*EFECTO DE FLOTAR SUAVE PARA EL LOGO */
@keyframes flotar-lento {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
  100% {
    transform: translateY(0);
  }
}
/*CLASE APLICADA AL LOGO */
.logo-sesgado {
  display: inline-block;
  animation: entrada-sesgada 1.2s ease-out both, flotar-lento 4s ease-in-out infinite;
}

/*ANIMACIÓN DE SALUDO EN EL LOGO DEL PIE */
@keyframes saludo-footer {
  0%, 100% {
    transform: rotate(0deg) scale(1);
  }
  20% {
    transform: rotate(-10deg) scale(1.1);
  }
  40% {
    transform: rotate(10deg) scale(1.1);
  }
  60% {
    transform: rotate(-6deg) scale(1.05);
  }
  80% {
    transform: rotate(6deg) scale(1.05);
  }
}
.logo-pie {
  display: inline-block;
  cursor: pointer;
  transition: transform 0.3s ease;
}
.logo-pie:hover {
  animation: saludo-footer 1.5s ease-in-out;
}

/*# sourceMappingURL=main.css.map */
