/* 
   Autor: Johann Alexander Soto Hernández
   Fecha: 18 de marzo de 2025
   Descripción: Estilos para lubricantes pior
*/
body {
    font-family: 'Questrial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
    min-height: 100vh;
}

header {
    background-color: #ffffff;
    color: white;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    
}
@media screen and (max-width: 768px) {
    header {
        flex-direction: column;
        display: grid;
    }
}

.logo{
    display: flex;
    align-items: center;
    transition: transform 0.3s ease-in-out; 
}

.logo img{
    width: 200px;
    height: auto;
    
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

nav ul li {
    margin: 0 15px;
}
nav ul li a {
    text-decoration: none;
    color: rgb(5, 5, 5);
    font-size: 18px;
    padding: 10px;
    transition: 0.3s;
}
nav ul li a:hover {
    background-color: #a19f9f;
    border-radius: 5px;
}
.menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 30px;
    color: rgb(0, 0, 0);
    cursor: pointer;
    transition: transform 0.3s ease, color 0.3s ease;
}
.menu-btn:hover {
    color: #ffcc00;
    transform: scale(1.1);
}
@media screen and (max-width: 768px) {
    .menu-btn {
        display: block;
    }
    .all {
        display: flex;
        flex-direction: column; 
        align-items: center; 
        width: 100%;
    }

    nav ul {
        display: none; 
        flex-direction: column;
        position:static;
        top: 60px;
        right: 0;
        background-color: #dfdddd;
        width: 100%;
        text-align: center;
        padding: 10px 0;
        border-radius: 10px;
        font-size: 30px;
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    }


    .nav{
        display: contents;
    }

    nav ul.menu-active {
        display: flex; 
    }

    nav ul li {
        margin: 10px 0;
        padding: 15px 0;
        border-bottom: 2px solid #a1a1a1; 
        width: 100%; 
        margin: auto; 
    }

    
    nav ul li:last-child {
        border-bottom: none;
    }
}
.logo-move {
    transform: translateY(10px); 
}
.hero1{
    margin-top: 10%;
}
.hero {
    position: relative;
    width: 100%;
    height: 600px; 
    background: url('imagenes/encabezado.jpg') no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}

.hero-content {
    background: rgba(0, 0, 0, 0.5); 
    padding: 20px;
    border-radius: 10px;
}

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

.hero p {
    font-size: 18px;
    margin-bottom: 15px;
}

.hero-btn {
    display: inline-block;
    background: #ff6600;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    font-size: 18px;
    border-radius: 100px;
    transition: background 0.3s;
}

.hero-btn:hover {
    background: #e65c00;
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-top: 5%;
}
.button {
    background-color: #0a2540;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
}
.button:hover {
    background-color: #003366;
}
footer {
    background-color: #0a2540;
    color: white;
    text-align: center;
    padding: 10px;
    margin-top: 20px;
}
.button-group {
    display: flex;
    justify-content: center; 
    gap: 15px; 
    margin-top: 15px;
}

.btn-primary {
    display: inline-block;
    padding: 12px 20px;
    font-size: 18px;
    text-decoration: none;
    border-radius: 100px;
    background: #ff6600;
    color: white;
    transition: background 0.3s ease-in-out;
}

.btn-secondary {
    display: inline-block;
    padding: 12px 20px;
    font-size: 18px;
    text-decoration: none;
    border-radius: 100px;
    background: #ffffff;
    color: #333;
    border: 2px solid #ff6600;
    transition: background 0.3s ease-in-out;
    
}

.btn-primary:hover {
    background: #e65c00;
}

.btn-secondary:hover {
    background: #ddd;
}
.titulo1{
    color: #f89552;
}
.contenido1{
    color: #666;
}

.carousel-container {
    width: 80%;
    margin: 40px auto;
}

.swiper {
    width: 100%;
    height: 550px;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.5s ease-in-out;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}


.swiper-pagination-bullet-active {
    background: #ff6600;
}
.info-section {
    display: flex;
    flex-direction: row; 
    align-items: center;
    text-align: center; 
    gap: 80px;
    width: 90%;
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    border-radius: 10px;
}

.info-section img {
    width: 500px; 
    height: auto;
    border-radius: 5px;
}

.info-text {
    max-width: 400px;
}

.info-text h1 {
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 5px;
    color: #f89552;
    text-transform: uppercase;
}

.info-text h3 {
    font-size: 20px;
    color: #666;
    line-height: 1.6;
}
.info-section {
    display: flex; 
    align-items: center; 
    gap: 20px; 
    padding: 20px;
}

.info-image {
    width: 40%; 
    max-width: 300px;
}

.info-text {
    width: 60%;
}

@media (max-width: 768px) {
    .info-section {
        flex-direction: column;
        text-align: center;
    }

    .info-image {
        width: 80%; 
    }
}

@media (max-width: 820px) {
    .info-section {
        width: 95%;
        padding: 15px;
        flex-direction: column;
    }

    .info-text h3 {
        font-size: 24px; 
    }

    .info-text p {
        font-size: 14px;
    }

    .info-section img {
        width: 350px;
    }
}

@media (max-width: 480px) {
    .info-text h3 {
        font-size: 20px;
    }

    .info-text p {
        font-size: 13px;
    }

    .info-section img {
        width: 250px;
    }

    .small-images img {
        width: auto;
        height: 70px;
    }
}


.cards-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    grid-template-columns: repeat(3, 1fr);
}


.card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
    padding: 20px;
    transition: transform 0.3s ease-in-out;
}


.card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
}


.card h3 {
    font-size: 18px;
    margin: 10px 0;
    color: #333;
}


.card p {
    font-size: 14px;
    color: #666;
}


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


@media (max-width: 1024px) {
    .cards-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .cards-container {
        grid-template-columns: 1fr;
    }
}

footer {
    background: #222;
    color: #fff;
    padding: 20px 0;
    font-size: 14px;
}


.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    flex-wrap: wrap;
}


.footer-logo img {
    width: 150px;
    height: auto;
}


.footer-links {
    display: flex;
    gap: 15px;
}

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

.footer-links a:hover {
    color: #ffcc00;
}


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

.footer-social img {
    width: 25px;
    height: 25px;
    transition: transform 0.3s;
}

.footer-social a:hover img {
    transform: scale(1.2);
}


.footer-bottom {
    text-align: center;
    padding-top: 15px;
    font-size: 12px;
    
}


@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 10px;
        margin: 10px 0;
    }

    .footer-social {
        margin-top: 10px;
    }
}
.about-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 80px;
    background-color: rgba(0, 0, 0, 0.5);
    position: relative;
}

.about-container {
    max-width: 900px;
    width: 100%;
    text-align: left;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    padding: 30px;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.about-container:hover {
    transform: translateY(-5px);
}

.about-title {
    font-size: 2.4em;
    margin-right: 40px;
    color: #2C3E50;
    font-weight: bold;
    text-align: center;
}

.about-text {
    font-size: 1.2em;
    color: #34495E;
    line-height: 1.8;
    text-align: justify;
    margin-bottom: 20px;
}

.reverse {
    justify-content: flex-end;
}

.reverse .about-title {
    text-align: right;
    margin-left: 40px;
}

.reverse .about-text {
    text-align: justify;
}

.reverse .about-container {
    flex-direction: row-reverse;
}

@media screen and (max-width: 768px) {
    .about-section {
        flex-direction: column;
        padding: 50px 20px;
    }

    .about-container {
        padding: 20px;
        margin: 10px 0;
        max-width: 100%;
    }

    .about-title {
        font-size: 2em;
        margin: 10px 0;
        text-align: center;
    }

    .about-text {
        font-size: 1em;
        text-align: center;
    }

    .reverse .about-title {
        text-align: center;
    }
}

@media screen and (max-width: 480px) {
    .about-title {
        font-size: 1.7em;
    }

    .about-text {
        font-size: 0.9em;
    }

    .about-container {
        padding: 15px;
    }
}

.acerca-page {
    background-image: url('imagenes/acerca.jpg');

}

#whatsapp-button {
    position: fixed;
    bottom: 40px; 
    right: 40px;  
    z-index: 1000; 
    background-color: transparent; 
    border-radius: 50%; 
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); 
}

#whatsapp-icon {
    width: 100px; 
    height: 100px; 
    border-radius: 50%;
}
#whatsapp-button:hover {
    transform: scale(1.5); 
    transition: transform 0.3s ease; 
}

.body-servicios{
    background-image: url(imagenes/servicios.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-blend-mode:soft-light;
}
.service-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    padding: 40px;
    justify-content: center;
}

.service-card {
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease-in-out;
    max-width: 100%;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center; 
}

.service-card img {
    width: 100%;
    max-width: 400px; 
    border-radius: 15px;
}

.service-card h3 {
    margin-top: 15px;
    font-size: 2em;
    max-width: 400px; 
}

.service-card p {
    font-size: 1.2em;
    line-height: 1.6;
    color: #333;
    max-width: 400px; 
    text-align: justify; 
}


.service-card:hover {
    transform: scale(1.05);
}

@media (max-width: 1024px) {
    .service-cards {
        grid-template-columns: repeat(1, 1fr); 
    }

    .service-card img {
        max-width: 350px;
    }

    .service-card h3,
    .service-card p {
        max-width: 350px;
    }
}


@media (max-width: 768px) {
    .service-card img {
        max-width: 300px;
    }

    .service-card h3,
    .service-card p {
        max-width: 300px;
    }
}


.product-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 20px;
    justify-content: center;
}

.product-card {
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease-in-out;
    max-width: 90%;
    margin: auto;
}

.product-card img {
    width: 100%;
    max-width: 250px;
    border-radius: 10px;
}

.product-card h3 {
    margin-top: 10px;
    font-size: 1.5em;
    max-width: 250px;
}

.product-card p {
    font-size: 1em;
    line-height: 1.4;
    color: #333;
    max-width: 250px;
    text-align: justify;
}


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

@media (max-width: 1024px) {
    .product-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-card img {
        max-width: 220px;
    }

    .product-card h3 {
        font-size: 1.4em;
    }

    .product-card p {
        font-size: 0.95em;
    }
}

@media (max-width: 768px) {
    .product-cards {
        grid-template-columns: repeat(1, 1fr); 
    }

    .product-card img {
        max-width: 200px; 
    }

    .product-card h3 {
        font-size: 1.3em;
    }

    .product-card p {
        font-size: 0.9em;
    }
}
.section-title {
    text-align: center;
    font-size: 2em;
    font-weight: bold;
    margin: 30px 0;
    color: #333;
}
.info-section {
    background-color: #f8f8f8;
    padding: 40px 20px;
    display: flex;
    justify-content: center;
    margin-top: 100px;
}

.info-container {
    display: flex;
    align-items: center;
    gap: 80px; 
    max-width: 900px;
    width: 100%;
}

.info-image {
    width: 150px; 
    height: auto;
    border-radius: 8px;
}

.info-text {
    max-width: 600px;
}

.info-text h2 {
    font-size: 22px;
    margin-bottom: 10px;
}

.info-text p {
    font-size: 16px;
    color: #333;
    text-align: justify;
}


@media (max-width: 768px) {
    .info-container {
        flex-direction: column;
        text-align: center;
    }

    .info-image {
        width: 120px;
    }
}
.main1{
    margin-top: 200px;
    margin-bottom: 200px;
}
.contact-section {
    text-align: center;
    padding: 50px 20px;
    background-color: #f8f8f8;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 80px;
    max-width: 800px;
    margin: auto;
    margin-top: 80px;
}

.contact-form {
    flex: 1;
    min-width: 300px;
    text-align: left;
}

.contact-form label {
    display: block;
    margin-top: 10px;
    font-weight: bold;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.contact-form button {
    margin-top: 15px;
    background-color: #d32f2f;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s ease;
    margin: 10px auto;
    display: flex;
}

.contact-form button:hover {
    background-color: #b71c1c;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.social-icons img {
    width: 20px;
    margin: 10px;
    transition: transform 0.3s;
}

.social-icons img:hover {
    transform: scale(1.1);
}


