:root {
    --primary-color: #434341;
    --secondary-color: #63b32e;
    --light-gray: #f5f5f5;
    --white: #ffffff;
    --dark-gray: #2a2a28;
    --medium-gray: #666666;
    --whatsapp-color: #25D366;
    --facebook-color: #1877F2;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    color: var(--primary-color);
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Header Navigation */
header {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
}

.logo img {
    max-height: 50px; /* Ajusta la altura máxima del logo */
    width: auto; /* Mantén la proporción de la imagen */
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a {
    color: var(--white);
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--secondary-color);
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    margin: 5px;
    transition: all 0.3s ease;
}

/* Hero Section */
#hero {
    height: 100vh;
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('/api/placeholder/1200/800');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: var(--white);
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding-top: 80px;
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.hero-content h3 {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.primary-btn {
    background-color: var(--secondary-color);
    color: var(--white);
}

.primary-btn:hover {
    background-color: #559c27;
}

.secondary-btn {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.secondary-btn:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

/* Section Styling */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--medium-gray);
    margin-bottom: 40px;
}

.gray-bg {
    background-color: var(--light-gray);
}

/* Products Section */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.product-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-card h3 {
    padding: 15px 15px 5px;
    font-size: 1.3rem;
    color: var(--primary-color);
}

.product-card p {
    padding: 0 15px 15px;
    color: var(--medium-gray);
}

.cta-center {
    text-align: center;
    margin-top: 40px;
}

/* Brands Section */
.brands-container, .clients-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 40px;
}

.brand, .client {
    text-align: center;
    transition: transform 0.3s ease;
}

.brand:hover, .client:hover {
    transform: scale(1.05);
}

.brand img, .client img {
    max-width: 150px;
    height: auto;
    margin-bottom: 10px;
}

.brand h3, .client h3 {
    font-size: 1.1rem;
    color: var(--primary-color);
}

/* Carrucel section */
/* Añade o modifica estos estilos en tu archivo styles.css */
.swiper-slide.brand {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 180px; /* Altura fija para todos los slides */
    padding: 15px;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.swiper-slide.brand .img-container {
    height: 100px; /* Altura fija para el contenedor de la imagen */
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-bottom: 10px;
}

.swiper-slide.brand img {
    max-width: 100px;
    max-height: 80px; /* Altura máxima de la imagen */
    width: auto;
    height: auto;
    object-fit: contain; /* Mantiene la proporción sin recortar */
}

.swiper-slide.brand h3 {
    margin-top: auto; /* Empuja el texto hacia abajo */
    font-size: 1rem;
    color: var(--primary-color);
}
  

/* About Section */
.about-content {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-top: 40px;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Contact Section */
.contact-container {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.contact-info, .map-container {
    flex: 1;
}

.contact-info h3, .map-container h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.contact-info p {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: var(--white);
    font-size: 1.5rem;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.social-icon:hover {
    transform: scale(1.1);
}

.social-icon.whatsapp {
    background-color: var(--whatsapp-color);
}

.social-icon.facebook {
    background-color: var(--facebook-color);
}

/* Map */
.map-container {
    display: flex;
    flex-direction: column;
}

.map {
    width: 100%;
    height: 350px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
}

.map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.map-note {
    font-style: italic;
    color: var(--medium-gray);
}

/* Footer */
footer {
    background-color: var(--dark-gray);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.footer-logo span {
    color: var(--secondary-color);
}

.footer-links h3, .footer-contact h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: var(--white);
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--secondary-color);
}

.footer-contact p {
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Footer social icons */
.footer-contact .social-icons {
    margin-top: 15px;
}

.footer-contact .social-icon {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
}

/* Responsive Design */
@media screen and (max-width: 900px) {
    .nav-links {
        position: absolute;
        right: 0;
        height: 92vh;
        top: 8vh;
        background-color: var(--primary-color);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-around;
        width: 50%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
        z-index: 1000;
    }

    .nav-links li {
        opacity: 0;
    }

    .burger {
        display: block;
    }

    .nav-active {
        transform: translateX(0%);
    }

    .about-content, .contact-container {
        flex-direction: column;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .hero-content h3 {
        font-size: 1.5rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }
}

@media screen and (max-width: 600px) {
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
    }

    .nav-links {
        width: 70%;
    }
}

@keyframes navLinkFade {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.toggle .line2 {
    opacity: 0;
}

.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
}