/* Estilos Generales */
:root {
    --primary-color: #0056b3; /* Azul para botones y enlaces */
    --secondary-color: #003366; /* Azul más oscuro para texto principal */
    --light-grey: #f4f4f4;
    --dark-grey: #333;
    --text-color: #555;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    color: var(--primary-color);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.btn {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 12px 25px;
    border-radius: 5px;
    text-transform: uppercase;
    font-weight: bold;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: var(--secondary-color);
    text-decoration: none;
}

.section {
    padding: 60px 0;
    text-align: center;
}

.section:nth-child(even) {
    background-color: var(--light-grey);
}

h1, h2, h3, h4 {
    color: var(--dark-grey);
    margin-bottom: 20px;
}

h1 {
    font-size: 3em;
}

h2 {
    font-size: 2.5em;
    margin-bottom: 30px;
}

h3 {
    font-size: 1.8em;
}

p {
    margin-bottom: 15px;
}

/* Header (Hero Section) */
.hero {
    background-color: var(--secondary-color); /* Color de fondo oscuro sin imagen */
    color: #fff;
    padding: 100px 0;
    text-align: center;
}

.hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 50px;
}

.hero .logo span { /* Estilo para el texto del logo */
    font-size: 1.8em;
    font-weight: bold;
    color: #fff;
    padding: 5px 10px;
    border: 2px solid #fff;
    border-radius: 5px;
}

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

.hero .nav-links li {
    margin-left: 20px;
}

.hero .nav-links a {
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
}

.hero-content {
    max-width: 900px;
}

.hero-content h1 {
    color: #fff;
    margin-bottom: 15px;
}

.hero-content h2 {
    color: #fff;
    font-size: 1.8em;
    margin-bottom: 30px;
}

.hero-content p {
    color: #eee;
    font-size: 1.1em;
    margin-bottom: 40px;
}

.hero-visual-description { /* Estilo para la descripción textual de la imagen */
    font-style: italic;
    margin-bottom: 20px;
    color: #ccc;
}

/* Benefits Section */
.benefits-section .container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
}

.benefit-item {
    flex: 1;
    min-width: 280px;
    padding: 25px;
    border: 1px solid #ddd;
    border-radius: 8px;
    text-align: center;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
}

.benefit-item h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* Products Section */
.products-section .product-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
}

.product-item {
    width: 300px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    text-align: left;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Para que el contenido se distribuya bien */
}

.product-item h4 {
    color: var(--primary-color);
    font-size: 1.4em;
    margin-bottom: 10px;
}

/* Industries Section */
.industries-section ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.industries-section ul li {
    background-color: var(--primary-color);
    color: #fff;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Contact Section */
.contact-section {
    background-color: var(--light-grey);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto 40px auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form .btn {
    align-self: center;
    width: 50%;
}

.contact-info p {
    margin: 10px 0;
    font-size: 1.1em;
    color: var(--dark-grey);
}

/* Footer */
footer {
    background-color: var(--dark-grey);
    color: #fff;
    padding: 30px 0;
    text-align: center;
}

footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

footer .footer-links a {
    color: #fff;
    margin: 0 15px;
    font-size: 0.9em;
}

footer .social-text { /* Estilo para el texto de redes sociales */
    font-size: 0.9em;
    margin-top: 10px;
}

footer .social-text a {
    color: #fff;
    font-weight: bold;
}


/* Responsive Design */
@media (max-width: 768px) {
    .hero nav {
        flex-direction: column;
        margin-bottom: 30px;
    }

    .hero .nav-links {
        margin-top: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero .nav-links li {
        margin: 5px 10px;
    }

    h1 {
        font-size: 2.2em;
    }

    h2 {
        font-size: 1.8em;
    }

    .benefits-section .container,
    .products-section .product-grid {
        flex-direction: column;
        align-items: center;
    }

    .benefit-item,
    .product-item {
        width: 90%;
    }

    .industries-section ul li {
        width: 100%;
        text-align: center;
    }

    .contact-form .btn {
        width: 80%;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8em;
    }

    .hero-content h2 {
        font-size: 1.4em;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }
}