/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
:root {
  --color-primary: #6db341;
  --color-secondary: #1b773a;
  --color-terciary: #f0f7f0;
  --color-white: #ffffff;
  --color-light: #f3f5fa;
  --color-gray: #6f7271;
  --color-gray-light: #e8edf5;

  --color-text-primary: #000000;
}


body {
  font-family: "Inter", sans-serif;
  color: var(--color-text-primary);

}



a {
  color: var(--color-primary);
}

a:hover {
  color: var(--color-secondary);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Inter", sans-serif;
}

.text-center {
  text-align: center;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  overflow: hidden;
  background: var(--color-gray-light);
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid var(--color-primary);
  border-top-color: var(--color-secondary);
  border-bottom-color: var(--color-secondary);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  -webkit-animation: animate-preloader 1s linear infinite;
  animation: animate-preloader 1s linear infinite;
}

@-webkit-keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/

#header{

  background-color: rgba(255, 255, 255, 0.9);
  padding: 1rem;
  border-bottom: 5px solid var(--color-gray-light);
}


#header .logo {
  display: flex;
  align-items: center;
  gap: 0;
}


#header .logo img {
  max-height: 40px;
  padding-top: 5px;
}

#header .logo span {
  color: var(--color-gray);
  font-size: 24px;
  font-weight: 700;
  margin-left: 0;
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Desktop Navigation */
.nav-menu ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-menu>ul {
  display: flex;
}

.nav-menu>ul>li {
  position: relative;
  white-space: nowrap;
  padding: 10px 0 10px 28px;
}

.nav-menu a {
  display: block;
  position: relative;
  color: var(--color-gray);
  transition: 0.3s;
  font-size: 20px;
  letter-spacing: 0.5px;
  font-weight: 500;
  font-family: "Open Sans", sans-serif;
}

.nav-menu a:hover,
.nav-menu .active>a,
.nav-menu li:hover>a {
  color: var(--color-primary);
}

/* Mobile Navigation */
.mobile-nav-toggle {
  position: fixed;
  top: 20px;
  right: 15px;
  z-index: 9998;
  border: 0;
  background: none;
  font-size: 2.5rem;
  transition: all 0.4s;
  outline: none !important;
  line-height: 1;
  cursor: pointer;
  text-align: right;
}

.mobile-nav-toggle i {
  /* color: #fff; */
  color: #6f7271;
}

.mobile-nav {
  position: fixed;
  top: 55px;
  right: 15px;
  bottom: 15px;
  left: 15px;
  z-index: 9999;
  overflow-y: auto;
  background: #fff;
  transition: ease-in-out 0.2s;
  opacity: 0;
  visibility: hidden;
  border-radius: 10px;
  padding: 10px 0;
}

.mobile-nav * {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mobile-nav a {
  display: block;
  position: relative;
  color: #2ba14e;
  padding: 10px 20px;
  font-weight: 500;
  outline: none;
}

.mobile-nav a:hover,
.mobile-nav .active>a,
.mobile-nav li:hover>a {
  color: #24b437;
  text-decoration: none;
}

.mobile-nav-overly {
  width: 100%;
  height: 100%;
  z-index: 9997;
  top: 0;
  left: 0;
  position: fixed;
  background: rgba(40, 58, 90, 0.6);
  overflow: hidden;
  display: none;
  transition: ease-in-out 0.2s;
}

.mobile-nav-active {
  overflow: hidden;
}

.mobile-nav-active .mobile-nav {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-active .mobile-nav-toggle i {
  color: #fff;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
  position: relative;
  width: 100%;
  height: 100vh;
  background-image: url("../img/hero_img.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center 50%;
  overflow: hidden;

}

#hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(223, 223, 223, 0.8);
  z-index: 1;
}



#hero .container {
  padding-top: 72px;
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4rem;
  align-items: center;
  text-align: center;

}


#hero h1 {
 
  font-size: 4rem;
  font-weight: 700;
  line-height: 3.5rem;


}

#hero h1 span {

  color: var(--color-primary);
  display: block;
}

#hero h2 {
  color: var(--color-primary);
  margin-bottom: 50px;
  font-size: 2.5rem;
  font-style: italic;
}





@media (max-width: 991px) {
  #hero {
    height: 100vh;
    text-align: center;
  }


 
}

@media (max-width: 768px) {
  #hero h1 {
    font-size: 28px;
    line-height: 36px;
  }

  #hero h2 {
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 30px;
  }


}



@-webkit-keyframes up-down {
  0% {
    transform: translateY(10px);
  }

  100% {
    transform: translateY(-10px);
  }
}

@keyframes up-down {
  0% {
    transform: translateY(10px);
  }

  100% {
    transform: translateY(-10px);
  }
}

/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
  padding: 60px 0;
  overflow: hidden;
}

.section-bg {
  background-color: var(--color-gray-light);
}

.section-title {
  text-align: center;
  padding-bottom: 30px;
}

.section-title h2 {
  font-size: 32px;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
  color: var(--color-primary);
}

.section-title h2::before {
  content: "";
  position: absolute;
  display: block;
  width: 120px;
  height: 3px;
  border-radius: 5px;
  background: var(--color-primary);
  bottom: 0;
  left: calc(50% - 60px);
}


.text-section {
  color: var(--color-text-primary);
  font-size: 18px;
  font-weight: 300;
}

.icon-box {
    width: 40px;
    height: 40px;
    margin-right: 15px;
    background-color: var(--color-terciary); 
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;       
  }



  .feature-title {
    font-weight: 700;
    color: var(--color-gray);
    margin-bottom: 2px;
  }
  .feature-text {
    color: var(--color-gray);
    font-size: 0.95rem;
    line-height: 1.4;
  }



/*--------------------------------------------------------------
# Team
--------------------------------------------------------------*/
.team{

  background-color: var(--color-gray);
  border: solid;
  border-top-color: var(--color-gray-light);
    border-bottom-color: var(--color-gray-light);

}




/*--------------------------------------------------------------
# Valores
--------------------------------------------------------------*/

.valores .box {
  padding: 60px 40px;
  background: var(--color-white);
  height: 100%;
  border-top: 4px solid var(--color-white);
  border-radius: 5px;
}



.valores .box:hover {
  border-top-color: var(--color-primary);
}

@media (max-width: 992px) {
  .valores .box {
    max-width: 60%;
    margin: 0 auto 30px auto;
  }
}

@media (max-width: 767px) {
  .valores .box {
    max-width: 80%;
    margin: 0 auto 30px auto;
  }
}

@media (max-width: 420px) {
  .valores .box {
    max-width: 100%;
    margin: 0 auto 30px auto;
  }
}

.valores .box {
  position: relative;
  padding: 48px 30px 36px;
  border-radius: 12px;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-top-color 0.28s ease;
}

.valores .box .box-icon {
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg,#36b37e 0%, #22c55e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
}

.valores .box h2 {
 
  margin-top: 18px;
  font-size: 1.5rem;
  letter-spacing: 0.2px;
}

.valores .box p {
  
  margin-top: 12px;
}



.valores .box:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 40px rgba(31,83,45,0.12);
}

/*--------------------------------------------------------------
# Portfolio
--------------------------------------------------------------*/
.portfolio #portfolio-flters {
  list-style: none;
  margin-bottom: 20px;
}

.portfolio #portfolio-flters li {
  cursor: pointer;
  display: inline-block;
  margin: 10px 5px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  color: #444444;
  transition: all 0.3s;
  padding: 8px 20px;
  border-radius: 50px;
  font-family: "Poppins", sans-serif;
}

.portfolio #portfolio-flters li:hover,
.portfolio #portfolio-flters li.filter-active {
  background: var(--color-primary);
  color: #fff;
}

.portfolio .portfolio-item {
  margin-bottom: 30px;
}

.portfolio .portfolio-item .portfolio-img {
  overflow: hidden;
  height: 150px;
  width: 100%;
  position: relative;
}

 .portfolio-img img {
  transition: all 0.6s;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portfolio .portfolio-item .portfolio-info {
  opacity: 0;
  position: absolute;
  left: 15px;
  bottom: 0;
  z-index: 3;
  right: 15px;
  transition: all 0.3s;
  background: var(--color-primary);
  padding: 10px 15px;
}

.portfolio .portfolio-item .portfolio-info h4 {
  font-size: 18px;
  color: var(--color-white);
  font-weight: 600;
  margin-bottom: 0px;
}

.portfolio .portfolio-item .portfolio-info p {
  color: var(--color-white);
  font-size: 14px;
  margin-bottom: 0;
}

.portfolio .portfolio-item .portfolio-info .preview-link,
.portfolio .portfolio-item .portfolio-info .details-link {
  position: absolute;
  right: 40px;
  font-size: 24px;
  top: calc(50% - 18px);
  color: var(--color-white);
  transition: 0.3s;
}

.portfolio .portfolio-item .portfolio-info .preview-link:hover,
.portfolio .portfolio-item .portfolio-info .details-link:hover {
  color: #47b2e4;
}

.portfolio .portfolio-item .portfolio-info .details-link {
  right: 10px;
}

.portfolio .portfolio-item:hover .portfolio-img img {
  transform: scale(1.15);
}

.portfolio .portfolio-item:hover .portfolio-info {
  opacity: 1;
}

/*--------------------------------------------------------------
# Cards Nuestros Limones
--------------------------------------------------------------*/

/* Efecto para tarjetas de productos */
.card {
  transition: all 0.4s ease;
}


.card p{
  color: var(--color-text-primary);

}
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15) !important;
}

/* Efecto zoom en imágenes de cards */
.card-img-top {
  overflow: hidden;
  position: relative;
  transition: transform 0.6s ease;
  display: block;
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.card-body{

  height: 400px;
}

.card:hover .card-img-top {
  transform: scale(1.1) rotate(1deg);
}

/* Filtro suave en hover */
.card-img-top::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(109, 179, 65, 0.1);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
  pointer-events: none;
}

.card:hover .card-img-top::before {
  opacity: 1;
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/

iframe{

  height: 100%;
  width: 100%;
}



.contact .info i {
  font-size: 20px;
  color: var(--color-primary);
  float: left;
  width: 44px;
  height: 44px;
  background: var(--color-terciary);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
}

.contact .info h4 {
  padding: 0 0 0 60px;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--color-gray);
}

.contact .info p {
  padding: 0 0 10px 60px;
  margin-bottom: 20px;
  font-size: 14px;
  
}

.contact .info .email p {
  padding-top: 5px;
}


.contact .info .email:hover i,
.contact .info .address:hover i,
.contact .info .phone:hover i {
  background: var(--color-secondary);
  color: var(--color-white);
}


@-webkit-keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}



/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  font-size: 14px;
  background: var(--color-gray);
}

#footer .footer-bottom {
  padding-top: 30px;
  padding-bottom: 30px;
  color: #fff;
}

#footer .copyright {
  float: left;
}

@media (max-width: 768px) {
  #footer .footer-bottom {
    padding-top: 20px;
    padding-bottom: 20px;
  }
}

/*--------------------------------------------------------------
# Back to Top Button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99;
  background: var(--color-primary);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
}

.back-to-top:hover {
  background: #1b773a;
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}