/* Estilos generales del footer */
.footer {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 50px 0 20px;
    font-family: 'Arial', sans-serif;
    margin-top: 50px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

/* Estilos para cada sección del footer */
.footer-section {
    margin-bottom: 20px;
}

.footer-section h3 {
    color: #e67e22;
    margin-bottom: 20px;
    font-size: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: #e67e22;
}

.footer-section p {
    color: #b3b3b3;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Estilos para los enlaces */
.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #b3b3b3;
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
}

.footer-links a:hover {
    color: #e67e22;
    padding-left: 5px;
}

.footer-links i {
    margin-right: 10px;
    color: #e67e22;
    width: 20px;
    text-align: center;
}

/* Estilos para los horarios */
.business-hours {
    list-style: none;
    padding: 0;
    max-width: 100%;
    margin: 0;
}

.business-hours li {
    display: flex;
    margin-bottom: 8px;
    color: #b3b3b3;
    font-size: 0.95rem;
    line-height: 1.6;
}

.business-hours span:first-child {
    color: #ffffff;
    font-weight: 500;
    margin-right: 25px; /* Espacio entre el día y la hora */
    min-width: 140px; /* Ancho fijo para los días */
    display: inline-block;
}

.business-hours span:last-child {
    color: #e67e22;
    font-weight: 500;
    text-align: left; /* Alinear las horas a la izquierda */
}

/* Estilos para las redes sociales */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #333;
    color: #ffffff;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: rgb(167, 117, 85);
    transform: translateY(-3px);
}

/* Estilos para el copyright */
.footer-bottom {
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid #333;
    color: #b3b3b3;
    font-size: 0.9rem;
}

.footer-logo {
    margin-bottom: 20px;
    text-align: left; /* Alineación por defecto a la izquierda */
}

.footer-logo .logo-img {
    max-height: 200px; /* Ajusta este valor según el tamaño que desees */
    width: auto;
    display: block;
}

/* Asegúrate de que el título "Horario de Atención" tenga suficiente espacio */
.footer-section h3 {
    margin-top: 20px;
    margin-bottom: 15px;
}

/* Estilos para el enlace del desarrollador */
.developer-link {
    color: #e67e22; /* Color naranja por defecto */
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.developer-link:hover {
    color: #d35400; /* Color más oscuro al pasar el mouse */
    text-decoration: none;
}

/* Estilos responsivos */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-links a {
        justify-content: center;
    }
    
    .footer-logo {
        text-align: center; /* Centrar en móviles */
        margin: 0 auto 20px; /* Centrar el contenedor */
        display: flex;
        justify-content: center;
        width: 100%;
    }
    
    .footer-logo .logo-img {
        margin: 0 auto; /* Centrar la imagen */
    }
}