body {
    font-family: Arial, sans-serif;
    margin: 0;
    background: #f9f9f9;
}
h1{
    text-align: center;
}

header {
    background: #222;
    color: #fff;
    padding: 1em 0;
    text-align: center;
}
/* Estilos del Footer */
.footer {
    background-color: #333;
    color: #fff;
    padding: 40px 0 20px;
    font-family: Arial, sans-serif;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 0 20px;
}

/* Estilos de las secciones */
.footer-section {
    margin-bottom: 20px;
}

.footer-section h3 {
    color: #fff;
    font-size: 1.2em;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: #4a90e2;
}

/* Enlaces del footer */
.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #4a90e2;
}

/* Redes sociales */
.social-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-link {
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #4a90e2;
}

.social-link i {
    font-size: 1.2em;
}

/* Información de contacto */
.contact-info {
    list-style: none;
    padding: 0;
}

.contact-info li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info i {
    color: #4a90e2;
}

/* Sección inferior del footer */
.footer-bottom {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin: 5px 0;
    font-size: 0.9em;
    color: #888;
}

/* Media queries para responsividad */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-section {
        text-align: center;
    }

    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-links {
        align-items: center;
    }

    .contact-info li {
        justify-content: center;
    }
}
.video-promocional {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 50px auto;
  border: 5px solid #fff;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
  background-color: #000;
}


nav ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1em 0;
    display: flex;
    justify-content: center;
    gap: 2em;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}
/* Estilos opcionales para ajustar el tamaño de la barra de búsqueda */
.input-group {
    width: auto;
    min-width: 200px;
}

/* Asegura que el botón de búsqueda se mantenga pegado al input */
.input-group .btn {
    margin-left: -1px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.input-group .form-control {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

main {
    max-width: 900px;
    margin: 2em auto;
    padding: 1em;
    background: #fff;
    box-shadow: 0 0 8px #ddd;
}

.galeria {
    margin-bottom: 2em;
}

.imagenes-galeria {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5em;
    justify-content: center;
}

.imagenes-galeria figure {
    margin: 0;
    text-align: center;
}

.imagenes-galeria img {
    width: 220px;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #eee;
}

.opiniones {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.opiniones-titulo {
    text-align: center;
    margin-bottom: 40px;
    color: #333;
    font-size: 2em;
}

.opiniones-contenedor {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 0 15px;
}

.tarjeta-opinion {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.tarjeta-opinion:hover {
    transform: translateY(-5px);
}

.tarjeta-contenido {
    padding: 25px;
    position: relative;
}

.icono-comilla {
    font-size: 4em;
    color: #e0e0e0;
    position: absolute;
    top: 10px;
    left: 20px;
    font-family: Georgia, serif;
}

.opinion-texto {
    position: relative;
    margin: 30px 0;
    padding: 0;
    font-style: italic;
    color: #555;
    line-height: 1.6;
    z-index: 1;
}

.cliente-info {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.cliente-avatar {
    width: 40px;
    height: 40px;
    background-color: #4a90e2;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 15px;
}

.cliente-nombre {
    color: #333;
    font-size: 1.1em;
}
/* Estilos para las tarjetas */
.card {
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden; /* Para contener el zoom de la imagen */
}

/* Efecto hover para la tarjeta completa */
.card:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Efecto zoom suave para las imágenes */
.card-img-top {
    transition: all 0.3s ease-in-out;
}

.card:hover .card-img-top {
    transform: scale(1.1);
}

/* Estilos adicionales para mejorar la apariencia */
.card-body {
    background: #fff;
    position: relative;
    z-index: 1;
}

.card-title {
    color: #333;
    font-weight: 600;
}

.card-text {
    color: #666;
}



/* Responsive */
@media (max-width: 768px) {
    .opiniones-contenedor {
        grid-template-columns: 1fr;
    }

    .opiniones {
        padding: 20px 10px;
    }

    .tarjeta-opinion {
        margin-bottom: 20px;
    }
}

/* Estilos para el formulario de contacto */
.contact-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.contact-header {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-header h1 {
    color: #ffffff;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.contact-subtitle {
    color: #b1acac;
    font-size: 1.1rem;
}

.contact-section {
    background: #fff;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-section h2 {
    color: #333;
    margin-bottom: 2rem;
    text-align: center;
    font-size: 1.8rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #555;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem 0.8rem 2.5rem;
    border: 2px solid #e1e1e1;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group i {
    position: absolute;
    left: 1rem;
    top: 2.3rem;
    color: #999;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #4a90e2;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
    outline: none;
}

.form-group input:focus + i,
.form-group textarea:focus + i {
    color: #4a90e2;
}

.submit-btn {
    background-color: #4a90e2;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.submit-btn:hover {
    background-color: #357abd;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

.contact-info {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.email-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #4a90e2;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.email-link:hover {
    color: #357abd;
}

/* Animaciones */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-section {
    animation: fadeIn 0.6s ease-out;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-container {
        padding: 1rem;
    }

    .contact-section {
        padding: 1.5rem;
    }

    .contact-header h1 {
        font-size: 2rem;
    }

    .submit-btn {
        width: 100%;
    }
}