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

body, html {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: hidden; /* Evita el desplazamiento horizontal */
    width: 100%;
    scroll-behavior: smooth;
}

/* Header */

/* Header */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    background-color: #000;
    color: #fff;
    font-family: Arial, sans-serif;
    width: 100%;
    max-width: 100%; /* Asegura que ocupe todo el ancho de la pantalla */
}

.header-logo img {
    width: 60px; /* Ajusta el tamaño del logo */
    margin-right: 10px;
}

.header-nav {
    display: flex;
    gap: 20px;
}


.header-nav a:hover,
.header-nav a:active {
    background-color: #FFD700; /* Color amarillo de fondo */
    color: black; /* Cambia el color del texto a negro */
}

.header-contact-button {
    background-color: #FFD700; /* Fondo amarillo */
    color: black;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

/* Efecto de hover y active para el botón de contacto */
.header-contact-button:hover,
.header-contact-button:active {
    background-color: white; /* Cambia el fondo a blanco */
    color: #FFD700; /* Cambia el texto a amarillo */
}




/* Reduce el tamaño de las fuentes en el header en pantallas pequeñas */
.header-nav a {
    text-decoration: none;
    font-size: 16px; /* Tamaño de fuente ajustable */
    font-weight: bold;
    color: white; /* Color inicial del texto */
    padding: 10px 15px;
    transition: background-color 0.3s, color 0.3s; /* Transición suave */
}

.header-contact-button {
    padding: 8px 16px;
    background-color: #f3c911;
    color: #000;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    font-size: 16px; /* Tamaño de fuente ajustable */
}

/* Responsividad del header */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        align-items: center;
    }

    .header-logo {
        margin-bottom: 10px;
    }

    .header-nav {
        gap: 15px;
    }

    .header-nav a {
        font-size: 14px; /* Ajustar tamaño en pantallas pequeñas */
    }

    .header-contact-button {
        font-size: 14px; /* Ajustar tamaño del botón en pantallas pequeñas */
        padding: 6px 12px;
    }
}

/* Para pantallas extremadamente pequeñas */
@media (max-width: 480px) {
    .header-logo img {
        width: 50px; /* Ajusta el tamaño del logo aún más en móviles */
    }

    .header-nav a {
        font-size: 12px; /* Reducir aún más si es necesario */
    }

    .header-contact-button {
        font-size: 12px;
        padding: 5px 10px;
    }
}



/* Sección de Bienvenida */
.welcome-section {
    position: relative;
    text-align: center;
    color: #fff;
}

.welcome-section .header-image {
    width: 100%;
    height: 60vh;
    object-fit: cover;
    opacity: 0.7;
}

.welcome-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.welcome-content h1 {
    font-size: 3em;
    margin: 0;
}

.welcome-content p {
    font-size: 1.2em;
    margin: 10px 0;
}

.welcome-content button {
    background-color: #ffcc00;
    color: #000;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
}



/* Modelos Destacados */
/* Sección de Modelos */

.modelos {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    padding: 20px;
}

.modelo-item {
    width: 100%;
    max-width: 400px;
    padding: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.modelo-item img {
    width: 100%;
    height: auto;
}

.models-section {
    padding: 40px 20px;
    text-align: center;
    background-color: #f8f8f8;
}

.models-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.model-card {
    width: 250px;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s;
    text-align: center;
    flex: 1 1 300px; /* Se ajusta automáticamente en pantallas pequeñas */
    max-width: 100%;
}

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

.model-card img {
    width: 100%;
    height: auto;
}

.model-info {
    padding: 15px;
}

.model-info h3 {
    font-size: 1.1em;
    background-color: #000;
    color: #fff;
    padding: 5px;
    margin: 0;
}

.model-info p {
    margin: 10px 0;
    font-size: 0.9em;
}

.model-info .price {
    font-weight: bold;
    color: #FFCC00;
    font-size: 1.2em;
}

.model-info hr {
    border: 0;
    height: 1px;
    background: #FFCC00;
    margin: 10px 0;
    width: 50%;
}

.model-info button {
    background-color: #FFCC00;
    color: #000;
    border: none;
    padding: 10px 20px;
    margin-top: 10px;
    cursor: pointer;
    font-weight: bold;
    border-radius: 5px;
    font-size: 0.9em;
}

.model-info button:hover {
    background-color: #e6b800;
}

@media (max-width: 768px) {
    .modelos {
        flex-direction: column;
        align-items: center;
        padding: 10px;
    }

    .modelo-item {
        max-width: 100%; /* Ocupa todo el ancho disponible en móviles */
    }

    .modelo-item img {
        width: 100%;
        height: auto;
    }
}
/* Beneficios */

.benefits-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    background-color: #f0f0f0; /* Fondo más claro */
}

.benefit-item {
    display: flex;
    border-radius: 10px;
    background-color: #ffffff;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15); /* Sombra más pronunciada */
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.benefit-item:hover {
    transform: translateY(-5px); /* Efecto de elevar al pasar el mouse */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.benefit-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Dos columnas */
    gap: 5px;
    width: 100%; /* Asegura que ocupe todo el ancho */
    padding: 10px;
}

.benefit-images img {
    width: 100%;
    height: 100%; /* Ocupar toda la altura */
    object-fit: cover; /* Ajusta las imágenes sin distorsión */
}

@media (max-width: 768px) {
    .benefit-images {
        grid-template-columns: 1fr; /* Una columna en móviles */
        grid-template-rows: repeat(4, 1fr); /* Una fila para cada imagen */
    }

    .benefit-images img {
        height: auto; /* Deja que las imágenes ajusten la altura automáticamente */
    }
}


.benefit-info {
    width: 50%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 0 10px 10px 0;
}

.benefit-info h3 {
    color: #222;
    font-size: 1.6em;
    margin-bottom: 10px;
    font-weight: bold;
    text-transform: uppercase;
}

.price-highlight {
    font-size: 1.5em;
    color: #ffae00; /* Dorado */
    font-weight: bold;
}

.highlight {
    background-color: #ffae00;
    color: #000;
    font-weight: bold;
    padding: 5px 10px;
    margin-bottom: 10px;
    display: inline-block;
    border-radius: 4px;
}

.benefit-info p {
    color: #444;
    font-size: 1em;
}

.benefit-info ul {
    list-style-type: none;
    padding: 0;
    color: #555;
    font-size: 0.9em;
    margin-bottom: 15px;
}

.benefit-info ul li {
    padding: 5px 0;
    border-bottom: 1px solid #ddd;
}

.exclusive-price {
    font-size: 1.3em;
    color: #004d00; /* Verde oscuro */
    font-weight: bold;
    margin-top: 15px;
}

.contact-button {
    background-color: #ffae00;
    color: #000;
    font-weight: bold;
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: background-color 0.3s, box-shadow 0.3s;
    align-self: flex-start;
    display: flex;
    align-items: center;
    gap: 5px;
}

.contact-button:hover {
    background-color: #d9980b; /* Oscurecido */
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.3);
}

.contact-button:after {
    content: "→";
    font-size: 1.2em;
}


/* Formulario de Contacto */
.contact-form {
    max-width: 500px;
    width: 90%;
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.contact-form h3 {
    text-align: center;
    color: #333;
}

.contact-form label {
    display: block;
    margin-top: 10px;
    color: #333;
}

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

.contact-form textarea {
    resize: vertical;
    min-height: 80px;
}

.contact-form button {
    display: block;
    width: 100%;
    padding: 10px;
    background-color: #ffc107;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 15px;
}

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

/* Responsive Styles */
@media (max-width: 768px) {
    .benefits, .carousel {
        flex-direction: column;
        align-items: center;
    }
    
    .benefit-item, .carousel-item {
        width: 100%;
    }
}

/* Additional styling for shadow effects on cards */
.benefit-item, .carousel-item {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease;
}

.benefit-item:hover, .carousel-item:hover {
    transform: translateY(-5px);
}
/* Footer */
.footer {
    background-color: #000; /* Fondo completamente negro */
    color: #fff; /* Texto blanco */
    padding: 20px;
    text-align: center;
    font-size: 0.9em;
    width: 100%;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 5px;
}

.footer-logo img.small-logo {
    width: 50px; /* Tamaño pequeño para los logos */
    height: auto;
}

.footer p {
    margin: 0;
}

@media (max-width: 768px) {
    .footer-logo img.small-logo {
        width: 40px; /* Ajuste de tamaño en pantallas pequeñas */
    }
}


/* Contenedor principal del carrusel */
/* Contenedor principal del carrusel */
.carousel {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background-color: #000;
}

.carousel-container {
    display: flex;
    transition: transform 0.5s ease;
    width: 100%;
    height: 100%; /* Ocupa toda la altura del contenedor principal */
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    object-fit: cover; /* Ocupa el espacio completo del contenedor sin distorsión */
}

/* Ajustes para dispositivos móviles */
@media (max-width: 768px) {
    .carousel {
        height: 300px; /* Tamaño específico para dispositivos móviles */
    }

    .carousel-slide {
        object-fit: contain; /* Ajuste para ver la imagen completa sin recortes en móviles */
    }
}

/* Flechas de navegación */
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    padding: 10px;
    z-index: 1;
}

.carousel-control.prev {
    left: 10px;
}

.carousel-control.next {
    right: 10px;
}

.carousel-control:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.whatsapp {
    position:fixed;
    width:60px;
    height:60px;
    bottom:40px;
    right:40px;
    background-color:#25d366;
    color:#FFF;
    border-radius:50px;
    text-align:center;
    font-size:30px;
    z-index:100;
  }
  
  .whatsapp-icon {
    margin-top:13px;
    
    
  }



