:root {
    --primary-green: #00a859;
    --dark-green: #007236;
    --light-green: #e0f2e1;
    --dark-blue: #003366;
    --light-blue: #e6f0ff;
    --gray: #666666;
    --light-gray: #f5f5f5;
    --white: #ffffff;
}

/* Estilos generales y reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    color: #333;
    line-height: 1.6;
    background-color: var(--white);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header y navegación */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-green);
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo i {
    margin-right: 10px;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 25px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark-blue);
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-menu a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-green);
    transition: width 0.3s;
}

.nav-menu a:hover {
    color: var(--primary-green);
}

.nav-menu a:hover:after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--dark-blue);
}

/* Botones */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--dark-blue);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s;
    margin: 0 10px;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--primary-green);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-green);
}

/* Títulos de sección */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 36px;
    color: var(--dark-blue);
    margin-bottom: 15px;
}

.section-title p {
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

/* Footer */
footer {
    background-color: var(--dark-blue);
    color: var(--white);
    padding: 60px 0 20px;
    margin-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-column h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--primary-green);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: var(--white);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: inline-block;
    color: var(--white);
    background-color: rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    transition: background-color 0.3s;
}

.social-icons a:hover {
    background-color: var(--primary-green);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    color: #ccc;
}

/* Responsive */
@media (max-width: 992px) {

    .about-content,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.show {
        display: flex;
    }

    .nav-menu li {
        margin: 10px 0;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero {
        height: 60vh;
    }
}


/* Carrusel catálogo */
.catalogo-carousel {
    margin-top: 60px;
}

.catalogo-carousel .swiper {
    width: 100%;
    padding: 40px 0;
}

.swiper-slide {
    background: var(--white);
    border-radius: 8px;
    text-align: center;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.swiper-slide:hover {
    transform: translateY(-5px);
}

.swiper-slide img {
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.swiper-slide h3 {
    color: var(--dark-blue);
    font-size: 18px;
}

/* Productos Section */
.product-details {
    padding: 80px 0;
    background-color: var(--white);
}

.product-categories {
    margin-bottom: 50px;
}

/* Filtros de categoría */
.category-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 10px 20px;
    background-color: var(--light-gray);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--primary-green);
    color: var(--white);
}

/* Grid de productos */
.products-grid.detailed {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

/* Tarjetas de productos (solo imagen) */
.product-item {
    overflow: hidden;
    border-radius: 8px;
    transition: transform 0.3s;
}

.product-item:hover {
    transform: scale(1.05);
}

/* Imagen del producto */
.product-img {
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
}

.product-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}



/* Responsive */
@media (max-width: 768px) {
    .products-grid.detailed {
        grid-template-columns: 1fr;
    }

    .product-img img {
        height: 180px;
    }
}




/* 
.cat1-swiper {
    width: 100%;
    padding: 40px 0;
}

.cat1-swiper .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}
 */
/* 
.swiper-slide:hover {
    transform: translateY(-5px);
    transition: transform 0.3s;
} */

.swiper-slide {
    transition: transform 0.3s;
}

.swiper-slide:hover {
    transform: translateY(-5px) !important;
    /* !important asegura que sobrescriba Swiper */
}

.swiper-slide:active {
    transform: translateY(-5px) !important;
    /* !important asegura que sobrescriba Swiper */
}





/* Sección AgreenerTech */
.agreenertech {
  padding: 80px 0;
  background: var(--light-green);
}

.agreenertech .section-title h2 {
  color: var(--primary-green);
}

.agreenertech .swiper-slide {
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: transform 0.3s;
}

.agreenertech .swiper-slide:hover {
  transform: translateY(-5px);
}

.agreenertech .product-img img {
  height: 200px;
  object-fit: cover;
  width: 100%;
}

.agreenertech .product-content {
  padding: 15px;
  text-align: center;
}

/* Tabs AgreenerTech */
.agreenertech-tabs {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.agreenertech-tab {
  padding: 10px 20px;
  border: 2px solid var(--primary-green);
  border-radius: 25px;
  background: transparent;
  color: var(--primary-green);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.agreenertech-tab.active,
.agreenertech-tab:hover {
  background: var(--primary-green);
  color: var(--white);
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}



.agreenertech-description {
    text-align: center;
    margin: 20px auto 40px;
    max-width: 700px;
}

.agreenertech-description p {
    color: var(--gray);
    font-size: 16px;
    line-height: 1.6;
}

.agreenertech-slide {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 467px; 
    text-align: center;
    overflow: hidden;
}


.logo {
    display: flex;
    align-items: center;
    gap: 8px; /* espacio entre imagen y texto */
}
