/*/////////// Body ///////////// */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Roboto', sans-serif;
}

body {
  background-color: #f5f5f5;
  color: #2c3e50;
  line-height: 1.6;
}

header {
  background-color: #fff;
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 20px 10%;
  position: sticky;
  top: 0;
  z-index: 1000;
}

header nav a {
  color: #174C27;
  margin-left: 20px;
  text-decoration: none;
  font-weight: bold;
}

/*header nav a:hover {
  /*text-decoration: underline;*/

 /* text-decoration: none;
 
}*/

.hero {
 /* background: url('https://images.unsplash.com/photo-1501004318641-b39e6451bec6?auto=format&fit=crop&w=1950&q=80') center/cover no-repeat;*/
 background-color: #fff;

  text-align: center;
  /*padding: 100px 20px;*/
  
}

@keyframes fadeIn {
  from {opacity: 0; transform: translateY(20px);}
  to {opacity: 1; transform: translateY(0);}
}



.btn {
  background-color: #27ae60;
  color: white;
  padding: 15px 30px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  font-size: 1em;
  transition: 0.3s;
}

.btn:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

section {
  padding: 60px 10%;
}

.productos, .blog {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.card {
  background-color: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: scale(1.1);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-content {
  padding: 20px;
}

.garantia {
  background: linear-gradient(135deg, #174C27, #27ae60);
  color: white;
  /*text-align: center;*/
}

.garantia h2 {
  margin-bottom: 20px;
}

.sobre {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contacto {
  background-color: #174C27;
  color: white;
}

.contacto form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 600px;
  margin: auto;
}

.contacto input,
.contacto textarea {
  padding: 15px;
  border: none;
  border-radius: 10px;
  font-size: 1em;
}

footer {
  background-color: white;
  color: white;
  padding: 40px 10%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  text-align: center;
}

footer h4 {
  margin-bottom: 10px;
}

footer a {
  color: #174C27;
  text-decoration: none;
  display: block;
  margin-bottom: 5px;
}

footer a:hover {
  text-decoration: underline;
}

.redes i {
  margin: 0 10px;
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.redes i:hover {
  transform: scale(1.2);
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2em;
  }

  header nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }

  .productos, .blog {
    grid-template-columns: 1fr;
  }

  footer {
    grid-template-columns: 1fr;
  }
}
.logo-container {
  background-color: #e0e0e0;
  text-align: center;
  padding: 1.5rem 0;
}

.logo-container img {
  height: 80px;
}
.redes {
display: flex;
justify-content: center;
gap: 20px;
margin-top: 10px;
}

.redes a {
color: #174C27 !important; /* Asegura que se aplique este color */
font-size: 1.8em;
transition: transform 0.3s ease;
text-decoration: none;
}

.redes a:hover {
transform: scale(1.2);
color: #27ae60 !important; /* Color en hover */
}   
.enlace:hover {
    transform: scale(1.2);
    text-decoration: none;
    color:#27AE60;
    /*background-color: #27AE60;*/
}
.logo_img:hover {
    transform: scale(1.3);
}


 /*//////////// Carrusel de Imagenes //////////////// */
.carousel-container {
  position: relative;
  width: 100%;
  max-width: 100%;
 /* margin: 40px auto;*/
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}
.carousel-slide {
  display: flex;
  transition: transform 0.5s ease-in-out;
}
.carousel-slide img {
  width: 100%;
  height: auto;
  flex-shrink: 0;
  object-fit: contain;
  background: white;
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  background: rgba(0, 0, 0, 0.4);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  z-index: 1;
  border-radius: 50%;
}
.carousel-btn.prev { left: 10px; }
.carousel-btn.next { right: 10px; }

.carousel-dots {
  text-align: center;
  margin-top: 10px;
}
.carousel-dots span {
  display: inline-block;
  height: 10px;
  width: 10px;
  background: #ccc;
  border-radius: 50%;
  margin: 0 5px;
  cursor: pointer;
  transition: background 0.3s ease;
}
.carousel-dots span.active {
  background: #27ae60;
}


/*/////////// Nav Bar //////////// */
.dropdown:hover .dropdown-menu {
  display: block;
  margin-top: 0;
  
}

/* Color personalizado de enlaces */
.navbar-nav .nav-link {
  color: #174C27 !important;
}

.dropdown-menu a {
  color: #174C27 !important;
  
}
.navbar-custom {
  background-color: #fff; 
}
.dropdown:hover .dropdown-menu {
  display: block;
  margin-top: 0;
  background-color: #ddd;
}
.dropdown-item{
  
    background-color: #ddd;
    border-bottom: 2px solid white;
}
/* Color personalizado de enlaces */
.navbar-nav .nav-link {
  color: #fff !important;
}

.dropdown-menu a {
  color: #174C27 !important;
  background-color: #ddd;
}

/* Fondo personalizado del navbar */
.navbar-custom {
  background-color: #fff;
 
  
}
.navbar-nav .nav-link:hover,
.dropdown-menu a:hover {
 
  color: #27AE60 !important;

 /* text-decoration: underline;
  text-decoration-color: black;*/

}
.dropdown-menu a {
color: #174C27 !important;
text-decoration: none;
border-bottom: 2px solid white;
}

.dropdown-menu a:hover {
color: #27AE60 !important;

}

.dropdown-menu a:focus,
.dropdown-menu a:active,
.dropdown-menu a:visited {
color: #174C27 !important;
background-color: transparent !important;
outline: none;
box-shadow: none;
}
.nav-item{
font-size:13px;
color: white;
        border: 2px solid white;
        padding: 3px 3px; 
        margin: 1px;
        display: inline-block;
        transform: skewX(-15deg);
background-color:#174C27;
border-bottom: 2px solid white;
border-top: 2px solid white;
border-left: 2px solid white;
border-right: 2px solid white;
/*padding: 1rem 1rem;*/

}
.capa {

background-color: #f2f2f2;
box-shadow: 0 4px 50px rgba(5, 14, 19, 1); /* Añade una sombra */

}


/*////////////// Scroll Top Boton //////////////*/
    
#scrollTopBtn {
    position: fixed;
    bottom: 90px;
    right: 30px;
    display: none;
    background-color: #27AE60;
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 24px;
    text-align: center;
    cursor: pointer;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
}

