/* Estilos generales */
body {
    font-family: 'Roboto', sans-serif;
    background-color: #f0f8ff; /* Color de fondo más claro */
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Logo en la parte superior */
header {
    width: 100%;
    padding: 20px 0;
    background-color: #00bcd4; /* Fondo vibrante */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    
}
.logo{
    height: 90px;
}
.logo img {
    max-width: 250px;
    
}

/* Carrusel */
.carousel-container {
    position: relative;
    width: 60%;
    margin: 20px auto;
    overflow: hidden;
}

.carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-item {
    flex: 0 0 33.33%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.prev, .next {
    position: absolute;
    top: 50%;
    background-color: rgba(0, 0, 0, 0.7); /* Fondo oscuro para los botones */
    color: white;
    border: none;
    padding: 15px;
    font-size: 2rem;
    cursor: pointer;
    transform: translateY(-50%);
    z-index: 10;
    border-radius: 50%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.prev:hover, .next:hover {
    background-color: #ff4081; /* Color llamativo al hacer hover */
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

/* Contenido principal */
.main-content {
    display: flex;
    justify-content: space-between;
    width: 80%;
    margin-top: 40px;
    padding: 20px;
}

/* Sección de información */
.info {
    width: 60%;
    margin: 0 auto; /* Centra la sección */
    padding: 20px;
    background-color: #ffffff; /* Fondo suave para toda la sección */
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    animation: fadeIn 1s ease-in-out;
}

.info-item {
    margin-bottom: 20px;
    background-color: #ffffff; /* Fondo blanco para los ítems */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transform: translateY(20px);
    opacity: 0;
    animation: slideUp 0.8s ease-in-out forwards;
}

.info-item:nth-child(1) { animation-delay: 0.2s; }
.info-item:nth-child(2) { animation-delay: 0.4s; }
.info-item:nth-child(3) { animation-delay: 0.6s; }
.info-item:nth-child(4) { animation-delay: 0.8s; }

.info-item h3 {
    cursor: pointer;
    color: #ff5722; /* Color llamativo para los títulos */
    transition: color 0.3s ease;
}

.info-item h3:hover {
    color: #00bcd4; /* Cambia el color al pasar el ratón */
}

.info-text {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, opacity 0.5s ease;
    opacity: 0;
    margin-top: 10px;
    color: #333;
}

.info-item.active .info-text {
    max-height: 500px; /* Asegúrate de que sea mayor al contenido real */
    opacity: 1;
}

/* Animaciones */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Sección de contacto */
/* Estilo general para la sección de contacto */
.contact {
    margin-top: 50px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    margin: 0 auto;
}

/* Estilo de WhatsApp */
.whatsapp a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
    background-color: #25d366;
    padding: 12px 15px;
    border-radius: 8px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.whatsapp img {
    width: 30px;
    margin-right: 10px;
}

.whatsapp a:hover {
    background-color: #1ebc57;
    transform: scale(1.05);
}

/* Estilo de la ubicación */
.location {
    margin-top: 20px;
    text-align: center;
}

.location h4 {
    color: #333;
    margin-bottom: 5px;
}

.location p {
    color: #555;
}

.location a {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    color: #0073e6;
    font-weight: bold;
    transition: color 0.3s ease;
}

.location img {
    width: 100%;
    border-radius: 5px;
    margin: 10px 0;
    max-width: 100%;
    height: auto;
}

.location a:hover {
    color: #005bb5;
    text-decoration: underline;
}

/* Estilo para Facebook */
.social-media {
    margin-top: 20px;
    text-align: center;
}

.facebook-link {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #4267B2;
    font-size: 16px;
    font-weight: bold;
    padding: 10px 20px;
    border: 2px solid #4267B2;
    border-radius: 8px;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.facebook-link img {
    width: 30px;
    margin-right: 10px;
    transition: transform 0.3s ease;
}

.facebook-link:hover {
    background-color: #4267B2;
    color: white;
    transform: scale(1.05);
}

.facebook-link:hover img {
    transform: rotate(360deg);
}

/* Hacemos que todo se vea bien en móviles */
@media (max-width: 768px) {
    .main-content {
        flex-direction: column;
        align-items: center;
    }

    .info, .contact {
        width: 100%;
        margin-bottom: 20px;
    }
    .carousel-container {

        width: 500px;

    }
}
h1 {
    margin-top: 20px;
    color: #333;
}
.button {
    padding: 12px 25px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3);
}
.button:hover {
    background-color: #0056b3;
    box-shadow: 0 6px 15px rgba(0, 86, 179, 0.5);
    transform: scale(1.1);
}
.gallery {
    display: none;
    margin-top: 20px;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    padding: 0 20px;
}
.gallery img {
    width: 150px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.5s ease-in-out;
}
.gallery img.visible {
    opacity: 1;
    transform: scale(1);
}