/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #0F1A20; /* Texto en tonos oscuros */
    background-color: #FDFFF7; /* Fondo claro */
}

/* Hero Section */
.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    position: relative;
    background-color: #0F1A20; /* Fondo oscuro */
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    z-index: 1;
}

.logo {
    width: 700px;
    height: auto;
    margin-bottom: 20px;
}

h1 {
    font-size: 2.5rem;
    font-weight: 500;
    margin-bottom: 60px;
    color: #FDFFF7; /* Texto claro sobre fondo oscuro */
}

/* Botones de contacto */
.contact-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 20px;
    width: 100%;
    position: relative;
}

.contact-buttons .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 50px;
    font-size: 1.2rem;
    border-radius: 2px;
    text-decoration: none;
    font-weight: 500;
    margin: 0 10px;
    width: 300px;
    transition: background 0.5s ease;
}

/* Iconos dentro de los botones */
.contact-buttons .btn-icon {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    display: inline-block;
}

/* Botones de contacto */
.contact-buttons .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 50px;
    font-size: 1.2rem;
    border-radius: 2px;
    text-decoration: none;
    font-weight: 500;
    margin: 0 10px;
    width: 300px;
    transition: background-position 0.5s ease; /* Transición general */
    background-size: 200% 200%; /* Permite el movimiento del fondo */
}
.submit-btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 50px;
    font-size: 1.2rem;
    border-radius: 2px;
    text-decoration: none;
    font-weight: 500;
    margin: 0 10px;
    width: 300px;
    transition: background-position 0.5s ease; /* Transición general */
    background-size: 200% 200%; /* Permite el movimiento del fondo */
}

/* Botón de Llamar (con fondo degradado y transición) */
.call-btn {
    background: linear-gradient(45deg, #007bff, #0056b3);
    color: #fff;
    transition: background-position 0.5s ease; /* Transición en la posición del fondo */
}

.call-btn:hover {
    background-position: 100% 0; /* Mueve el fondo al hacer hover */
}

/* Botón de WhatsApp (con fondo degradado y transición) */
.whatsapp-btn {
    background: linear-gradient(45deg, #2fe471, #1ebe57);
    color: #fff;
    transition: background-position 0.5s ease;
}

.whatsapp-btn:hover {
    background-position: 100% 0;
}

/* Header */
.main-header {
    position: fixed;
    top: -100px;
    left: 0;
    width: 100%;
    background-color: rgba(15, 26, 32, 0.95); /* Fondo oscuro con transparencia */
    padding: 10px 20px;
    transition: top 0.3s;
    z-index: 10;
}

.main-header nav ul {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.main-header nav ul li {
    list-style: none;
}

.main-header nav ul li a {
    color: #FDFFF7;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 400;
    transition: color 0.3s;
}

.main-header nav ul li a:hover {
    color: #DF2935; /* Color distintivo al hacer hover */
}

/* Secciones (About, Products) */
.about-section, .products-section {
    padding: 60px 20px;
    background-color: #FDFFF7; /* Fondo claro */
}

.products-section {
    background-color: #F9F9F9; /* Fondo ligeramente claro */
}

.about-section h2,
.products-section h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 20px;
    font-weight: 500;
    color: #0F1A20; /* Texto oscuro */
}

.about-section p,
.products-section p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    font-weight: 300;
    color: #0F1A20; /* Texto sobre fondo claro */
}

/* Sección Sobre Nosotros */
.about-section {
    padding: 60px 20px;
    background-color: #F1F1F1; /* Fondo gris claro */
    text-align: center;
}

.about-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 40px;
    padding: 0;
    flex-wrap: wrap;
    background-color: #efefef;
    border-radius: 10px;
    overflow: hidden;
    max-width: 1000px;
    margin: 40px auto;
}

.about-image {
    width: 200px;
    height: auto;
}

.about-text {
    flex: 1;
    text-align: left;
    max-width: 800px;
    padding: 20px;
}

.about-text h3 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 10px;
    color: #0F1A20;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
}

.right {
    text-align: right;
}

.about-text p.right {
    text-align: right;
}

/* Estilos para la sección de productos */
.product-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    justify-items: center;
}

.product-item {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 0;
    max-width: 300px;
    overflow: hidden;
}

.product-item h3 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-top: 15px;
    color: #0F1A20;
}

.product-item p {
    font-size: 1rem;
    color: #555;
    margin-top: 10px;
    padding: 0 20px 20px 20px;
}

.product-image {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Footer */
.main-footer {
    padding: 20px;
    background-color: #0F1A20; /* Fondo oscuro */
    color: #616669; /* Texto un poco más oscuro */
    text-align: center;
}

.footer-locations {
    margin-top: 20px;
}

.footer-locations h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.footer-locations ul {
    columns: 4;
    list-style-type: none;
    padding: 0;
    margin-bottom: 20px;
}

.footer-locations ul li {
    font-size: 1rem;
    margin-bottom: 5px;
}

.footer-contact a {
    color: #DF2935; /* Enlaces en color distintivo */
    text-decoration: none;
    font-size: 1rem;
    font-weight: 400;
}

.footer-contact a:hover {
    color: #A32027;
}
/* Sección de contacto */
.contact-section {
    padding: 60px 20px;
    background-color: #F9F9F9; /* Fondo rojo */
    color: #0F1A20; /* Texto blanco */
    text-align: center;
}

.contact-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #0F1A20; /* Título en blanco */
}

.contact-section p {
    font-size: 1.1rem;
    margin: 20px auto;
    color: #0F1A20;
    max-width: 800px;
    text-align: center;
}

form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-size: 1rem;
    color: #0F1A20;
}

input, textarea {
    width: 100%;
    padding: 10px;
    font-family: 'Poppins', sans-serif;
    border: 1px solid #0F1A20;
    border-radius: 5px;
    font-size: 1rem;
    resize: none;
    color: #0F1A20; /* Texto en negro */
}

input::placeholder, textarea::placeholder {
    color: #ccc;
}
input:focus, textarea:focus {
    border-color:#DF2935;
    outline: none;
}

button.submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 50px;
    font-size: 1.2rem;
    border-radius: 2px;
    text-decoration: none;
    transition: background 0.5s ease;
    font-weight: 500;
    background: linear-gradient(45deg, #DF2935, #9B2631); /* Fondo oscuro */
    color: #FDFFF7; /* Texto claro */
    border: none;
    cursor: pointer;
    background-size: 200% 200%; /* Permite el movimiento del fondo */
}

button.submit-btn:hover {
    background-position: 100% 0; /* Transición al hacer hover */
}

/* Responsividad */
@media (max-width: 768px) {
    .contact-section {
        padding: 40px 20px;
    }

    form {
        width: 100%;
    }

    .form-group {
        margin-bottom: 15px;
    }

    button.submit-btn {
        width: 100%;
    }
}


/* Texto de derechos en la parte inferior */
.footer-rights {
    margin-top: 20px;
    font-size: 0.9rem;
    color: #90969A; /* Texto un poco más oscuro */
}

/* Responsividad */
@media (max-width: 768px) {
    .logo {
        width: 90%;
        height: auto;
        margin-bottom: 20px;
    }

    h1 {
        font-size: 1.2rem;
    }

    .contact-buttons {
        flex-direction: column;
        align-items: center;
    }

    .contact-buttons .btn {
        width: 90%;
        margin: 5px 0;
    }

    .main-header nav ul {
        flex-direction: column;
        gap: 15px;
    }

    .product-list {
        flex-direction: column;
    }

    .about-item {
        flex-direction: column;
        text-align: center;
        padding: 0;
    }

    .about-image {
        width: 100%;
        max-width: 400px;
    }

    .about-text {
        text-align: center;
        max-width: 100%;
        padding: 0;
    }

    .about-text h3 {
        text-align: center;
        font-size: 1.3rem;
    }

    .about-text p {
        text-align: center;
        font-size: 1rem;
        padding: 0 20px;
    }

    .right {
        text-align: center;
    }

    .about-text p.right {
        text-align: center;
    }

    .image1 {
        margin-bottom: 20px;
        width: 100%;
        max-width: 400px;
    }

    .image2 {
        margin-top: 20px;
        width: 100%;
        max-width: 400px;
    }
}
