body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

header {
    background: #6a0dad; /* Lila oscuro */
    color: #fff;
    padding: 1rem 0;
    text-align: center;
}

header h1 {
    margin: 0;
    font-size: 2.5rem;
}

nav {
    position: relative;
    width: 100%;
    background: #7b1fa2; /* Lila medio */
    z-index: 1000;
    transition: all 0.3s ease;
}

nav.fixed {
    position: fixed;
    top: 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

nav ul {
    background: #7b1fa2; /* Lila medio */
    color: #fff;
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    margin: 0;
}

nav ul li {
    margin: 0 1rem;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
}

main {
    padding: 2rem;
    padding-top: 4rem; /* Ajusta el espacio para evitar que el contenido quede detrás del menú fijo */
}

section {
    margin-bottom: 2rem;
    background: #fff;
    padding: 1rem;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

section img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1rem auto;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

section#contacto img {
    border-radius: 0; /* Elimina bordes redondeados */
    box-shadow: none; /* Elimina sombra */
}

footer {
    background: #6a0dad; /* Lila oscuro */
    color: #fff;
    text-align: center;
    padding: 1rem 0;
    margin-top: 2rem;
}

footer .social-icon {
    width: auto;
    height: 50px;
    margin-top: 10px;
    transition: transform 0.3s ease;
}

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

form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

form label {
    font-weight: bold;
}

form input, form select, form textarea, form button {    
    /* width: calc(100% - 1rem); /* Ajusta el ancho para alineación */
    /* margin: 0 auto; /* Centra los elementos */
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

form input:focus, form select:focus, form textarea:focus {
    border-color: #6a0dad; /* Lila oscuro */
    outline: none;
}

form button {
    background-color: #6a0dad; /* Lila oscuro */
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

form button:hover {
    background-color: #7b1fa2; /* Lila medio */
}

form textarea {
    height: 4rem; /* Ajusta la altura para 4 líneas */
}

.carousel {
    position: relative;
    overflow: hidden;
    width: 100%; /* Ocupa el 100% del ancho */
    height: 500px; /* Altura fija */
    margin: 0 auto; /* Centrado horizontal */
    border-radius: 0; /* Elimina bordes redondeados */
    box-shadow: none; /* Elimina sombra */
}

.carousel-images {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-images img {
    width: 100%; /* Ocupa el 100% del ancho del contenedor */
    max-height: 500px; /* Altura máxima de 400px */
    object-fit: cover; /* Asegura que la imagen se recorte correctamente */
    flex-shrink: 0;
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(106, 13, 173, 0.5); /* Lila oscuro con transparencia */
    color: #fff;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
}

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

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

.carousel-button:hover {
    background-color: rgba(123, 31, 162, 0.8); /* Lila medio con transparencia */
}

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25d366; /* Color verde de WhatsApp */
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-float img {
    width: 35px;
    height: 35px;
}

a {
    color: #d1a3ff; /* Lila claro */
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #b57edc; /* Lila medio al pasar el cursor */
}

/* Estilos para la sección promocional de contacto */
.contact-promo {
    background: linear-gradient(135deg, #6a0dad, #8e24aa);
    color: #fff;
    text-align: center;
    padding: 2.5rem 0;
    margin: 0;
    border-radius: 0;
    box-shadow: 0 4px 10px rgba(106, 13, 173, 0.3);
}

.promo-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.contact-promo h2 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.contact-promo p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.contact-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-btn {
    display: flex;
    align-items: center;
    color: #fff;
    text-decoration: none;
    padding: 1.2rem 2rem;
    border-radius: 15px;
    transition: all 0.3s ease;
    min-width: 220px;
    min-height: 80px;
    justify-content: center;
    font-weight: bold;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    color: #fff;
}

.phone-btn {
    background: linear-gradient(135deg, #f1c40f, #f39c12);
    border: 2px solid #f1c40f;
}

.phone-btn:hover {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    border-color: #f39c12;
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25d366, #128c7e);
    border: 2px solid #25d366;
}

.whatsapp-btn:hover {
    background: linear-gradient(135deg, #128c7e, #075e54);
    border-color: #128c7e;
}

.btn-icon {
    font-size: 1.8rem;
    margin-right: 0.75rem;
}

.btn-text {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.btn-text strong {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 0.2rem;
    text-align: center;
}

.btn-text small {
    font-size: 0.9rem;
    opacity: 0.9;
    text-align: center;
}

/* Responsive para la sección promocional */
@media (max-width: 768px) {
    .contact-promo h2 {
        font-size: 1.8rem;
    }
    
    .contact-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-btn {
        min-width: 280px;
        min-height: 70px;
        justify-content: center;
        padding: 1rem 1.5rem;
    }
    
    .btn-text {
        align-items: center;
    }
    
    .btn-text strong {
        font-size: 1rem;
    }
}
