/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
.header {
    background-color: white;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

.logo {
    height: 50px; /* Ajusta el tamaño del logo según sea necesario */
    width: auto;
}


.top-header {
    background-color: #18375d;
    color: white;
    text-align: center;
    padding: 8px 0;
    font-size: 14px;
}

.top-header p {
    margin: 0;
    font-weight: bold;
}

.whatsapp-link {
    color: #25D366; /* Color oficial de WhatsApp */
    font-weight: bold;
    text-decoration: none;
}

.whatsapp-link:hover {
    text-decoration: underline;
}


.header h1 {
    margin: 0;
    font-size: 1.8rem;
    text-align: center;
}

.nav-menu {
    flex-grow: 1;
    display: flex;
    justify-content: flex-end;
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-list li {
    display: inline;
}

.nav-list a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    font-weight: bold;
    transition: color 0.3s ease;
}

.nav-list a:hover {
    color: #ff7f50;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    height: 50px; /* Ajusta el tamaño según sea necesario */
    width: auto;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 80px 20px;
    background: url('hero-bg.jpg') no-repeat center center/cover;
    color: rgb(0, 0, 0);
}

.hero h2 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 10px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 20px;
}

.btn {
    display: inline-block;
    background-color: #18375d;
    color: white;
    padding: 12px 25px;
    font-size: 18px;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}

.btn:hover {
    background-color: #000e58;
}
.whatsapp-link {
    color: #25D366; /* Color oficial de WhatsApp */
    font-weight: bold;
    text-decoration: none;
}

.whatsapp-link:hover {
    text-decoration: underline;
}

/* Section Styles */
section {
    padding: 4rem 0;
}

.products/*, .about, .industries*/ {
    text-align: center;
}

.products h2/*, .about h2, .industries h2*/{
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.about {
    text-align: center;
    font-family: Arial, sans-serif;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    color: #333;
}

.about h2 {
    font-size: 38px;
    font-weight: bold;
    margin-bottom: 10px;
}

.about p {
    font-size: 24px;
    margin-bottom: 15px;
}

.industries {
    text-align: center;
    font-family: Arial, sans-serif;
    max-width: 800px;
    margin: 40px auto;
    color: #333;
}

.industries h2 {
    font-size: 34px;
    font-weight: bold;
    margin-bottom: 15px;
}

.industries ul {
    list-style-type: disc;
    padding-left: 0;
    display: inline-block;
    text-align: left;
}

.industries li {
    font-size: 24px;
    margin: 5px 0;
}


.product-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
}
.product-item {
    text-align: center;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 12px;
    background-color: #fff;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}
.product-item:hover {
    transform: scale(1.08);
    box-shadow: 0px 6px 14px rgba(0, 0, 0, 0.25);
}
.product-item img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}







.contact-section {
    background: #f9f9f9;
    padding: 2rem 0;
    text-align: center;
}

.contact-section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 1rem;
}

.contact-item {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.contact-item h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
}

.contact-info img {
    width: 24px;
    height: 24px;
}

.contact-info p {
    margin: 0;
    font-size: 1rem;
}

.contact-info a {
    color: #25D366; /* Color verde característico de WhatsApp */
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.contact-info a:hover {
    color: #128C7E; /* Cambia a un tono más oscuro al pasar el cursor */
}




/* Footer */
.footer {
    background: #18375d;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
    font-size: 0.9rem;
}

/* Media Query para dispositivos móviles */
@media screen and (max-width: 480px) {
    .container {
        width: 95%; /* Hace que el contenido se ajuste mejor en móviles */
        max-width: 100%;
    }

    .header-container {
        flex-direction: column; /* Acomoda el logo y menú en columna */
        align-items: center;
        text-align: center;
        width: 100%; /* Asegura que ocupe toda la pantalla */
        padding: 0 10px; /* Reduce el padding lateral */
    }
    .header {
        padding: 10px 0; /* Reduce el padding para evitar desbordes */
    }

    .logo-title {
        flex-direction: column;
        gap: 5px; /* Reduce el espacio entre logo y título */
    }

    .logo {
        height: 40px; /* Reduce el tamaño del logo */
    }

    .nav-menu {
        flex-direction: column; /* Asegura que el menú no se desborde */
        align-items: center;
        width: 100%;
    }

    .nav-list {
        flex-direction: column;
        gap: 10px;
        padding: 0;
        width: 100%;
    }

    .nav-list li {
        width: 100%;
        text-align: center;
    }

    .nav-list a {
        display: block;
        width: 100%;
        padding: 10px 0; /* Asegura que los enlaces sean fáciles de tocar */
    }

    .hero {
        padding: 50px 15px; /* Reduce padding para evitar desbordes */
        background-size: cover; /* Asegura que la imagen de fondo se ajuste */
    }

    .hero h2 {
        font-size: 32px; /* Reduce el tamaño del título para móviles */
    }

    .hero p {
        font-size: 16px;
    }

    .product-list {
        grid-template-columns: 2fr; /* Una columna en pantallas pequeñas */
    }

    .contact-grid {
        grid-template-columns: 1fr; /* Asegura que los elementos se apilen */
    }

    .contact-item {
        padding: 1rem;
    }

    .footer {
        font-size: 0.8rem;
    }
}

@media screen and (max-width: 768px) {
    .container {
        width: 95%; /* Ajusta el contenido en tablets y móviles */
        max-width: 100%;
    }

    .header-container {
        flex-direction: column; /* Pone el logo y menú en columna */
        align-items: center;
        text-align: center;
        width: 100%;
        padding: 0 10px;
    }

    .header {
        padding: 10px 0;
    }

    .logo-title {
        flex-direction: column;
        gap: 5px;
    }

    .logo {
        height: 40px;
    }

    .nav-menu {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .nav-list {
        flex-direction: column;
        gap: 10px;
        padding: 0;
        width: 100%;
    }

    .nav-list li {
        width: 100%;
        text-align: center;
    }

    .nav-list a {
        display: block;
        width: 100%;
        padding: 10px 0;
    }

    .hero {
        padding: 50px 15px;
        background-size: cover;
    }

    .hero h2 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

    /* Ajuste de columnas en tablets */
    .product-list {
        grid-template-columns: repeat(2, 1fr); /* Dos columnas en pantallas medianas */
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-item {
        padding: 1rem;
    }

    .footer {
        font-size: 0.8rem;
    }
}
